ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30569] - basedir is not set correctly when calling subant task through ant task
Date Thu, 30 Nov 2006 15:08:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30569>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30569


gudlaugur.egilsson@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gudlaugur.egilsson@gmail.com




------- Additional Comments From gudlaugur.egilsson@gmail.com  2006-11-30 07:08 -------
There seems to be a difference as to how this manifests itself on windows versus
linux. I'm using Ivy 1.4 to compile a list of buildfiles which is called in this
manner:

    <target name="buildlist">
        <ivy:buildlist reference="build-path">
            <fileset id="ide.buildlist.fileset" dir="." includes="**/ivybuild.xml"/>
        </ivy:buildlist>
    </target>

    <target name="build-all" depends="buildlist"
            description="compile, jar and publish all projects in the right order">
        <subant target="build" buildpathref="build-path">
            <property name="ROOT.DIR" location="."/>
        </subant>
    </target>

This works on Windows, but not on Linux (CentOS release 4.3). The basedir is
correctly set on Windows, but not set when running the script on Linux.

Applying SubAnt.execute() Fix 2 patch listed above fixed the issue for me.
Thanks for that.

For Ivy users building on an OS other than Windows, this bug is a blocker, i.e.
SubAnt does not function at all as intended.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message