Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 64088 - Allow importing web project with web.xml outside $docroot/WEB-INF
Allow importing web project with web.xml outside $docroot/WEB-INF
Status: RESOLVED FIXED
Product: javaee
Classification: Unclassified
Component: Web Project
5.x
All All
: P2 with 1 vote (vote)
: 6.x
Assigned To: Radko Najman
issues@javaee
:
Depends on:
Blocks: 89479
  Show dependency treegraph
 
Reported: 2005-09-12 09:15 UTC by Petr Jiricka
Modified: 2007-04-20 16:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2005-09-12 09:15:29 UTC
Currently, the web project from existing sources wizard assumes that web.xml is
located in $docroot/WEB-INF, as recommended by both the Jakarta and BluePrints
source structure conventions. However, many existing projects place the web.xml
file in the "conf" directory. It would be useful to allow importing such projects.
Comment 1 Petr Jiricka 2005-09-12 09:24:35 UTC
See also a similar issue 61895 for freeform projects.
Comment 2 Radko Najman 2007-04-12 14:41:26 UTC
Implemented.

Checking in
jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/AttrSupports.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/AttrSupports.java,v
 <--  AttrSupports.java
new revision: 1.18; previous revision: 1.17
done
Checking in
project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.103; previous revision: 1.102
done
Checking in jspparser/nbproject/project.xml;
/cvs/web/jspparser/nbproject/project.xml,v  <--  project.xml
new revision: 1.13; previous revision: 1.12
done
Checking in project/src/org/netbeans/modules/web/project/WebProject.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebProject.java,v  <-- 
WebProject.java
new revision: 1.114; previous revision: 1.113
done
Checking in
project/src/org/netbeans/modules/web/project/WebProjectWebServicesClientSupport.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebProjectWebServicesClientSupport.java,v
 <--  WebProjectWebServicesClientSupport.java
new revision: 1.11; previous revision: 1.10
done
Checking in
project/src/org/netbeans/modules/web/project/WebProjectWebServicesSupport.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebProjectWebServicesSupport.java,v
 <--  WebProjectWebServicesSupport.java
new revision: 1.37; previous revision: 1.36
done
Checking in project/src/org/netbeans/modules/web/project/WebActionProvider.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebActionProvider.java,v 
<--  WebActionProvider.java
new revision: 1.87; previous revision: 1.86
done
Checking in project/src/org/netbeans/modules/web/project/WebSources.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebSources.java,v  <-- 
WebSources.java
new revision: 1.17; previous revision: 1.16
done
Checking in project/src/org/netbeans/modules/web/project/ProjectWebModule.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ProjectWebModule.java,v 
<--  ProjectWebModule.java
new revision: 1.48; previous revision: 1.47
done
Checking in project/src/org/netbeans/modules/web/project/Bundle.properties;
/cvs/web/project/src/org/netbeans/modules/web/project/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.43; previous revision: 1.42
done
Checking in
jspparser/extsrc/org/netbeans/modules/web/jspparser_ext/WebAppParseSupport.java;
/cvs/web/jspparser/extsrc/org/netbeans/modules/web/jspparser_ext/WebAppParseSupport.java,v
 <--  WebAppParseSupport.java
new revision: 1.7; previous revision: 1.6
done
Checking in jspsyntax/nbproject/project.xml;
/cvs/web/jspsyntax/nbproject/project.xml,v  <--  project.xml
new revision: 1.28; previous revision: 1.27
done
Checking in
project/src/org/netbeans/modules/web/project/ui/SetExecutionUriAction.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/SetExecutionUriAction.java,v
 <--  SetExecutionUriAction.java
new revision: 1.7; previous revision: 1.6
done
Checking in
project/src/org/netbeans/modules/web/project/api/WebProjectUtilities.java;
/cvs/web/project/src/org/netbeans/modules/web/project/api/WebProjectUtilities.java,v
 <--  WebProjectUtilities.java
new revision: 1.13; previous revision: 1.12
done
Checking in
project/src/org/netbeans/modules/web/project/api/WebProjectCreateData.java;
/cvs/web/project/src/org/netbeans/modules/web/project/api/WebProjectCreateData.java,v
 <--  WebProjectCreateData.java
new revision: 1.3; previous revision: 1.2
done
Checking in
project/src/org/netbeans/modules/web/project/ui/wizards/ImportWebProjectWizardIterator.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportWebProjectWizardIterator.java,v
 <--  ImportWebProjectWizardIterator.java
new revision: 1.52; previous revision: 1.51
done
Checking in
project/src/org/netbeans/modules/web/project/ui/wizards/ImportLocationVisual.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportLocationVisual.java,v
 <--  ImportLocationVisual.java
new revision: 1.50; previous revision: 1.49
done
Checking in
project/src/org/netbeans/modules/web/project/ui/wizards/PanelSourceFolders.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelSourceFolders.java,v
 <--  PanelSourceFolders.java
new revision: 1.19; previous revision: 1.18
done
Checking in
project/src/org/netbeans/modules/web/project/ui/wizards/WizardProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/WizardProperties.java,v
 <--  WizardProperties.java
new revision: 1.13; previous revision: 1.12
done
Checking in
project/src/org/netbeans/modules/web/project/ui/wizards/Bundle.properties;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.70; previous revision: 1.69
done
Checking in
project/src/org/netbeans/modules/web/project/ui/wizards/PanelSourceFolders.form;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelSourceFolders.form,v
 <--  PanelSourceFolders.form
new revision: 1.7; previous revision: 1.6
done
Checking in project/src/org/netbeans/modules/web/project/resources/build-impl.xsl;
/cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v
 <--  build-impl.xsl
new revision: 1.126; previous revision: 1.125
done
Checking in
jspparser/src/org/netbeans/modules/web/jspparser/FastOpenInfoParser.java;
/cvs/web/jspparser/src/org/netbeans/modules/web/jspparser/FastOpenInfoParser.java,v
 <--  FastOpenInfoParser.java
new revision: 1.8; previous revision: 1.7
done
Comment 3 Radko Najman 2007-04-20 16:38:13 UTC
Tries to guess WEB-INF folder.

Checking in ImportWebProjectWizardIterator.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/ImportWebProjectWizardIterator.java,v
 <--  ImportWebProjectWizardIterator.java
new revision: 1.53; previous revision: 1.52
done
Checking in FileSearchUtility.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/FileSearchUtility.java,v
 <--  FileSearchUtility.java
new revision: 1.4; previous revision: 1.3
done
Checking in PanelSourceFolders.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/PanelSourceFolders.java,v
 <--  PanelSourceFolders.java
new revision: 1.20; previous revision: 1.19
done
Checking in Bundle.properties;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.72; previous revision: 1.71
done


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo