Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-jst-dev] Missing Bug from Commit Comment



Arthur Ryman,
Rational Desktop Tools Development

phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx
intranet: http://labweb.torolab.ibm.com/DRY6/

----- Forwarded by Arthur Ryman/Toronto/IBM on 07/06/2005 06:07 PM -----
Eclipse CVS Genie <genie@xxxxxxxxxxx>
Sent by: jst-cvs-commit-bounces@xxxxxxxxxxx

07/06/2005 02:25 PM

Please respond to
CVS individual commit notification list

To
jst-cvs-commit@xxxxxxxxxxx
cc
Subject
[jst-cvs-commit]         jst/components/j2ee/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations        J2EEComponentCreationOperation.java





Update of /home/webtools/jst/components/j2ee/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations
In directory node1:/tmp/cvs-serv11135/earproject/org/eclipse/jst/j2ee/application/internal/operations

Modified Files:
                J2EEComponentCreationOperation.java
Log Message:
Fix for not allowing EJB Client jar creation if Add to EAR is unchecked. EJB Client jar is valid only if an EJB project is created within an EAR.

Index: J2EEComponentCreationOperation.java
===================================================================
RCS file: /home/webtools/jst/components/j2ee/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentCreationOperation.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** J2EEComponentCreationOperation.java                 30 Jun 2005 19:31:12 -0000                 1.19
--- J2EEComponentCreationOperation.java                 6 Jul 2005 18:25:41 -0000                 1.20
***************
*** 213,216 ****
--- 213,217 ----
             String builderID = configurationElements[0].getNamespace() + "." + configurationElements[0].getAttribute(BUILDER_ID); //$NON-NLS-1$
             IProject project = ProjectUtilities.getProject(model.getProperty(PROJECT_NAME));
+             if(project != null && project.isAccessible()) {
             IProjectDescription description = project.getDescription();
             ICommand[] commands = description.getBuildSpec();
***************
*** 234,237 ****
--- 235,239 ----
                 project.setDescription(desc, null);
             }
+            }
         } catch (Exception e) {
             // Ignore

_______________________________________________
jst-cvs-commit mailing list
jst-cvs-commit@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jst-cvs-commit

Back to the top