forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject svn commit: r480906 - in /forrest/trunk/whiteboard/forrest2/core: build.xml src/core/org/apache/forrest/cli/CLI.java
Date Thu, 30 Nov 2006 12:16:44 GMT
Author: twilliams
Date: Thu Nov 30 04:16:43 2006
New Revision: 480906

URL: http://svn.apache.org/viewvc?view=rev&rev=480906
Log:
Untested temporary fix for the hard coded tmp path.

Modified:
    forrest/trunk/whiteboard/forrest2/core/build.xml
    forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/cli/CLI.java

Modified: forrest/trunk/whiteboard/forrest2/core/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/build.xml?view=diff&rev=480906&r1=480905&r2=480906
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/build.xml (original)
+++ forrest/trunk/whiteboard/forrest2/core/build.xml Thu Nov 30 04:16:43 2006
@@ -10,11 +10,13 @@
 
 	<property name="project.dist.dir" location="dist" />
 	<property name="project.build.classes.dir" location="build/classes" />
-	<property name="test.reports" location="build/reports" />
+  <property name="test.reports" location="build/reports" />
 	
 	<property name="content.object.dir" location="src/examples/helloWorld"/>
 	<property name="content.object.start.uri" value="helloWorld2.html"/>
 	<property name="content.object.src.dir" location="${content.object.dir}/src"/>
+  
+  <property name="project.build.content.dir" location="${content.object.dir}/build"/>
 
 	<property name="compile.debug" value="off" />
 
@@ -37,6 +39,7 @@
 
 	<target name="init" depends="clean">
 		<mkdir dir="${project.build.classes.dir}" />
+    <mkdir dir="${project.build.content.dir}" />
 		<mkdir dir="${project.dist.dir}" />
 		<mkdir dir="${project.dist.dir}/lib" />
 		<ivy:cachepath pathid="lib.path.id" conf="default" />

Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/cli/CLI.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/cli/CLI.java?view=diff&rev=480906&r1=480905&r2=480906
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/cli/CLI.java (original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/cli/CLI.java Thu Nov
30 04:16:43 2006
@@ -111,7 +111,7 @@
 				+ " is:\n");
 		System.out.println(doc.getContentAsString());
 		
-		File outFile = new File("c:\\tmp\\" + doc.getPath());
+		File outFile = new File("build\\" + doc.getPath());
 		FileWriter writer = new FileWriter(outFile);
 		writer.write(doc.getContentAsString());
 		writer.close();



Mime
View raw message