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 76831

Summary: "Duplicated project name in import" messages on newly created EAR projetc
Product: serverplugins Reporter: mm <mm-nb>
Component: Sun Appserver 9Assignee: Vince Kraemer <vkraemer>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description mm 2006-05-24 21:33:33 UTC
Steps to reproduce:

1) create new Enterprise Appliaction project (I selected ejb and war modules)
2) wait till IDE finishes the process
3) push "clean and build" button (yes on an empty project)

Output window has the following messages:

deps-j2ee-archive:
Duplicated project name in import. Project ant-deploy defined first in /Users/mareks/development/
erapp/URVS/nbproject/ant-deploy.xml and again in /Users/mareks/development/erapp/URVS/URVS-
ejb/nbproject/ant-deploy.xml
init:

::
::
dist-ear:
Duplicated project name in import. Project ant-deploy defined first in /Users/mareks/development/
erapp/URVS/nbproject/ant-deploy.xml and again in /Users/mareks/development/erapp/URVS/URVS-
war/nbproject/ant-deploy.xml
init:

Shouldn't name="ant-deploy" property in ant-deploy.xml file be different for each of WAR and EJB 
projects under EAR application  (if I change the name for them to different values, there is no warning 
generated) ?

Thanks,
Mareks
Comment 1 Lukas Jungmann 2006-05-24 21:44:46 UTC
Stepane, I think you're the right person for evaluating this. Thanks.
Comment 2 Vince Kraemer 2006-05-24 22:21:55 UTC
only sunappserv can have this issue since the other plugins don't implement
headless deployment.
Comment 4 Vince Kraemer 2006-05-29 16:55:26 UTC
*** Issue 77014 has been marked as a duplicate of this issue. ***
Comment 5 Sherold Dev 2006-05-31 10:11:08 UTC
j2eeserver and tomcat part of the fix

Checking in src/org/netbeans/modules/tomcat5/resources/tomcat-ant-deploy.xml;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/Attic/tomcat-ant-deploy.xml,v
 <--  tomcat-ant-deploy.xml
new revision: 1.1.4.4; previous revision: 1.1.4.3
done
Checking in
src/org/netbeans/modules/j2ee/deployment/impl/resources/default-ant-deploy.xml;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/resources/Attic/default-ant-deploy.xml,v
 <--  default-ant-deploy.xml
new revision: 1.1.4.3; previous revision: 1.1.4.2
done