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 45641 - [freeform] Web freeform project does create project.xml with absolute paths
Summary: [freeform] Web freeform project does create project.xml with absolute paths
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-06-28 14:19 UTC by Martin Grebac
Modified: 2006-03-24 10:34 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 Martin Grebac 2004-06-28 14:19:38 UTC
Java freeform project creates something like this
in the beginning of the file:
<properties>
 <property
name="project.location">/local/arena/appdev</property>
 <property
name="ant.script">${project.location}/build.xml</property>
</properties>
and then all paths are relativized to
project.location. Web project should do the same.
The 'relativization method' is
FreeformProjectGenerator.relativizeLocation(...)
Comment 1 Pavel Buzek 2004-06-30 09:41:07 UTC
ok, will do the same thing as Java
Comment 2 Pavel Buzek 2004-06-30 13:14:33 UTC
fixed

cvs commit -m "45641 - store relative locations for web module
folders" org\netbeans\modules\ant\freeform\ui\WebLocationsPanel.java
org\netbeans\modules\ant\freeform\ui\WebLocationsWizardPanel.java (in
directory E:\nb_all\ant\freeform\src\)
Checking in org/netbeans/modules/ant/freeform/ui/WebLocationsPanel.java;
/cvs/ant/freeform/src/org/netbeans/modules/ant/freeform/ui/WebLocationsPanel.java,v
 <--  WebLocationsPanel.java
new revision: 1.8; previous revision: 1.7
done
Checking in
org/netbeans/modules/ant/freeform/ui/WebLocationsWizardPanel.java;
/cvs/ant/freeform/src/org/netbeans/modules/ant/freeform/ui/WebLocationsWizardPanel.java,v
 <--  WebLocationsWizardPanel.java
new revision: 1.5; previous revision: 1.4
done
Comment 3 Martin Grebac 2004-09-23 10:06:17 UTC
Verified in build 200409221800.