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 149411 - [65cat] import of netbeans 6.0 project breaks build
Summary: [65cat] import of netbeans 6.0 project breaks build
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 20:33 UTC by pbelbin
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pbelbin 2008-10-07 20:33:43 UTC
[ BUILD # : 200810070201 ]
[ JDK VERSION : 1.6.0_07 ]

the following lines were in a project.properties file which was
obtained from cvs:

# Property libs.jaxb21.classpath is set here just to make sharing of
project simpler.
# The library definition has always preference over this property.
libs.jaxb21.classpath=../../Program Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/activation.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/jaxb-api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/jaxb-impl.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/jaxb-xjc.jar;../../Program
Files/nb6/NetBeans 6.0/java1/modules/ext/jaxws21/api/jsr173_api.jar
# Property libs.jaxws21.classpath is set here just to make sharing of
project simpler.
# The library definition has always preference over this property.
libs.jaxws21.classpath=../../Program Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/activation.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/FastInfoset.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/http.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/jaxb-api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/jaxb-impl.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/jaxb-xjc.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/jaxws-api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/jaxws-rt.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/jaxws-tools.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/jsr173_api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/jsr181-api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/jsr250-api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/api/saaj-api.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/saaj-impl.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/sjsxp.jar;../../Program
Files/nb6/NetBeans
6.0/java1/modules/ext/jaxws21/stax-ex.jar;../../Program
Files/nb6/NetBeans 6.0/java1/modules/ext/jaxws21/streambuffer.jar
no.dependencies=true

the path referred to no longer exists, and the project properties
would indicate a reference problem, but, using the gui, I was unable
to remove the reference.  

I had to manually edit the project.properties file and remove the
definition and reference to (the reference was in the test and
non-test libraries areas) the now non existent path.

until I manually edited the project.properties, the project icon was
always red and the tooltip showed that netbeans considered there to
be a reference problem.

I imagine a possible solution might be that ide install related paths
should not be embedded directly in the project propreties files
(since these will be reused across multiple versions of the ide) and
that such paths should be included from a per ide installation
provided file....
Comment 1 Milos Kleint 2008-10-08 07:46:12 UTC
well, the text in Resolve problems dialog suggest you to create a library with name jaxb21. After I did it (I created
just an empty one) the project got resolved and was buildable.

There's however indeed not a way to remove such wrong entry from the dialog. it's possible from the Project properties'
dialog, panel Libraries. Once could argue that the resolution shall not include the removal, as you will end up with
broken project anyway and need to rea-dd it later.
-> P4 
Comment 2 Martin Balin 2016-07-07 07:17:14 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss