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.
Summary: | Please update mass projects opener | ||
---|---|---|---|
Product: | soa | Reporter: | Vladimir Yaroslavskiy <yaroslavskiy> |
Component: | -- Other -- | Assignee: | Jun Qian <jqian> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
Mass Project Opener Project
Updated mass-updater utility to skip EE project updates Updated mass-updater utility to skip Java SE project updates |
Description
Vladimir Yaroslavskiy
2009-03-11 11:14:13 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. Created attachment 78065 [details]
Mass Project Opener Project
New utility provided. (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 Created attachment 88396 [details]
Updated mass-updater utility to skip EE project updates
Created attachment 89896 [details]
Updated mass-updater utility to skip Java SE project updates
|