specify Ant or Setuptools in new project wizards python
authorJulio C. Rocha <juniel_katarn@netbeans.org>
Tue, 24 Feb 2015 03:51:50 -0800
branchpython
changeset 18224795cdf1f01a0
parent 18223 c8c1bae3b5ca
child 18225 94fd635a7eb3
child 18229 f5dbce292567
child 18231 d9d35d3ede87
specify Ant or Setuptools in new project wizards
Contributed by Ralph Benjamin from:
https://github.com/GeertjanWielenga/Python4NetBeans/commit/45f7ed9946ee5eea6112592347a05ee9272d1797
python.project/src/org/netbeans/modules/python/project/Bundle.properties
python.project2/src/org/netbeans/modules/python/project2/Bundle.properties
python.project2/src/org/netbeans/modules/python/project2/templates/NewPythonProjectWizardIterator.java
     1.1 --- a/python.project/src/org/netbeans/modules/python/project/Bundle.properties	Tue Feb 24 03:39:00 2015 -0800
     1.2 +++ b/python.project/src/org/netbeans/modules/python/project/Bundle.properties	Tue Feb 24 03:51:50 2015 -0800
     1.3 @@ -3,8 +3,8 @@
     1.4      Provides a basic project type which can hold Python source code.
     1.5  OpenIDE-Module-Name=Python Projects
     1.6  OpenIDE-Module-Short-Description=Project type for Python sources.
     1.7 -Templates/Project/Python/PythonProject.xml=Python Project
     1.8 -Templates/Project/Python/ExistingPythonProject.xml=Python Project with Existing Sources
     1.9 +Templates/Project/Python/PythonProject.xml=Python Project - Ant
    1.10 +Templates/Project/Python/ExistingPythonProject.xml=Python Project with Existing Sources - Ant
    1.11  #SourceRoots
    1.12  NAME_src.dir=Sources
    1.13  NAME_test.src.dir=Tests
     2.1 --- a/python.project2/src/org/netbeans/modules/python/project2/Bundle.properties	Tue Feb 24 03:39:00 2015 -0800
     2.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/Bundle.properties	Tue Feb 24 03:51:50 2015 -0800
     2.3 @@ -1,2 +1,2 @@
     2.4  OpenIDE-Module-Name=Python Project 2
     2.5 -Templates/Project/Python/PythonProject2.xml=Python Project
     2.6 +Templates/Project/Python/PythonProject2.xml=Python Project - Setuptools
     3.1 --- a/python.project2/src/org/netbeans/modules/python/project2/templates/NewPythonProjectWizardIterator.java	Tue Feb 24 03:39:00 2015 -0800
     3.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/templates/NewPythonProjectWizardIterator.java	Tue Feb 24 03:51:50 2015 -0800
     3.3 @@ -50,7 +50,7 @@
     3.4          this.wizardType = wizardType;
     3.5      }
     3.6  
     3.7 -    @TemplateRegistration(folder = "Project/Python", position = 152, displayName = "org.netbeans.modules.python.project2.Bundle#Templates/Project/Python/PythonProject2.xml", iconBase = "org/netbeans/modules/python/project2/resources/py_25_16.png", description = "/org/netbeans/modules/python/project2/templates/EmptyPythonProjectDescription.html")
     3.8 +    @TemplateRegistration(folder = "Project/Python", position = 148, displayName = "org.netbeans.modules.python.project2.Bundle#Templates/Project/Python/PythonProject2.xml", iconBase = "org/netbeans/modules/python/project2/resources/py_25_16.png", description = "/org/netbeans/modules/python/project2/templates/EmptyPythonProjectDescription.html")
     3.9      public static NewPythonProjectWizardIterator createApplication() {
    3.10          return new NewPythonProjectWizardIterator();
    3.11      }