Author: sgoeschl Date: Tue Apr 8 06:06:30 2008 New Revision: 645894 URL: http://svn.apache.org/viewvc?rev=645894&view=rev Log: The test and test distribution now works on Mac OS X and Windows out of the box
Modified: commons/sandbox/exec/trunk/pom.xml commons/sandbox/exec/trunk/src/test/bin/testme.bat commons/sandbox/exec/trunk/src/test/bin/testme.sh Modified: commons/sandbox/exec/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/pom.xml?rev=645894&r1=645893&r2=645894&view=diff ============================================================================== --- commons/sandbox/exec/trunk/pom.xml (original) +++ commons/sandbox/exec/trunk/pom.xml Tue Apr 8 06:06:30 2008 @@ -149,6 +149,7 @@ <properties> <maven.compile.source>1.3</maven.compile.source> <maven.compile.target>1.3</maven.compile.target> + <test>*Test</test> <commons.componentid>exec</commons.componentid> <commons.jira.componentid>12311184</commons.jira.componentid> </properties> Modified: commons/sandbox/exec/trunk/src/test/bin/testme.bat URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/bin/testme.bat?rev=645894&r1=645893&r2=645894&view=diff ============================================================================== --- commons/sandbox/exec/trunk/src/test/bin/testme.bat (original) +++ commons/sandbox/exec/trunk/src/test/bin/testme.bat Tue Apr 8 06:06:30 2008 @@ -1,20 +1,20 @@ @ECHO OFF [EMAIL PROTECTED] [EMAIL PROTECTED] Licensed to the Apache Software Foundation (ASF) under one or more [EMAIL PROTECTED] contributor license agreements. See the NOTICE file distributed with [EMAIL PROTECTED] this work for additional information regarding copyright ownership. [EMAIL PROTECTED] The ASF licenses this file to You under the Apache License, Version 2.0 [EMAIL PROTECTED] (the "License"); you may not use this file except in compliance with [EMAIL PROTECTED] the License. You may obtain a copy of the License at [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.apache.org/licenses/LICENSE-2.0 [EMAIL PROTECTED] [EMAIL PROTECTED] Unless required by applicable law or agreed to in writing, software [EMAIL PROTECTED] distributed under the License is distributed on an "AS IS" BASIS, [EMAIL PROTECTED] WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. [EMAIL PROTECTED] See the License for the specific language governing permissions and [EMAIL PROTECTED] limitations under the License. [EMAIL PROTECTED] +REM +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. +REM -MKDIR target +mkdir target %JAVA_HOME%\bin\java -cp .\lib\junit-3.8.1.jar;.\lib\exec-test-1.0-SNAPSHOT.jar;.\lib\exec-1.0-SNAPSHOT.jar org.apache.commons.exec.TestRunner Modified: commons/sandbox/exec/trunk/src/test/bin/testme.sh URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/bin/testme.sh?rev=645894&r1=645893&r2=645894&view=diff ============================================================================== --- commons/sandbox/exec/trunk/src/test/bin/testme.sh (original) +++ commons/sandbox/exec/trunk/src/test/bin/testme.sh Tue Apr 8 06:06:30 2008 @@ -18,4 +18,5 @@ # chmod ug+x ./src/test/scripts/*.sh -$JAVA_HOME/bin/java -cp ./lib/junit-3.8.1.jar:./lib/exec-test-1.0-SNAPSHOT.jar:./lib/exec-1.0-SNAPSHOT.jar org.apache.commons.exec.TestRunner \ No newline at end of file +mkdir target +$JAVA_HOME/bin/java -Dorg.apache.commons.exec.lenient=false -Dorg.apache.commons.exec.debug=false -cp ./lib/junit-3.8.1.jar:./lib/exec-test-1.0-SNAPSHOT.jar:./lib/exec-1.0-SNAPSHOT.jar org.apache.commons.exec.TestRunner \ No newline at end of file