NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
netbeans_fan Posted via mailing list.
|
Posted: Sat Aug 02, 2008 6:12 pm Post subject: Netbeans ant variables |
|
|
I made a small adjustment in the build.xml which works okay but i'm still
wondering something. I am using the attribute todir="${build.classes.dir}".
Since i couldn't find any official document about which ant variables are
set by netbeans i am wondering if this can break after netbeans updates. I
noticed a lot of variables in build-impl.xml but this file is generated so
what variables are safe to use and which one arent ?
thx
NF
--
View this message in context: http://www.nabble.com/Netbeans-ant-variables-tp18791716p18791716.html
Sent from the Netbeans - Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
Ray Madigan Posted via mailing list.
|
Posted: Sat Aug 02, 2008 6:24 pm Post subject: Netbeans ant variables |
|
|
I don't know if you will ever be able to know the answer to your question.
As I think netbeans is changing periodically, when I create variables and I
want to be sure they are mine I use a convention like adding a couple of
specific characters to the beginning like:
my.build.classes.dir
any set will work, sometimes I use the project acronym or my initials.
Hope this helps.
-----Original Message-----
From: netbeans_fan [mailto:jandevries145@fastmail.fm]
Sent: Saturday, August 02, 2008 11:12 AM
To: nbusers@netbeans.org
Subject: [nbusers] Netbeans ant variables
I made a small adjustment in the build.xml which works okay but i'm still
wondering something. I am using the attribute todir="${build.classes.dir}".
Since i couldn't find any official document about which ant variables are
set by netbeans i am wondering if this can break after netbeans updates. I
noticed a lot of variables in build-impl.xml but this file is generated so
what variables are safe to use and which one arent ?
thx
NF
--
View this message in context:
http://www.nabble.com/Netbeans-ant-variables-tp18791716p18791716.html
Sent from the Netbeans - Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
netbeans_fan Posted via mailing list.
|
Posted: Sat Aug 02, 2008 6:30 pm Post subject: Netbeans ant variables |
|
|
Actually, i do want to use the netbeans variables. Else if i change the name
or path or something inside the project i have to adapt my ant script also
which i'll probabely forget. So you telling me there is no official list of
netbeans ant variables? bummer
(but i kinda figured that after hours of googling)
Ray Madigan wrote:
| Quote: |
I don't know if you will ever be able to know the answer to your question.
As I think netbeans is changing periodically, when I create variables and
I
want to be sure they are mine I use a convention like adding a couple of
specific characters to the beginning like:
my.build.classes.dir
any set will work, sometimes I use the project acronym or my initials.
Hope this helps.
|
--
View this message in context: http://www.nabble.com/Netbeans-ant-variables-tp18791716p18791931.html
Sent from the Netbeans - Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
jpfreire
Joined: 03 Jul 2012 Posts: 1 Location: Recife, PE - Brasil
|
Posted: Tue Jul 03, 2012 2:39 am Post subject: ...many years later |
|
|
I have found an ant task that can be put in nb-build.xml
| Code: |
<target name="-pre-jar">
<echoproperties/>
</target>
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|