ant-notifications 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 Wed, 23 Jul 2008 14:01:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=30569





--- Comment #19 from Dominique Devienne <ddevienne@gmail.com>  2008-07-23 07:01:02 PST
---
(In reply to comment #18)
> just keeping a record for myself.  svn revision 677914 introduces
> allowNativeBasedir to <ant> which already works for a single level of <ant>
> calls, but not if a level further up has already set the basedir as an
> inherited property.

[Just noticing this thread (I prefer such discussions on Ant-Dev that
BugZilla).]

First, I also never understood the logic of overriding the basedir of a build.
This is utterly confusing to me, and I always avoided to force a build to use a
different basedir.

But now I'm confused by allowNativeBasir, because I saw it used with 'dir' in
your test of <ant>. Aren't these two attributes incompatible? If you specify
the dir, you don't want allowNativeBasedir, no? --DD

PS: If we had a clean slate for Ant, I'd argue against a basedir for projects,
and have all relative files resolved against the parent URL (containing
directory on a local file system) of the build file (just like HTML or XML,
ignoring xml:base that is). If you wanted a different resolution, you'd use a
property.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message