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.
It seems that the recent versions of flexible build do not support symlinks in following sence: mkdir openide.36 ln -s openide.36 openide The GetModuleName ant task seems to fail to find the name of the module. That is bad as many people including me and stavbicka are relying on that.
Created attachment 13919 [details] My fix that seems to cure the problem on my computer
Michal explained that getCanonicalPath was a workaround for an apparent symlink bug in Ant's <import>.
I have a fix to ANT 1.6.1 - I'll attach the patch to org.apache.tools. ant.taskdefs.ImportTask class...
Created attachment 13923 [details] Patch to ANT's ImportTask.java
May I ask for evaluation of my patch, Michal? Does it not work?
Yarda's patch seem to work. Jesse want do you think about it?
If my fix allows (partial) usage of symlinks and does not break anything. I suggest to apply. You can leave this bug open and wait for the patch of ant, but my fix will give me and Hrebejk chance to work before ant 1.6.2 is out.
Yes, the patch looks OK to me as a workaround. (Probably need to update it against current version of GetModuleName.java - pretty trivial.)
So Yarda, go ahead and commit it...
Checking in GetModuleName.java; /cvs/nbbuild/antsrc/org/netbeans/nbbuild/GetModuleName.java,v <-- GetModuleName.java new revision: 1.6; previous revision: 1.5
I filed an Ant bug report: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28505