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.
Summary: | Get access to hg path for use within an Ant target | ||
---|---|---|---|
Product: | projects | Reporter: | yjoan <yjoan> |
Component: | Ant | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ovrabec, yjoan |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
yjoan
2013-02-01 09:52:30 UTC
1) NB has no such accessible variable, someone would need to get it from mercurial support private properties: NbPreferences.root().node("org/netbeans/modules/mercurial").get("hgExecBinary") - without any guarantee of stability (may change in future) 2) i don't know how running ant tasks from the IDE works but i assume it's run in a separate process so ${hg.path} would have to be set by its caller. Not sure who that is: projects/ant ?? 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 |