You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2006/12/30 15:23:46 UTC
svn commit: r491227 - in /db/torque/test/trunk/test-project: ./
src/java/org/apache/torque/ src/main/ src/main/java/ src/main/java/org/
src/main/java/org/apache/ src/main/java/org/apache/torque/
Author: tfischer
Date: Sat Dec 30 06:23:45 2006
New Revision: 491227
URL: http://svn.apache.org/viewvc?view=rev&rev=491227
Log:
Moved the test interface in the test project to a new directory.
This is necessary for the maven 2 test as the test interface are needed for compiling the generated sources whereas the test classes are not needed for this.
The distinction also makes sense for the maven 1 test.
Added:
db/torque/test/trunk/test-project/src/main/
db/torque/test/trunk/test-project/src/main/java/
db/torque/test/trunk/test-project/src/main/java/org/
db/torque/test/trunk/test-project/src/main/java/org/apache/
db/torque/test/trunk/test-project/src/main/java/org/apache/torque/
db/torque/test/trunk/test-project/src/main/java/org/apache/torque/TestInterface.java
- copied unchanged from r488187, db/torque/test/trunk/test-project/src/java/org/apache/torque/TestInterface.java
Removed:
db/torque/test/trunk/test-project/src/java/org/apache/torque/TestInterface.java
Modified:
db/torque/test/trunk/test-project/maven.xml
db/torque/test/trunk/test-project/project.properties
Modified: db/torque/test/trunk/test-project/maven.xml
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/maven.xml?view=diff&rev=491227&r1=491226&r2=491227
==============================================================================
--- db/torque/test/trunk/test-project/maven.xml (original)
+++ db/torque/test/trunk/test-project/maven.xml Sat Dec 30 06:23:45 2006
@@ -76,8 +76,7 @@
deprecation="${torque.compile.deprecation}"
destdir="${torque.test.compile.dir}"
optimize="${torque.compile.optimize}"
- srcdir="${torque.test.junit.src.dir}">
- <include name="**/TestInterface.java" />
+ srcdir="${torque.test.src.dir}">
<classpath refid="maven.dependency.classpath"/>
</javac>
Modified: db/torque/test/trunk/test-project/project.properties
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/project.properties?view=diff&rev=491227&r1=491226&r2=491227
==============================================================================
--- db/torque/test/trunk/test-project/project.properties (original)
+++ db/torque/test/trunk/test-project/project.properties Sat Dec 30 06:23:45 2006
@@ -58,6 +58,9 @@
# log directory where test classes can put their log files
torque.test.log.dir=target/logs
+# base directory for the java sources necesary to compile the generated sources
+torque.test.src.dir=src/main/java
+
# base directory for the java sources for the junit tests
torque.test.junit.src.dir=src/java
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org