This is the mail archive of the mauve-discuss@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch to improve use with Eclipse


hello there,

pls. find attached a patch to improve the use of Mauve with (Native) 
Eclipse.


cheers;
rsn
? frozen_serial
? .externalToolBuilders/MauveBatchRun.launch
Index: .cvsignore
===================================================================
RCS file: /cvs/mauve/mauve/.cvsignore,v
retrieving revision 1.6
diff -B -b -w -U3 -r1.6 .cvsignore
--- .cvsignore	21 Feb 2005 06:48:58 -0000	1.6
+++ .cvsignore	21 Dec 2005 13:27:58 -0000
@@ -19,3 +19,5 @@
 build
 doc
 SimpleTestHarness
+mauve-classpath
+mauve.out
Index: ChangeLog
===================================================================
RCS file: /cvs/mauve/mauve/ChangeLog,v
retrieving revision 1.1307
diff -B -b -w -U3 -r1.1307 ChangeLog
--- ChangeLog	20 Dec 2005 19:20:17 -0000	1.1307
+++ ChangeLog	21 Dec 2005 13:28:03 -0000
@@ -1,3 +1,10 @@
+2005-12-21  Raif S. Naffah  <raif@swiftdsl.com.au>
+
+	* .externalToolBuilders/MauveBatchRunLaunch: new Eclipse Builder
+	* batch_run
+	  (CLASSPATHBCP): new env variable.
+	  (COMPILER): redefined using CLASSPATHBCP.
+
 2005-12-20  Anthony Balkissoon  <abalkiss@redhat.com>

 	* gnu/testlet/javax/swing/text/DefaultStyledDocument/ElementBuffer/ElementStructure1.java: New test.
Index: batch_run
===================================================================
RCS file: /cvs/mauve/mauve/batch_run,v
retrieving revision 1.17
diff -B -b -w -U3 -r1.17 batch_run
--- batch_run	31 Jul 2005 17:42:52 -0000	1.17
+++ batch_run	21 Dec 2005 13:28:03 -0000
@@ -36,9 +36,13 @@
 KEYS="$KEYS !java.lang.Character.unicode"
 fi

+if test "x$CLASSPATHBCP" = "x"; then
+CLASSPATHBCP="/usr/local/classpath/share/classpath/glibj.zip"
+fi
+
 if test "x$COMPILER" = "x"; then
 #COMPILER="gcj -C -Wno-deprecated"
-COMPILER="jikes -nowarn -bootclasspath /usr/local/classpath/share/classpath/glibj.zip"
+COMPILER="jikes -nowarn -bootclasspath $CLASSPATHBCP"
 fi

 if test "x$COMPILER" = "xgcj"; then
Index: .externalToolBuilders/MauveBatchRun.launch
===================================================================
RCS file: .externalToolBuilders/MauveBatchRun.launch
diff -N .externalToolBuilders/MauveBatchRun.launch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .externalToolBuilders/MauveBatchRun.launch	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,2 @@
+<?xml version='1.0'?>
+<launchConfiguration type='org.eclipse.ui.externaltools.ProgramLaunchConfigurationType'><stringAttribute key='org.eclipse.debug.ui.ATTR_CAPTURE_IN_FILE' value='${workspace_loc:/mauve}/mauve.out'/><stringAttribute key='org.eclipse.debug.core.ATTR_REFRESH_SCOPE' value='${container}'/><listAttribute key='org.eclipse.debug.ui.favoriteGroups'><listEntry value='org.eclipse.ui.externaltools.launchGroup'/></listAttribute><stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' value='${project_loc:mauve}/batch_run'/><stringAttribute key='org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY' value='${project_loc}'/><mapAttribute key='org.eclipse.debug.core.environmentVariables'><mapEntry key='KEYS' value='classpath'/><mapEntry key='CLASSPATHBCP' value='${project_loc:classpath}/install/share/classpath'/><mapEntry key='CACAO_BIN' value='${project_loc:classpath}/install/bin/java'/><mapEntry key='JAMVM_BIN' value='${project_loc:classpath}/install/bin/jamvm'/><mapEntry key='RUNTIME' value='${project_loc:classpath}/install/bin/java'/></mapAttribute><booleanAttribute key='org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND' value='false'/><booleanAttribute key='org.eclipse.debug.core.appendEnvironmentVariables' value='false'/></launchConfiguration>

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]