This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 195799 - Most fields in "Propect Properties": Ant variables get resolved!
Summary: Most fields in "Propect Properties": Ant variables get resolved!
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Linux
: P4 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 12:50 UTC by converginglight
Modified: 2016-07-07 07:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description converginglight 2011-02-22 12:50:21 UTC
Project Properties -> Build -> Documenting -> "Additional Javadoc Options"

I am using
    -stylesheetfile ${basedir}/something.css
for this field, but it is resolved to my actual working copy path.

So when I re-open this dialog,
    -stylesheetfile ${basedir}/something.css
becomes
    -stylesheetfile /home/me/blabla/something.css
Comment 1 converginglight 2011-02-22 12:55:45 UTC
Great, it seems that nearly every project property field is affected. For example also in Project Properties -> Application:
I tried to specify ${basedir} as value for "Homepage" and "Splash Screen"
and after reopening of this dialog, it was converted to /home/me/...
Comment 2 Jesse Glick 2011-02-25 03:47:27 UTC
Using Ant property substitutions in project.properties is supported, but not if you also plan to use the GUI to customize the project.
Comment 3 converginglight 2011-02-25 10:07:49 UTC
Sorry, I don't fully understand.
You mean I should just edit the project.properties file manually, and then everything would stay?

BTW, Could you please tell me, where javadoc is normally intended to be ran from? Because I tried to pass every possible relative path for a stylesheet (located in "src"), but it seems, that javadoc is ran from my home directory (which I personally would see as a bug).
Comment 4 Martin Balin 2016-07-07 07:18:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss