This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160083 - Please update mass projects opener
Summary: Please update mass projects opener
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 11:14 UTC by Vladimir Yaroslavskiy
Modified: 2009-10-22 05:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Mass Project Opener Project (81.21 KB, application/x-compressed)
2009-03-11 18:00 UTC, Jun Qian
Details
Updated mass-updater utility to skip EE project updates (128.09 KB, application/x-compressed)
2009-09-26 00:58 UTC, Jun Qian
Details
Updated mass-updater utility to skip Java SE project updates (127.58 KB, application/x-compressed)
2009-10-22 05:16 UTC, Jun Qian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yaroslavskiy 2009-03-11 11:14:13 UTC
Please update mass projects opener for NetBeans 6.1/6.5
http://blogs.sun.com/jqian/entry/mass_netbeans_projects_opener_with

-------- Original Message --------
Subject: Re: Missing JARS in build-impl.xml
Date: Tue, 10 Mar 2009 06:02:51 -0700 (PDT)
From: NR031 <nataraja.cp@cognizant.com>
To: users@open-esb.dev.java.net

The plugin available at
http://blogs.sun.com/jqian/resource/com-sun-ats-massprojectopener.nbm
doesn't seem to be compatible with NetBeans IDE 6.1 (Build 200805290104)
that comes bundled with Java CAPS 6.
Please provide the link to download the updated plugin.
Comment 1 Jun Qian 2009-03-11 17:58:47 UTC
I lost access to the original GUI mass project opener project. But I do have a newer command-line utility that has the
same functionality and it is currently used by our internal QEs. You can get it (both source and binary) from the
attachment. Just unzip it, go to the dist directory and run "java -jar massUpdater.jar" to check the usage. This utility
should work for any NetBeans version.
Comment 2 Jun Qian 2009-03-11 18:00:01 UTC
Created attachment 78065 [details]
Mass Project Opener Project
Comment 3 Jun Qian 2009-03-11 18:06:27 UTC
New utility provided.
Comment 4 Jun Qian 2009-09-26 00:57:40 UTC
(on 5/6/09) 

Attached is an updated version of the command-line mass-updater. I have removed EJB project type and Web project type
from the default configuration which means by default EJB and Web projects will be skipped during mass-updating and you
will get a warning message instead:

    WARNING: Unknown project type: org.netbeans.modules.j2ee.ejbjarproject
    WARNING: Unknown project type: org.netbeans.modules.web.project

Thanks,
Jun

P.S. In case you still need the old (incomplete) EJB project updating behavior for some reason, you can add the
following line to the mass-updater's config file:

    org.netbeans.modules.j2ee.ejbjarproject=enterprise?/modules/org-netbeans-modules-j2ee-ejbjarproject.jar
    org.netbeans.modules.web.project=enterprise?/modules/org-netbeans-modules-web-project.jar

where enterprise? is the enterprise cluster name in the NetBeans version you are using, say, enterprise5 in NetBeans 6.5.



Ian Chalmers wrote:
> Hi Jun,
>
>     Many thanks for looking at this. Looks like we need to skip the EJB projects during massUpdate - can you add this
option to your program? This is the most expedient solution? I will just use the EJB projects as they are checked out
from CVS. Consequently, Tonga ATS will only now run with GF 9.1.1/NB 6.5.1 combinations e.g. Open ESB trunk and GFESB
branch.
>
>     Once I get the new program, I can re-config the test machines and re-enable the ATS runs ...
>
> Regards
>
> Ian
>
> Jun Qian wrote, on 5/5/09 23:22:
>> I think I understand why the command-line mass-updater doesn't update EJB project the same way as the IDE does. The
EJB project system defines some EJB project-specific build script extension which can't be easily put into the generic
command-line mass-updater. This is the major part of the differences between the command-line mass-updater and the GUI
mass-updater. Also, EJB project, when opened in the IDE, updates some other project meta files which goes even further
beyond the current scope of the generic command-line mass-updater.
>>
>> We could define some project type-specific extensions to plug into the generic command-line mass-updater. Since these
extensions are NetBeans version specific, it's kinda hard to maintain. Ideally, each project type in NetBeans should
provide support to update its project instances outside the IDE.
>>
>> I don't see a good short-term solution to mass-update EJB projects other than opening them up in the IDE.
>>
>> Thanks,
>> Jun 
Comment 5 Jun Qian 2009-09-26 00:58:55 UTC
Created attachment 88396 [details]
Updated mass-updater utility to skip EE project updates
Comment 6 Jun Qian 2009-10-22 05:16:25 UTC
Created attachment 89896 [details]
Updated mass-updater utility to skip Java SE project updates