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, [email protected] 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:[email protected]]
Gesendet: Montag, 26. April 2010 23:26
An: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to