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 47810 - [freeform] Wrong project path instead of ${project.dir}
Summary: [freeform] Wrong project path instead of ${project.dir}
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
: 48958 (view as bug list)
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-08-24 15:48 UTC by zikmund
Modified: 2006-03-24 09:54 UTC (History)
1 user (show)

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 zikmund 2004-08-24 15:48:27 UTC
Build 200408231800

1) Invoke freeform Web Project wizard
2) On 2nd page select different Project Folder
(not a subdirectory of Location)
3) Go to 5th page
4) ERROR A
default package folder has wrong name (partially
doubled) - e.g.:
C:\Proj\My\C:\Proj\My\src

5) Remove it and put there valid source folders
6) Finish
7) ERROR B
- No web root visible.
- The generated project.xml has wrong absolute
pathes (doubled like in step 4) in web-module
related locations instead of ${project.dir}

Notice: probably related to fix of issue #47386?
Comment 1 zikmund 2004-08-24 16:20:12 UTC
Hmm, it blocks all WebApps Ant script project work --> P1.
Comment 2 Petr Hrebejk 2004-08-24 16:44:51 UTC
I think david fixed something like this recently. ???
Comment 3 zikmund 2004-08-24 17:02:44 UTC
I think it could be the mentioned issue #47386.
Comment 4 David Konecny 2004-08-24 17:21:51 UTC
I fixed it for freeform java project in the issue mentioned by
zikmund. So far this looks like separate problem in web.
Comment 5 Pavel Buzek 2004-08-24 19:05:16 UTC
The problem was a mixup of imported files location and nbproject files
location.

cvs commit -m "#47810 locations of src and web folder must be relative
to project.dir, not nb p..."
src\org\netbeans\modules\ant\freeform\ui\WebLocationsWizardPanel.java
(in directory E:\nb_all\ant\freeform\)
Checking in
src/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.8; previous revision: 1.7
done
Comment 6 zikmund 2004-08-25 09:03:14 UTC
This is Q-build stopper, please fix it in QBE200408241800 branch as
well, thanks.
Comment 7 zikmund 2004-08-26 14:09:05 UTC
Verified in trunk.
Comment 8 Pavel Buzek 2004-08-26 18:46:12 UTC
merged into qbuild branch
Comment 9 Milan Kubec 2004-08-27 11:05:57 UTC
Is anybody able to verify that issue #47977 is the same problem?
Comment 10 David Konecny 2004-08-27 12:08:33 UTC
It is not clear yet.
Comment 11 rweaver 2004-09-14 01:29:55 UTC
*** Issue 48958 has been marked as a duplicate of this issue. ***