Hi,
On 3/13/06, Jim Kremens <[EMAIL PROTECTED]> wrote:
> Haven't tried it, but wouldn't ${basedir}../ work?

Yes,  it would work. But then what Sascha wants is to load a file
containing all the paths to executables like mtasc and swfmill which
may not be found in ${basedir}.

Even if they were, you still would have to "look" for mtasc in every build file:

<property name="path-mtasc" location="${basedir}/mtasc/mtasc.exe"/>

What Sascha wants is to just use the property without defining it in every file:

<exec executable="${path-mtasc}'>...

>  Jim Kremens
>
> On 3/13/06, Sascha Balkau <[EMAIL PROTECTED]> wrote:
> > Hi Brooks,
> >
> > basedir is not what I was looking for since the basedir would be a
> subfolder
> > of the Eclipse workspace folder. In Eclipse External Tools... it has a
> > variable called ${workspace_loc} that points to the workspace folder. I
> was
> > wondering there is a similar Ant variable with that can be reffered to
> > Eclipses Workspace folder from an Ant build file.
> > What I want to do is creating a .default folder in the Workspace folder
> that
> > contains a default property file that can be used by all Ant build files
> in
> > my projects. The property file would contain pathes to MTASC, SWFMill etc.
> >
> > Sascha
> >
> >
> >
> > ----- Original Message -----
> > From: "Brooks Andrus" <[EMAIL PROTECTED] >
> > To: "'Open Source Flash Mailing List'" <[email protected]>
> > Sent: Monday, March 13, 2006 3:16 PM
> > Subject: Re: [osflash] Using Eclipse workspace loc in Ant build file?
> >
> >
> > > Not sure exactly what it is you're trying to do....but here's a stab
> > >
> > > Do you have a base directory set up?
> > >
> > > The basdir project level attribute allows you to set a custom base
> > > directory
> > > or you use "." to signify the directory in which the build.xml file
> > > resides.
> > >
> > > <project name="" default="default" basedir=".">
> > >
> > > You should then be able to reference this variable as any other:
> > > ${basdir}.
> > >
> > >
> > > Brooks
> > >
> > >
> > > _______________________________________________
> > > osflash mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> > _______________________________________________
> > osflash mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
>
>
>
> --
> Jim Kremens
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>


--
Ray Chuan

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to