NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans ant variables

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
netbeans_fan
Posted via mailing list.





PostPosted: Sat Aug 02, 2008 6:12 pm    Post subject: Netbeans ant variables Reply with quote

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.





PostPosted: Sat Aug 02, 2008 6:24 pm    Post subject: Netbeans ant variables Reply with 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.

-----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.





PostPosted: Sat Aug 02, 2008 6:30 pm    Post subject: Netbeans ant variables Reply with quote

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 Sad
(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

PostPosted: Tue Jul 03, 2012 2:39 am    Post subject: ...many years later Reply with quote

I have found an ant task that can be put in nb-build.xml

Code:

    <target name="-pre-jar">
        <echoproperties/>
    </target>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo