classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: update eclipse build infrastructure


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: update eclipse build infrastructure
Date: 16 Aug 2005 14:05:34 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I'm checking this in.

This updates the Eclipse build infrastructure a little.  Now we ignore
jdwp and make sure that LocaleData.java exists.  It also fixes a
little build buglet in the new example.

With this you should once again be able to check out Classpath with
Eclipse and have it automatically build.

Tom


2005-08-16  Tom Tromey  <address@hidden>

        * .classpath: Ignore jdwp.
        * .project: Added builder to create LocaleData.java.
        * .externalToolBuilders/CreateLocaleData.launch: New file.
        * examples/gnu/classpath/examples/jawt/DemoJAWT.java: Added package.

Index: .classpath
===================================================================
RCS file: /cvsroot/classpath/classpath/.classpath,v
retrieving revision 1.5
diff -u -r1.5 .classpath
--- .classpath  1 May 2005 22:05:53 -0000       1.5
+++ .classpath  16 Aug 2005 20:08:08 -0000
@@ -1,24 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-       <classpathentry 
excluding="compat/|examples/|external/|gnu/javax/swing/plaf/|test/|testsuite/|vm/reference/"
 kind="src" path="">
-               <attributes>
-               </attributes>
-       </classpathentry>
-       <classpathentry kind="src" path="vm/reference">
-               <attributes>
-               </attributes>
-       </classpathentry>
-       <classpathentry kind="src" path="external/sax">
-               <attributes>
-               </attributes>
-       </classpathentry>
-       <classpathentry kind="src" path="external/w3c_dom">
-               <attributes>
-               </attributes>
-       </classpathentry>
-       <classpathentry kind="src" path="examples">
-               <attributes>
-               </attributes>
-       </classpathentry>
+       <classpathentry 
excluding="compat/|examples/|external/|gnu/classpath/jdwp/|gnu/javax/swing/plaf/|test/|testsuite/|vm/reference/|vm/reference/gnu/classpath/jdwp/"
 kind="src" path=""/>
+       <classpathentry kind="src" path="vm/reference"/>
+       <classpathentry kind="src" path="external/sax"/>
+       <classpathentry kind="src" path="external/w3c_dom"/>
+       <classpathentry kind="src" path="examples"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
Index: .project
===================================================================
RCS file: /cvsroot/classpath/classpath/.project,v
retrieving revision 1.2
diff -u -r1.2 .project
--- .project    1 May 2005 22:05:53 -0000       1.2
+++ .project    16 Aug 2005 20:08:08 -0000
@@ -26,6 +26,16 @@
                        </arguments>
                </buildCommand>
                <buildCommand>
+                       
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+                       <triggers>full,incremental,</triggers>
+                       <arguments>
+                               <dictionary>
+                                       <key>LaunchConfigHandle</key>
+                                       
<value>&lt;project&gt;/.externalToolBuilders/Create LocaleData.launch</value>
+                               </dictionary>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
Index: examples/gnu/classpath/examples/jawt/DemoJAWT.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/examples/gnu/classpath/examples/jawt/DemoJAWT.java,v
retrieving revision 1.1
diff -u -r1.1 DemoJAWT.java
--- examples/gnu/classpath/examples/jawt/DemoJAWT.java  12 Aug 2005 05:37:26 
-0000      1.1
+++ examples/gnu/classpath/examples/jawt/DemoJAWT.java  16 Aug 2005 20:08:13 
-0000
@@ -18,6 +18,8 @@
 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 02110-1301 USA. */
 
+package gnu.classpath.examples.jawt;
+
 import java.awt.*;
 import java.awt.event.*;
 
Index: .externalToolBuilders/CreateLocaleData.launch
===================================================================
RCS file: .externalToolBuilders/CreateLocaleData.launch
diff -N .externalToolBuilders/CreateLocaleData.launch
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ .externalToolBuilders/CreateLocaleData.launch       1 Jan 1970 00:00:00 
-0000
@@ -0,0 +1,2 @@
+<?xml version='1.0'?>
+<launchConfiguration 
type='org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType'><stringAttribute
 key='org.eclipse.debug.core.ATTR_REFRESH_SCOPE' value='${working_set:&lt;?xml 
version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;launchConfigurationWorkingSet 
factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; 
name=&quot;working set&quot; 
editPageId=&quot;org.eclipse.ui.resourceWorkingSetPage&quot;&gt;&#10;&lt;item 
factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; 
path=&quot;/classpath/java/util&quot; 
type=&quot;2&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}'/><stringAttribute
 key='org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS' 
value='full,incremental,'/><stringAttribute 
key='org.eclipse.ui.externaltools.ATTR_LOCATION' 
value='${system_path:make}'/><booleanAttribute 
key='org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED' 
value='true'/><stringAttribute 
key='org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTO
 RY' value='${build_project}'/><stringAttribute 
key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-C 
${build_project}/lib ../java/util/LocaleData.java'/><booleanAttribute 
key='org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND' 
value='false'/><booleanAttribute 
key='org.eclipse.debug.core.appendEnvironmentVariables' 
value='true'/></launchConfiguration>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]