Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Ant relative path issue in a buckminster.prebind
Ant relative path issue in a buckminster.prebind [message #501196] Tue, 01 December 2009 13:43 Go to next message
Corey Zimmet is currently offline Corey ZimmetFriend
Messages: 7
Registered: July 2009
Junior Member
I have a nested set of build.xml files that are invoked via:

Script 1 located in directory_a which is called by a buckminster.prebind.
<ant antfile="build.xml" dir="directory_b" inheritAll="false" />
Script 2 located in directory_b:
<ant antfile="build.xml" dir="directory_c" inheritAll="false" />
Script 3 located in directory_c:
<property name="MyHome" value="."/>


${MyHome} in Script 3 will point to "directory_a" not "directory_c"

We have been using these scripts for years and only experience this issue
when using the buckminster.prebind. It does not occur when using an ant
builder in eclipse or when doing ant from the command line. Is there a
parameter/workaround that I am missing?

Thanks,
Corey
Re: Ant relative path issue in a buckminster.prebind [message #501239 is a reply to message #501196] Tue, 01 December 2009 15:57 Go to previous message
Corey Zimmet is currently offline Corey ZimmetFriend
Messages: 7
Registered: July 2009
Junior Member
It looks as though Buckminster sets the basedir when running ant. I managed
to get my ant build to work by using a java task within ant to manually run
an ant launcher. However, I am hoping for a better way.

Thanks,
Corey

"Corey Zimmet" <zimmetc@bit-sys.com> wrote in message
news:hf36hv$6ah$1@build.eclipse.org...
>I have a nested set of build.xml files that are invoked via:
>
> Script 1 located in directory_a which is called by a buckminster.prebind.
> <ant antfile="build.xml" dir="directory_b" inheritAll="false" />
> Script 2 located in directory_b:
> <ant antfile="build.xml" dir="directory_c" inheritAll="false" />
> Script 3 located in directory_c:
> <property name="MyHome" value="."/>
>
>
> ${MyHome} in Script 3 will point to "directory_a" not "directory_c"
>
> We have been using these scripts for years and only experience this issue
> when using the buckminster.prebind. It does not occur when using an ant
> builder in eclipse or when doing ant from the command line. Is there a
> parameter/workaround that I am missing?
>
> Thanks,
> Corey
>
>
>
>
Previous Topic:Prdocut Build fails because of missing requirement
Next Topic:NullPointerException in CertificateChecker
Goto Forum:
  


Current Time: Thu Apr 25 00:18:31 GMT 2024

Powered by FUDForum. Page generated in 0.03459 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top