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

Summary: [freeform] Web freeform project does create project.xml with absolute paths
Product: projects Reporter: Martin Grebac <mgrebac>
Component: AntAssignee: Pavel Buzek <pbuzek>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 42682    

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.