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 10177 - Per target properties
Summary: Per target properties
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-12 15:42 UTC by Milan Kubec
Modified: 2003-06-30 14:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2001-03-12 15:42:10 UTC
Ant module should allow to define per target properties, for details see:

My proposal:
http://www.netbeans.org/www-nbdev/msg04637.html
Jesse's response:
http://www.netbeans.org/www-nbdev/msg04686.html

More ant executors is fine and definitely needed feature, but it solves
different problem. If you want to have different set of properties for targets
in build script, you would need to switch executor for every single target
execution. On the other hand if you can define properties for each separate
target, you would do it only once. And these per target properties will take
effect only if you run separate target, not the default one, of course.
Comment 1 Jan Chalupa 2001-05-05 19:22:58 UTC
Target milestone -> 3.3
Comment 2 _ mruflin 2001-07-19 08:55:01 UTC
I added a small Wizard that lets you create an .ant.properties file 
and adds the right <property file...> tag to your ant script. Just 
use the Properties property in the Property Sheet (for a project or 
target node). Is this ok for you or do you need something different?
It is better not to add Properties to the file attributes.
Comment 3 _ mruflin 2001-07-19 15:06:33 UTC
I mark this enhancement as fixed (Properties file Wizard supports 
what was requested).
Comment 4 Milan Kubec 2001-09-07 09:44:00 UTC
Verified in dev 200107090100.
Comment 5 Quality Engineering 2003-06-30 14:47:56 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.