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: | build-platform tries to unscramble nonexisting binaries | ||
---|---|---|---|
Product: | www | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Builds & Repositories | Assignee: | Michal Zlamal <mzlamal> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jglick |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Using <subant> to unscramble binaries
Now it should be working even when nbbuild/build.xml is called from another script |
Description
Jaroslav Tulach
2004-07-06 15:43:45 UTC
Created attachment 16142 [details]
Using <subant> to unscramble binaries
Looks much better to me, nice. One suggestion: <exclude name="nbbuild/external/build.xml"/> <exclude name="xml/external/build.xml"/> since bootstrap already ran these. Also you need not depend on the init-module-list target any longer; just depend on bootstrap. Thanks. Michal if you agree, please go on and integrate (modified) patch. Ok. I'll do it. nbbuild/build.xml,v <-- build.xml new revision: 1.527 The patch is not working properly, because of bug in ANT 1.6.1. When you are using the <ant> task you have to specify the "dir" attribute, because it is taken as a basedir for the called ant script. However <subant> task isn;t doing it, so it causes the build to fail when it is called from different project :-(. I rolled back this patch. I'll work on better solution. Checking in build.xml; /cvs/nbbuild/build.xml,v <-- build.xml new revision: 1.528; previous revision: 1.527 done I am sorry, everything I tried worked. And one possitive evalutation and silence from you has been interpreted as review. If you can look at the problem and fix it, I'll be glad. I need that to happen during promoD. Btw. Is not usage of netbeans.no.pre.unscramble=true solution for your problem (forte build)? Created attachment 16362 [details]
Now it should be working even when nbbuild/build.xml is called from another script
Again you forgot to exclude nbbuild/external and xml/external which have already been unscrambled by bootstrap. Checking in build.xml; /cvs/nbbuild/build.xml,v <-- build.xml new revision: 1.532; previous revision: 1.531 done ant build-platform works. Michal please take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=30569 and see if that was the problem you were having re. <subant> and basedir. |