OSDN Git Service

2008-08-05 Matthias Klose <doko@ubuntu.com>
[pf3gnuchains/gcc-fork.git] / libjava / HACKING
index 560b0f7..e6a0f4c 100644 (file)
@@ -67,7 +67,7 @@ To import a new release:
   svn+ssh://gcc.gnu.org/svn/gcc/branches/CLASSPATH/libjava/classpath
   this contains "pure" GNU Classpath inside the GCC tree.
 - Clean it up and get the files from a new version:
-  - find classpath -type f | grep -v /\.svn | grep -v /\.cvs | xargs rm
+  - find classpath -type f | grep -v '/\.svn' | grep -v '/\.cvs' | xargs rm
   - tar zxf classpath-x.tar.gz
   - cp -r classpath-x/* classpath
 - Add/Remove files:
@@ -105,7 +105,7 @@ To import a new release:
   scripts/makemake.tcl > sources.am
   automake
 - Remove the generated class and header files:
-  find classpath -name '*.class' xargs -r rm -f
+  find classpath -name '*.class' xargs -r rm -f
   find gnu java javax org sun -name '*.h' \
     | xargs -r grep -Fl 'DO NOT EDIT THIS FILE - it is machine generated' \
     | xargs -r rm -f
@@ -121,10 +121,10 @@ To import a new release:
   will need to update the .class files and generated CNI header files in
   your working tree
 - Add/Remove newly generated files:
-  - svn status classpath | grep '^\!.*\.class$' | cut -c8- | xargs svn remove
-  - svn status classpath | grep '^\?' | cut -c8- | xargs svn add
-  - svn status gnu java javax org sun | grep '^\!.*\.h$' | cut -c8- | xargs svn remove
-  - svn status gnu java javax org sun | grep '^\?' | cut -c8- | xargs svn add
+  - svn status classpath | grep '^!.*\.class$' | cut -c8- | xargs svn remove
+  - svn status classpath | grep '^?' | cut -c8- | xargs svn add
+  - svn status gnu java javax org sun | grep '^!.*\.h$' | cut -c8- | xargs svn remove
+  - svn status gnu java javax org sun | grep '^?' | cut -c8- | xargs svn add
 
 Over time we plan to remove as many of the remaining divergences as
 possible.
@@ -184,6 +184,6 @@ If you add a class to java.lang, java.io, or java.util
   entire contents of the namespace)
 
 * Then insert the output of `perl scripts/classes.pl' into the file
-  at that point.  This must be run from the build tree, in
-  <build>/classpath/lib; it uses the .class file name to determine
+  at that point.  This must be run from the source tree, in
+  libjava/classpath/lib; it uses the .class file name to determine
   what to print.