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 56869 - Cannot build web project with a library containing jars and dirs
Summary: Cannot build web project with a library containing jars and dirs
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords: REGRESSION
Depends on: 56911
Blocks:
  Show dependency tree
 
Reported: 2005-03-23 14:20 UTC by Marek Fukala
Modified: 2006-03-24 12:48 UTC (History)
1 user (show)

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 Marek Fukala 2005-03-23 14:20:46 UTC
[20050322]
1) create a library with one file and one directory
2) add it into a WP
3) build the WP
=> build fails due to a wrong argument passed to ant's copy task.

This problem is introduced by fix of Issue #56684 (lib jar file refs in
private.properties).

library-inclusion-in-archive:
E:\tests\WebApplication15\nbproject\build-impl.xml:342: Warning: Could not find
file E:\nb_all\nbbuild\netbeans\ide5\modules\ext\junit-3.8.1.jar;C:\Documents
and Settings\mf100882\My Documents\EasyInfo\images to copy.
BUILD FAILED (total time: 1 second)
Comment 1 Pavel Buzek 2005-03-23 16:14:14 UTC
will commit the fix today
Comment 2 Pavel Buzek 2005-03-23 19:42:30 UTC
fixed in trunk:

Checking in
src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.82; previous revision: 1.81
done
Checking in src/org/netbeans/modules/web/project/resources/build-impl.xsl;
/cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v
 <--  build-impl.xsl
new revision: 1.93; previous revision: 1.92
done
Comment 3 zikmund 2005-03-24 09:51:53 UTC
The fix works only partially now - see issue 56911 (probably caused by this fix?).

I consider issue 56911 as part of this Q-build stopper. Pavle could you look at
it and mark this issue as Fixed after issue 56911 fix? (for better tracking of
Q-build stoppers) Thanks!
Comment 4 Marek Fukala 2005-03-24 15:11:35 UTC
Issue #56911 was fixed - marking as fixed also this one.
Comment 5 zikmund 2005-03-25 09:57:31 UTC
Verified, please commit changes into QBE200503221900 branch together with issue
56911 fix. Thanks!
Comment 6 Marek Fukala 2005-03-25 11:11:18 UTC
fixed in QBE200503221900 branch along with Issue #56911

Checking in resources/build-impl.xsl;
/cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v
 <--  build-impl.xsl
new revision: 1.91.2.1; previous revision: 1.91
done
Checking in ui/customizer/WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.80.2.2; previous revision: 1.80.2.1
done