[[nbpython-commits]] [hg] main/contrib: Resolving errors when python project is opened

  • From: Milutin Kristofic < >
  • To:
  • Subject: [[nbpython-commits]] [hg] main/contrib: Resolving errors when python project is opened
  • Date: Thu, 13 Dec 2012 03:46:31 -0800

changeset d74a085670e5 in main/contrib ((none))
details: http://hg.netbeans.org/main/contrib/rev/d74a085670e5
description:
        Resolving errors when python project is opened

diffstat:

 python.core/nbproject/project.xml                                            
|   4 ++
 python.debugger/nbproject/project.xml                                        
|  14 ++++++++++
 python.editor/nbproject/project.xml                                          
|   2 +-
 python.platform/nbproject/project.xml                                        
|   9 ++++++
 python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.form 
|   1 +
 python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.java 
|   1 -
 python.testrunner/nbproject/project.xml                                      
|  14 ++++++++++
 7 files changed, 43 insertions(+), 2 deletions(-)

diffs (115 lines):

diff --git a/python.core/nbproject/project.xml 
b/python.core/nbproject/project.xml
--- a/python.core/nbproject/project.xml
+++ b/python.core/nbproject/project.xml
@@ -152,6 +152,10 @@
                 <test-type>
                     <name>unit</name>
                     <test-dependency>
+                        
<code-name-base>org.netbeans.libs.junit4</code-name-base>
+                        <compile-dependency/>
+                    </test-dependency>
+                    <test-dependency>
                         
<code-name-base>org.netbeans.modules.nbjunit</code-name-base>
                         <compile-dependency/>
                     </test-dependency>
diff --git a/python.debugger/nbproject/project.xml 
b/python.debugger/nbproject/project.xml
--- a/python.debugger/nbproject/project.xml
+++ b/python.debugger/nbproject/project.xml
@@ -164,6 +164,20 @@
                     </run-dependency>
                 </dependency>
             </module-dependencies>
+            <test-dependencies>
+                <test-type>
+                    <name>unit</name>
+                    <test-dependency>
+                        
<code-name-base>org.netbeans.libs.junit4</code-name-base>
+                        <compile-dependency/>
+                    </test-dependency>
+                    <test-dependency>
+                        
<code-name-base>org.netbeans.modules.nbjunit</code-name-base>
+                        <recursive/>
+                        <compile-dependency/>
+                    </test-dependency>
+                </test-type>
+            </test-dependencies>
             <public-packages>
                 <package>org.netbeans.modules.python.debugger</package>
                 
<package>org.netbeans.modules.python.debugger.actions</package>
diff --git a/python.editor/nbproject/project.xml 
b/python.editor/nbproject/project.xml
--- a/python.editor/nbproject/project.xml
+++ b/python.editor/nbproject/project.xml
@@ -11,7 +11,7 @@
                     <compile-dependency/>
                     <run-dependency>
                         <release-version>1</release-version>
-                        <specification-version>1.5</specification-version>
+                        <specification-version>1.24</specification-version>
                     </run-dependency>
                 </dependency>
                 <dependency>
diff --git a/python.platform/nbproject/project.xml 
b/python.platform/nbproject/project.xml
--- a/python.platform/nbproject/project.xml
+++ b/python.platform/nbproject/project.xml
@@ -63,6 +63,15 @@
                     </run-dependency>
                 </dependency>
             </module-dependencies>
+            <test-dependencies>
+                <test-type>
+                    <name>unit</name>
+                    <test-dependency>
+                        
<code-name-base>org.netbeans.libs.junit4</code-name-base>
+                        <compile-dependency/>
+                    </test-dependency>
+                </test-type>
+            </test-dependencies>
             <public-packages/>
         </data>
     </configuration>
diff --git 
a/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.form
 
b/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.form
--- 
a/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.form
+++ 
b/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.form
@@ -11,6 +11,7 @@
     <AuxValue name="FormSettings_listenerGenerationStyle" 
type="java.lang.Integer" value="0"/>
     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" 
value="false"/>
     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" 
value="2"/>
+    <AuxValue name="designerSize" type="java.awt.Dimension" 
value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
   </AuxValues>
 
   <Layout 
class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
diff --git 
a/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.java
 
b/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.java
--- 
a/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.java
+++ 
b/python.qshell/src/org/netbeans/modules/python/qshell/QShellTopComponent.java
@@ -42,7 +42,6 @@
 
 package org.netbeans.modules.python.qshell;
 
-import com.sun.java_cup.internal.terminal;
 import java.util.logging.Logger;
 import org.netbeans.modules.python.qshell.richexecution.Program;
 import org.openide.util.NbBundle;
diff --git a/python.testrunner/nbproject/project.xml 
b/python.testrunner/nbproject/project.xml
--- a/python.testrunner/nbproject/project.xml
+++ b/python.testrunner/nbproject/project.xml
@@ -213,6 +213,20 @@
                     </run-dependency>
                 </dependency>
             </module-dependencies>
+            <test-dependencies>
+                <test-type>
+                    <name>unit</name>
+                    <test-dependency>
+                        
<code-name-base>org.netbeans.libs.junit4</code-name-base>
+                        <compile-dependency/>
+                    </test-dependency>
+                    <test-dependency>
+                        
<code-name-base>org.netbeans.modules.nbjunit</code-name-base>
+                        <recursive/>
+                        <compile-dependency/>
+                    </test-dependency>
+                </test-type>
+            </test-dependencies>
             <public-packages/>
         </data>
     </configuration>

[[nbpython-commits]] [hg] main/contrib: Resolving errors when python project is opened

Milutin Kristofic 12/13/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close