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 47655 - new webapp - decouple "project location" and "project folder"
Summary: new webapp - decouple "project location" and "project folder"
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker with 1 vote (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-22 19:39 UTC by wqtnetbeans
Modified: 2016-07-07 08:54 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 wqtnetbeans 2004-08-22 19:39:33 UTC
In nb4 beta, I am trying to create a new webapp
using the wizard.

It first asks for the "project name", and then the
"project location". Unlike the "web project with
existing sources", in this case the "project
folder" is automatically given by the IDE as
"${project.location}/${project.name}". And a
"nbproject" folder and the building Ant scripts
are put inside there.

The entire default "project folder" is grayed out,
meaning the user doesn't have the option of giving
its value to something else, such that NB
"nbproject" and the Ant scripts are outside of
"project location". Why not - as this option is
available in the case of "existing sources"?

The reason why I'd like to have the NB specifics
outside of the "project location" that contains
the web resources is: The newly created webapp
needs to be checked in to a Version Control System
to be shared with other users who may not use NB.
Having the "project folder" (i.e. the "nbproject"
folder) inside the "project location" is too
invasive for other developers sharing the same the
VCS but using different IDEs. Although the auto
generated building scripts can be run outside of
NB, for people who don't use NB, they may have
their own way of building things (probably an Ant
script they write that simply looks more friendly
to them), and might not like the scripts generated
by NB.

Yes, I do have the option of NOT to check in the
"nbproject" folder and the generated scripts, but
since they are inside the "project location"
directory, it's awkward. It'd be way neater if the
NB project management specific things can be put
somewhere outside the "project location" where
resources of the webapp reside.

Is there a way to do that?
Comment 1 Martin Balin 2016-07-07 08:54:28 UTC
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