You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ru...@apache.org on 2003/02/16 14:25:55 UTC
cvs commit: jakarta-gump/java Jenny.java LocalCheck.java
rubys 2003/02/16 05:25:55
Modified: java Jenny.java LocalCheck.java
Log:
Ignore comments in workspace
Submitted by: Stu Halloway <st...@develop.com>
Revision Changes Path
1.23 +4 -4 jakarta-gump/java/Jenny.java
Index: Jenny.java
===================================================================
RCS file: /home/cvs/jakarta-gump/java/Jenny.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Jenny.java 17 Jan 2003 06:46:31 -0000 1.22
+++ Jenny.java 16 Feb 2003 13:25:55 -0000 1.23
@@ -392,7 +392,7 @@
// process documents
Document doc = parse(source);
- Element workspace = (Element)doc.getFirstChild();
+ Element workspace = doc.getDocumentElement();
Workspace.init(workspace);
expand(workspace);
replaceDate(workspace, dstamp);
1.4 +5 -5 jakarta-gump/java/LocalCheck.java
Index: LocalCheck.java
===================================================================
RCS file: /home/cvs/jakarta-gump/java/LocalCheck.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- LocalCheck.java 27 Jan 2003 08:51:10 -0000 1.3
+++ LocalCheck.java 16 Feb 2003 13:25:55 -0000 1.4
@@ -99,7 +99,7 @@
this.workspaceFile = workSpace;
Document doc = parse(workSpace);
Workspace space = new Workspace();
- space.init((Element)doc.getFirstChild());
+ space.init(doc.getDocumentElement());
this.pkgDir = space.getPkgDir();
this.pkgDir+=((pkgDir.endsWith(File.separator))?"":File.separator);
currentDir = new File(workspaceFile).getAbsoluteFile().getParent()+File.separator;