Author: tfischer
Date: Mon Oct 26 01:26:00 2015
New Revision: 1710499
URL: http://svn.apache.org/viewvc?rev=1710499&view=rev
Log:
do not delete target directory - leads to hard-to-find class not found errors
when using a maven project setup
Modified:
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/example/gettingstarted/GettingStarted.java
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/tutorial/codegen/gettingStarted.xml
Modified:
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/example/gettingstarted/GettingStarted.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/example/gettingstarted/GettingStarted.java?rev=1710499&r1=1710498&r2=1710499&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/example/gettingstarted/GettingStarted.java
(original)
+++
db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/example/gettingstarted/GettingStarted.java
Mon Oct 26 01:26:00 2015
@@ -31,9 +31,9 @@ import org.apache.torque.generator.contr
public class GettingStarted
{
- public static void main(String[] argv) throws Exception
+ public static void main(final String[] argv) throws Exception
{
- File target = new File("target");
+ File target = new File("target/gettingStarted");
FileUtils.deleteDirectory(target);
Controller controller = new Controller();
List<UnitDescriptor> unitDescriptors = new ArrayList<UnitDescriptor>();
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/tutorial/codegen/gettingStarted.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/tutorial/codegen/gettingStarted.xml?rev=1710499&r1=1710498&r2=1710499&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/tutorial/codegen/gettingStarted.xml
(original)
+++
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/tutorial/codegen/gettingStarted.xml
Mon Oct 26 01:26:00 2015
@@ -502,7 +502,7 @@ public class GettingStarted
{
public static void main(String[] argv) throws Exception
{
- File target = new File("target");
+ File target = new File("target/gettingStarted");
FileUtils.deleteDirectory(target);
Controller controller = new Controller();
List<UnitDescriptor> unitDescriptors = new ArrayList<UnitDescriptor>();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]