ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Ant project name description passed to Java file during compilation or Jar process?
Date Tue, 27 Apr 2010 04:49:57 GMT    the name of the project that is currently executing;
                    it is set in the name attribute of <project>.


>-----Urspr√ľngliche Nachricht-----
>Von: Misha Koshelev [] 
>Gesendet: Montag, 26. April 2010 23:26
>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
>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
>p.s. Please reply-all
>Misha Koshelev
>MD/PhD Student
>Human Neuroimaging Laboratory
>One Baylor Plaza
>Baylor College of Medicine
>Houston, TX 77030
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message