ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: AW: Ant project name description passed to Java file during compilation or Jar process?
Date Tue, 27 Apr 2010 13:26:36 GMT

Curious - what will you be doing with that information?  Meaning how do 
you want it stored, and how will your app expect to get to it?

On Tue, 27 Apr 2010, Jan.Materne@rzf.fin-nrw.de wrote:

> http://ant.apache.org/manual/properties.html#built-in-props
> ant.project.name    the name of the project that is currently executing;
>                    it is set in the name attribute of <project>.
>
> Jan
>
>
>> -----Urspr√ľngliche Nachricht-----
>> Von: Misha Koshelev [mailto:mk144210@bcm.edu]
>> Gesendet: Montag, 26. April 2010 23:26
>> An: user@ant.apache.org
>> Betreff: Ant project name description passed to Java file
>> during compilation or Jar process?
>>
>> Dear Sirs or Madams:
>>
>> I would like to automatically pull the ant project name and/or
>> description from my java program.
>>
>> Is this somehow possible?
>>
>> Much help appreciated.
>>
>> Specifically, would be great to have this during either
>> i) javac task
>> or
>> ii) jar task
>>
>> I realize that you can use java -Da=b but when my JAR is
>> deployed, this seems like it would be lost...
>>
>> Thank you
>> Misha
>>
>> p.s. Please reply-all
>> --
>> Misha Koshelev
>> MD/PhD Student
>>
>> Human Neuroimaging Laboratory
>> One Baylor Plaza
>> S104
>> Baylor College of Medicine
>> Houston, TX 77030
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

Mime
View raw message