> On Thu, 15 Jul 2004 17:11:48 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> > I've actually just found a limitation of the "happens to work" 
> > approach, which is that it stops (quite understandably) at the first 
> > space in the existing java.library.path value.
> > 
> > Which given MS's predilection for C:\Program Files\... is generally 
> > well before the end, and so causes problems for some of the guys on my 
> > team.  Now obviously they can re-order things in their path and change 
> > the values to Progra~1 etc, but it would be good to have a "proper" 
> > solution to this.
> > 
> > Can anyone suggest what we could pass via maven.junit.jvmargs to 
> > achieve what we need?

> If you could post something showing how just defining the
java.library.path to maven.junit.sysproperties and not using it's value > >
fails, I might be able to help.

> Is it possible to run maven -X and post the relevant section?


Sure.  To simplify things I just created a new project using genapp and
added this to AppTest.java:

        static
        {
                System.out.println("Path: " +
System.getProperty("java.library.path"));   
        }

Then created a project.properties containing:
maven.junit.fork=true
maven.tcw.path=C:/;${basedir}/bobbins

Run 1, with properties:
java.library.path=${maven.tcw.path}
maven.junit.sysproperties=java.library.path

Output: "Path:
C:\Progra~1\Java\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\sys
tem32;..."
(Maven -X output listed at end of mail)

Run 2, with property:
maven.junit.sysproperties=java.library.path=${maven.tcw.path}

Output: "Path: C:/;C:\Maven\JNITest/bobbins="

This is the same behaviour as I had with the projects in my original post,
so the inheritance used in that doesn't seem to be part of the problem

thanks

James



Run 1 - "maven -X test"

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Initializing Plugins!
Set plugin source directory to C:\Program Files\Apache Software
Foundation\Maven 1.0\plugins
Set unpacked plugin directory to c:\Temp\.maven\cache
Set user plugin directory to c:\Temp\.maven\plugins
Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-scm-plugin-1.4'
Loading plugin 'maven-cruisecontrol-plugin-1.4'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-ear-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.1'
Loading plugin 'maven-jellydoc-plugin-1.3'
Loading plugin 'maven-war-plugin-1.6'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-checkstyle-plugin-2.4.1'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.7'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-linkcheck-plugin-1.3.2'
Loading plugin 'maven-changes-plugin-1.5'
Loading plugin 'maven-javadoc-plugin-1.6.1'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.7'
Loading plugin 'maven-plugin-plugin-1.5.1'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.1'
Loading plugin 'maven-release-plugin-1.4'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.2'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-eclipse-plugin-1.7'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-j2ee-plugin-1.5'
Loading plugin 'maven-file-activity-plugin-1.5'
Loading plugin 'maven-clover-plugin-1.5'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-dashboard-plugin-1.3'
Loading plugin 'maven-jar-plugin-1.6'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-developer-activity-plugin-1.5'
Loading plugin 'maven-abbot-plugin-1.0'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-multiproject-plugin-1.3.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6'
Loading plugin 'maven-pmd-plugin-1.5'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.1.1'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.1'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-java-plugin-1.4'
Loading plugin 'maven-pdf-plugin-2.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3'
Loading plugin 'maven-jnlp-plugin-1.4'
Loading plugin 'maven-html2xdoc-plugin-1.3'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-hibernate-plugin-1.1'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile: C:\Maven\JNITest\project.properties
Using projectBuildPropertiesFile: C:\Maven\JNITest\build.properties
Verifying dependencies for jnitest:jnitest
[DEBUG] Adding reference: maven.dependency.classpath -> 
running script null
    [available] [VERBOSE] Found: src\java
    [available] [VERBOSE] Found: src\test
[DEBUG] Adding reference: maven-classpath -> 
[DEBUG] Adding reference: maven.compile.src.set -> 
[DEBUG] Adding reference: maven.test.compile.src.set -> 
Processing dependencies for project JNI Test; classloader
[ForeheadClassLoader: name="root.maven"]
preparing goal: build:start
execution chain: [[Goal: name="build:start"]; precursor=[]]]
final list of plugins to prepare: []
preparing goal: test
execution chain: [[Goal: name="java:prepare-filesystem"]; precursor=[]],
[Goal: name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="java:jar-resources"]; precursor=[]], [Goal: name="java:compile"];
precursor=[[Goal: name="java:prepare-filesystem"]; precursor=[]]]], [Goal:
name="test:compile"]; precursor=[[Goal: name="java:compile"];
precursor=[[Goal: name="java:prepare-filesystem"]; precursor=[]]]], [Goal:
name="java:jar-resources"]; precursor=[]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]]]], [Goal:
name="test:test"]; precursor=[[Goal: name="test:compile"]; precursor=[[Goal:
name="java:compile"]; precursor=[[Goal: name="java:prepare-filesystem"];
precursor=[]]]], [Goal: name="java:jar-resources"]; precursor=[]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]]]]]], [Goal: name="test"];
precursor=[[Goal: name="test:test"]; precursor=[[Goal: name="test:compile"];
precursor=[[Goal: name="java:compile"]; precursor=[[Goal:
name="java:prepare-filesystem"]; precursor=[]]]], [Goal:
name="java:jar-resources"]; precursor=[]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]]]]]]]]]
goal java:compile has preGoal decorators [
 source = c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\plugin.jelly
 project = null
 script = null]
final list of plugins to prepare: [
 source = c:\Temp\.maven\cache\maven-java-plugin-1.4\plugin.jelly
 project = null
 script = null, 
 source = c:\Temp\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
 project = null
 script = null, 
 source = c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\plugin.jelly
 project = null
 script = null]
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile:
c:\Temp\.maven\cache\maven-java-plugin-1.4\project.properties
Using projectBuildPropertiesFile:
c:\Temp\.maven\cache\maven-java-plugin-1.4\build.properties
initialising plugin housing: Maven Java Plug-in
running script c:\Temp\.maven\cache\maven-java-plugin-1.4\plugin.jelly
Verifying dependencies for maven-java-plugin:maven-java-plugin
Processing dependencies for project Maven Java Plug-in; classloader
[ForeheadClassLoader: name="root.maven"]
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile:
c:\Temp\.maven\cache\maven-test-plugin-1.6.2\project.properties
Using projectBuildPropertiesFile:
c:\Temp\.maven\cache\maven-test-plugin-1.6.2\build.properties
initialising plugin housing: Maven Test Plug-in
running script c:\Temp\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
Verifying dependencies for maven-test-plugin:maven-test-plugin
Processing dependencies for project Maven Test Plug-in; classloader
[ForeheadClassLoader: name="root.maven"]
DEPRECATION: junit:junit in project maven-test-plugin:maven-test-plugin
forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency c:\Temp\.maven\repository\junit\jars\junit-3.8.1.jar into
classloader root
DEPRECATION: xml-apis:xml-apis in project
maven-test-plugin:maven-test-plugin forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency
c:\Temp\.maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar into classloader
root
DEPRECATION: xerces:xerces in project maven-test-plugin:maven-test-plugin
forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency c:\Temp\.maven\repository\xerces\jars\xerces-2.4.0.jar
into classloader root
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile:
c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\project.properties
Using projectBuildPropertiesFile:
c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\build.properties
initialising plugin housing: Maven Antlr Plugin
running script c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\plugin.jelly
Verifying dependencies for maven-antlr-plugin:maven-antlr-plugin
Processing dependencies for project Maven Antlr Plugin; classloader
[ForeheadClassLoader: name="root.maven"]
adding dependency
c:\Temp\.maven\repository\commons-jelly\jars\commons-jelly-tags-antlr-200302
11.143720.jar into project classloader
adding dependency
c:\Temp\.maven\repository\commons-lang\jars\commons-lang-2.0.jar into
project classloader
DEPRECATION: antlr:antlr in project maven-antlr-plugin:maven-antlr-plugin
forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency c:\Temp\.maven\repository\antlr\jars\antlr-2.7.2.jar into
classloader root
preparing goal: build:end
execution chain: [[Goal: name="build:end"]; precursor=[]]]
final list of plugins to prepare: []
attaining goal build:start
attaining goal test
build:start:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\Maven\JNITest/target/classes
    [javac] [DEBUG] fileset: Setup scanner in dir C:\Maven\JNITest\src\java
with patternSet{ includes: [] excludes: [**/package.html] }
    [javac] [VERBOSE] com\barcap\jrs\App.java omitted as
com/barcap/jrs/App.class is up to date.

java:jar-resources:
[DEBUG] FileSet: Setup scanner in dir C:\Maven\JNITest\src\conf with
patternSet{ includes: [*.properties] excludes: [] }
[VERBOSE] app.properties omitted as app.properties is up to date.

test:prepare-filesystem:

test:test-resources:

test:compile:
    [javac] [DEBUG] fileset: Setup scanner in dir C:\Maven\JNITest\src\test
with patternSet{ includes: [] excludes: [**/package.html] }
    [javac] [VERBOSE] com\barcap\jrs\AbstractTestCase.java omitted as
com/barcap/jrs/AbstractTestCase.class is up to date.
    [javac] [VERBOSE] com\barcap\jrs\AppTest.java omitted as
com/barcap/jrs/AppTest.class is up to date.
    [javac] [VERBOSE] com\barcap\jrs\NaughtyTest.java omitted as
com/barcap/jrs/NaughtyTest.class is up to date.

test:test:
    [taskdef] [DEBUG] Class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from parent
loader
    [taskdef] [DEBUG]  +User task: junit
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
[DEBUG] Found /c:/Temp/.maven/repository/junit/jars/junit-3.8.1.jar
[DEBUG] Found /C:/Program Files/Apache Software Foundation/Maven
1.0/lib/ant-1.5.3-1.jar
[DEBUG] Found /C:/Program Files/Apache Software Foundation/Maven
1.0/lib/ant-optional-1.5.3-1.jar
    [junit] [DEBUG] fileset: Setup scanner in dir C:\Maven\JNITest\src\test
with patternSet{ includes: [**/*Test.java] excludes: [**/NaughtyTest.java,
**/*AbstractTestCase.java] }
    [junit] [VERBOSE] Implicitly adding
c:\Temp\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Program Files\Apache
Software Foundation\Maven 1.0\lib\ant-1.5.3-1.jar;C:\Program Files\Apache
Software Foundation\Maven 1.0\lib\ant-optional-1.5.3-1.jar to CLASSPATH
    [junit] Running com.barcap.jrs.AppTest
    [junit] [VERBOSE] Executing
'C:\Progra~1\Java\j2sdk1.4.2_04\jre\bin\java.exe' with arguments:
'-Dbasedir=C:\Maven\JNITest'
'-Djava.library.path=C:\Progra~1\Java\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;
C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\Ratio
nal\CLEARC~1\Bin;C:\PROGRA~1\Compaq\COMPAQ~1\Dmi\Win32\Bin;C:\PROGRA~1\MICRO
S~3\common\msdev98\bin;C:\PROGRA~1\MICROS~3\common\tools\WinNT;C:\PROGRA~1\M
ICROS~3\common\tools;C:\PROGRA~1\MICROS~3\vc98\Bin;C:\Apps\ACTIVE~1\Bin;C:\P
ROGRA~1\INTRIN~1\jintegra\bin;C:\Progra~1\Barcla~1\Shared~1;C:\Progra~1\Comm
on~1\STLPort;C:\Progra~1\Rational\common;C:\Progra~1\Rational\ClearQuest;C:\
Progra~1\Oracle\ora81\bin;C:\Progra~1\IBM\WebSphere
MQ\bin;C:\Progra~1\Barcla~1\Utilities;C:\Progra~1\mksnt;C:\Progra~1\Iris\bin
;C:\jwsdp-1.1\jwsdp-shared\bin;C:\jwsdp-1.3\jwsdp-shared\bin;C:\APPS\SYBASE\
DLL;C:\APPS\SYBASE\BIN;C:\Progra~1\ORANT;C:\Progra~1\ORANT\bin;C:\Progra~1\G
VTR;c:\Progra~1\sqlany50\win32;C:\APPS\sybtools\WIN32;C:\APPS\sybtools\ASEP;
C:\Progra~1\Microsoft SQL
Server\80\Tools\BINN;C:\Progra~1\Java\j2sdk1.4.2_04\bin;C:\Program
Files\Apache Software Foundation\Maven
1.0\bin;c:\Progra~1\MICROS~1.1\SDK\v1.1\Bin'
'-classpath'
'C:\Maven\JNITest\target\test-classes;C:\Maven\JNITest\target\classes;C:\Tem
p\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Temp\.maven\repository\xml
-apis\jars\xml-apis-1.0.b2.jar;C:\Temp\.maven\repository\xerces\jars\xerces-
2.4.0.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-1.5.3-1.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-optional-1.5.3-1.jar'
'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
'com.barcap.jrs.AppTest'
'filtertrace=true'
'haltOnError=false'
'haltOnFailure=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFo
rmatter'
'showoutput=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormat
ter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.xml'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultForm
atter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.txt'
'propsfile=C:\Maven\JNITest\junit489934905.properties'

The ' characters around the executable and arguments are
not part of the command.

    [junit] [DEBUG] Execute:Java13CommandLauncher: Executing
'C:\Progra~1\Java\j2sdk1.4.2_04\jre\bin\java.exe' with arguments:
'-Dbasedir=C:\Maven\JNITest'
'-Djava.library.path=C:\Progra~1\Java\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;
C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\Ratio
nal\CLEARC~1\Bin;C:\PROGRA~1\Compaq\COMPAQ~1\Dmi\Win32\Bin;C:\PROGRA~1\MICRO
S~3\common\msdev98\bin;C:\PROGRA~1\MICROS~3\common\tools\WinNT;C:\PROGRA~1\M
ICROS~3\common\tools;C:\PROGRA~1\MICROS~3\vc98\Bin;C:\Apps\ACTIVE~1\Bin;C:\P
ROGRA~1\INTRIN~1\jintegra\bin;C:\Progra~1\Barcla~1\Shared~1;C:\Progra~1\Comm
on~1\STLPort;C:\Progra~1\Rational\common;C:\Progra~1\Rational\ClearQuest;C:\
Progra~1\Oracle\ora81\bin;C:\Progra~1\IBM\WebSphere
MQ\bin;C:\Progra~1\Barcla~1\Utilities;C:\Progra~1\mksnt;C:\Progra~1\Iris\bin
;C:\jwsdp-1.1\jwsdp-shared\bin;C:\jwsdp-1.3\jwsdp-shared\bin;C:\APPS\SYBASE\
DLL;C:\APPS\SYBASE\BIN;C:\Progra~1\ORANT;C:\Progra~1\ORANT\bin;C:\Progra~1\G
VTR;c:\Progra~1\sqlany50\win32;C:\APPS\sybtools\WIN32;C:\APPS\sybtools\ASEP;
C:\Progra~1\Microsoft SQL
Server\80\Tools\BINN;C:\Progra~1\Java\j2sdk1.4.2_04\bin;C:\Program
Files\Apache Software Foundation\Maven
1.0\bin;c:\Progra~1\MICROS~1.1\SDK\v1.1\Bin'
'-classpath'
'C:\Maven\JNITest\target\test-classes;C:\Maven\JNITest\target\classes;C:\Tem
p\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Temp\.maven\repository\xml
-apis\jars\xml-apis-1.0.b2.jar;C:\Temp\.maven\repository\xerces\jars\xerces-
2.4.0.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-1.5.3-1.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-optional-1.5.3-1.jar'
'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
'com.barcap.jrs.AppTest'
'filtertrace=true'
'haltOnError=false'
'haltOnFailure=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFo
rmatter'
'showoutput=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormat
ter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.xml'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultForm
atter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.txt'
'propsfile=C:\Maven\JNITest\junit489934905.properties'

The ' characters around the executable and arguments are
not part of the command.

    [junit] Path:
C:\Progra~1\Java\j2sdk1.4.2_04\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\sys
tem32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\Rational\CLEARC~1\Bin;C:\P
ROGRA~1\Compaq\COMPAQ~1\Dmi\Win32\Bin;C:\PROGRA~1\MICROS~3\common\msdev98\bi
n;C:\PROGRA~1\MICROS~3\common\tools\WinNT;C:\PROGRA~1\MICROS~3\common\tools;
C:\PROGRA~1\MICROS~3\vc98\Bin;C:\Apps\ACTIVE~1\Bin;C:\PROGRA~1\INTRIN~1\jint
egra\bin;C:\Progra~1\Barcla~1\Shared~1;C:\Progra~1\Common~1\STLPort;C:\Progr
a~1\Rational\common;C:\Progra~1\Rational\ClearQuest;C:\Progra~1\Oracle\ora81
\bin;C:\Progra~1\IBM\WebSphere
MQ\bin;C:\Progra~1\Barcla~1\Utilities;C:\Progra~1\mksnt;C:\Progra~1\Iris\bin
;C:\jwsdp-1.1\jwsdp-shared\bin;C:\jwsdp-1.3\jwsdp-shared\bin;C:\APPS\SYBASE\
DLL;C:\APPS\SYBASE\BIN;C:\Progra~1\ORANT;C:\Progra~1\ORANT\bin;C:\Progra~1\G
VTR;c:\Progra~1\sqlany50\win32;C:\APPS\sybtools\WIN32;C:\APPS\sybtools\ASEP;
C:\Progra~1\Microsoft SQL
Server\80\Tools\BINN;C:\Progra~1\Java\j2sdk1.4.2_04\bin;C:\Program
Files\Apache Software Foundation\Maven
1.0\bin;c:\Progra~1\MICROS~1.1\SDK\v1.1\Bin
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.546 sec
attaining goal build:end
BUILD SUCCESSFUL
Final Memory: 2M/4M
Total time: 6 seconds
Finished at: Mon Jul 19 08:44:16 BST 2004

---------------------------------

Run 2 - maven -X test

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Initializing Plugins!
Set plugin source directory to C:\Program Files\Apache Software
Foundation\Maven 1.0\plugins
Set unpacked plugin directory to c:\Temp\.maven\cache
Set user plugin directory to c:\Temp\.maven\plugins
Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-scm-plugin-1.4'
Loading plugin 'maven-cruisecontrol-plugin-1.4'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-ear-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.1'
Loading plugin 'maven-jellydoc-plugin-1.3'
Loading plugin 'maven-war-plugin-1.6'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-checkstyle-plugin-2.4.1'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.7'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-linkcheck-plugin-1.3.2'
Loading plugin 'maven-changes-plugin-1.5'
Loading plugin 'maven-javadoc-plugin-1.6.1'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.7'
Loading plugin 'maven-plugin-plugin-1.5.1'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.1'
Loading plugin 'maven-release-plugin-1.4'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.2'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-eclipse-plugin-1.7'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-j2ee-plugin-1.5'
Loading plugin 'maven-file-activity-plugin-1.5'
Loading plugin 'maven-clover-plugin-1.5'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-dashboard-plugin-1.3'
Loading plugin 'maven-jar-plugin-1.6'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-developer-activity-plugin-1.5'
Loading plugin 'maven-abbot-plugin-1.0'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-multiproject-plugin-1.3.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6'
Loading plugin 'maven-pmd-plugin-1.5'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.1.1'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.1'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-java-plugin-1.4'
Loading plugin 'maven-pdf-plugin-2.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3'
Loading plugin 'maven-jnlp-plugin-1.4'
Loading plugin 'maven-html2xdoc-plugin-1.3'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-hibernate-plugin-1.1'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile: C:\Maven\JNITest\project.properties
Using projectBuildPropertiesFile: C:\Maven\JNITest\build.properties
Verifying dependencies for jnitest:jnitest
[DEBUG] Adding reference: maven.dependency.classpath -> 
running script null
    [available] [VERBOSE] Found: src\java
    [available] [VERBOSE] Found: src\test
[DEBUG] Adding reference: maven-classpath -> 
[DEBUG] Adding reference: maven.compile.src.set -> 
[DEBUG] Adding reference: maven.test.compile.src.set -> 
Processing dependencies for project JNI Test; classloader
[ForeheadClassLoader: name="root.maven"]
preparing goal: build:start
execution chain: [[Goal: name="build:start"]; precursor=[]]]
final list of plugins to prepare: []
preparing goal: test
execution chain: [[Goal: name="java:prepare-filesystem"]; precursor=[]],
[Goal: name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="java:jar-resources"]; precursor=[]], [Goal: name="java:compile"];
precursor=[[Goal: name="java:prepare-filesystem"]; precursor=[]]]], [Goal:
name="test:compile"]; precursor=[[Goal: name="java:compile"];
precursor=[[Goal: name="java:prepare-filesystem"]; precursor=[]]]], [Goal:
name="java:jar-resources"]; precursor=[]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]]]], [Goal:
name="test:test"]; precursor=[[Goal: name="test:compile"]; precursor=[[Goal:
name="java:compile"]; precursor=[[Goal: name="java:prepare-filesystem"];
precursor=[]]]], [Goal: name="java:jar-resources"]; precursor=[]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]]]]]], [Goal: name="test"];
precursor=[[Goal: name="test:test"]; precursor=[[Goal: name="test:compile"];
precursor=[[Goal: name="java:compile"]; precursor=[[Goal:
name="java:prepare-filesystem"]; precursor=[]]]], [Goal:
name="java:jar-resources"]; precursor=[]], [Goal:
name="test:prepare-filesystem"]; precursor=[]], [Goal:
name="test:test-resources"]; precursor=[[Goal:
name="test:prepare-filesystem"]; precursor=[]]]]]]]]]]]
goal java:compile has preGoal decorators [
 source = c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\plugin.jelly
 project = null
 script = null]
final list of plugins to prepare: [
 source = c:\Temp\.maven\cache\maven-java-plugin-1.4\plugin.jelly
 project = null
 script = null, 
 source = c:\Temp\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
 project = null
 script = null, 
 source = c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\plugin.jelly
 project = null
 script = null]
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile:
c:\Temp\.maven\cache\maven-java-plugin-1.4\project.properties
Using projectBuildPropertiesFile:
c:\Temp\.maven\cache\maven-java-plugin-1.4\build.properties
initialising plugin housing: Maven Java Plug-in
running script c:\Temp\.maven\cache\maven-java-plugin-1.4\plugin.jelly
Verifying dependencies for maven-java-plugin:maven-java-plugin
Processing dependencies for project Maven Java Plug-in; classloader
[ForeheadClassLoader: name="root.maven"]
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile:
c:\Temp\.maven\cache\maven-test-plugin-1.6.2\project.properties
Using projectBuildPropertiesFile:
c:\Temp\.maven\cache\maven-test-plugin-1.6.2\build.properties
initialising plugin housing: Maven Test Plug-in
running script c:\Temp\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
Verifying dependencies for maven-test-plugin:maven-test-plugin
Processing dependencies for project Maven Test Plug-in; classloader
[ForeheadClassLoader: name="root.maven"]
DEPRECATION: junit:junit in project maven-test-plugin:maven-test-plugin
forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency c:\Temp\.maven\repository\junit\jars\junit-3.8.1.jar into
classloader root
DEPRECATION: xml-apis:xml-apis in project
maven-test-plugin:maven-test-plugin forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency
c:\Temp\.maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar into classloader
root
DEPRECATION: xerces:xerces in project maven-test-plugin:maven-test-plugin
forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency c:\Temp\.maven\repository\xerces\jars\xerces-2.4.0.jar
into classloader root
Using userBuildPropertiesFile: C:\Documents and
Settings\shutej\build.properties
Using projectPropertiesFile:
c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\project.properties
Using projectBuildPropertiesFile:
c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\build.properties
initialising plugin housing: Maven Antlr Plugin
running script c:\Temp\.maven\cache\maven-antlr-plugin-1.2.1\plugin.jelly
Verifying dependencies for maven-antlr-plugin:maven-antlr-plugin
Processing dependencies for project Maven Antlr Plugin; classloader
[ForeheadClassLoader: name="root.maven"]
adding dependency
c:\Temp\.maven\repository\commons-jelly\jars\commons-jelly-tags-antlr-200302
11.143720.jar into project classloader
adding dependency
c:\Temp\.maven\repository\commons-lang\jars\commons-lang-2.0.jar into
project classloader
DEPRECATION: antlr:antlr in project maven-antlr-plugin:maven-antlr-plugin
forces the classloader 'root'
             This behaviour is deprecated. Please refer to the FAQ
poking dependency c:\Temp\.maven\repository\antlr\jars\antlr-2.7.2.jar into
classloader root
preparing goal: build:end
execution chain: [[Goal: name="build:end"]; precursor=[]]]
final list of plugins to prepare: []
attaining goal build:start
attaining goal test
build:start:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\Maven\JNITest/target/classes
    [javac] [DEBUG] fileset: Setup scanner in dir C:\Maven\JNITest\src\java
with patternSet{ includes: [] excludes: [**/package.html] }
    [javac] [VERBOSE] com\barcap\jrs\App.java omitted as
com/barcap/jrs/App.class is up to date.

java:jar-resources:
[DEBUG] FileSet: Setup scanner in dir C:\Maven\JNITest\src\conf with
patternSet{ includes: [*.properties] excludes: [] }
[VERBOSE] app.properties omitted as app.properties is up to date.

test:prepare-filesystem:

test:test-resources:

test:compile:
    [javac] [DEBUG] fileset: Setup scanner in dir C:\Maven\JNITest\src\test
with patternSet{ includes: [] excludes: [**/package.html] }
    [javac] [VERBOSE] com\barcap\jrs\AbstractTestCase.java omitted as
com/barcap/jrs/AbstractTestCase.class is up to date.
    [javac] [VERBOSE] com\barcap\jrs\AppTest.java omitted as
com/barcap/jrs/AppTest.class is up to date.
    [javac] [VERBOSE] com\barcap\jrs\NaughtyTest.java omitted as
com/barcap/jrs/NaughtyTest.class is up to date.

test:test:
    [taskdef] [DEBUG] Class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from parent
loader
    [taskdef] [DEBUG]  +User task: junit
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
[DEBUG] Found /c:/Temp/.maven/repository/junit/jars/junit-3.8.1.jar
[DEBUG] Found /C:/Program Files/Apache Software Foundation/Maven
1.0/lib/ant-1.5.3-1.jar
[DEBUG] Found /C:/Program Files/Apache Software Foundation/Maven
1.0/lib/ant-optional-1.5.3-1.jar
    [junit] [DEBUG] fileset: Setup scanner in dir C:\Maven\JNITest\src\test
with patternSet{ includes: [**/*Test.java] excludes: [**/NaughtyTest.java,
**/*AbstractTestCase.java] }
    [junit] [VERBOSE] Implicitly adding
c:\Temp\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Program Files\Apache
Software Foundation\Maven 1.0\lib\ant-1.5.3-1.jar;C:\Program Files\Apache
Software Foundation\Maven 1.0\lib\ant-optional-1.5.3-1.jar to CLASSPATH
    [junit] Running com.barcap.jrs.AppTest
    [junit] [VERBOSE] Executing
'C:\Progra~1\Java\j2sdk1.4.2_04\jre\bin\java.exe' with arguments:
'-Dbasedir=C:\Maven\JNITest'
'-Djava.library.path=C:/;C:\Maven\JNITest/bobbins='
'-classpath'
'C:\Maven\JNITest\target\test-classes;C:\Maven\JNITest\target\classes;C:\Tem
p\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Temp\.maven\repository\xml
-apis\jars\xml-apis-1.0.b2.jar;C:\Temp\.maven\repository\xerces\jars\xerces-
2.4.0.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-1.5.3-1.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-optional-1.5.3-1.jar'
'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
'com.barcap.jrs.AppTest'
'filtertrace=true'
'haltOnError=false'
'haltOnFailure=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFo
rmatter'
'showoutput=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormat
ter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.xml'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultForm
atter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.txt'
'propsfile=C:\Maven\JNITest\junit2014826408.properties'

The ' characters around the executable and arguments are
not part of the command.

    [junit] [DEBUG] Execute:Java13CommandLauncher: Executing
'C:\Progra~1\Java\j2sdk1.4.2_04\jre\bin\java.exe' with arguments:
'-Dbasedir=C:\Maven\JNITest'
'-Djava.library.path=C:/;C:\Maven\JNITest/bobbins='
'-classpath'
'C:\Maven\JNITest\target\test-classes;C:\Maven\JNITest\target\classes;C:\Tem
p\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Temp\.maven\repository\xml
-apis\jars\xml-apis-1.0.b2.jar;C:\Temp\.maven\repository\xerces\jars\xerces-
2.4.0.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-1.5.3-1.jar;C:\Program Files\Apache Software Foundation\Maven
1.0\lib\ant-optional-1.5.3-1.jar'
'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
'com.barcap.jrs.AppTest'
'filtertrace=true'
'haltOnError=false'
'haltOnFailure=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFo
rmatter'
'showoutput=false'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormat
ter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.xml'
'formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultForm
atter,C:\Maven\JNITest\target\test-reports\TEST-com.barcap.jrs.AppTest.txt'
'propsfile=C:\Maven\JNITest\junit2014826408.properties'

The ' characters around the executable and arguments are
not part of the command.

    [junit] Path: C:/;C:\Maven\JNITest/bobbins=
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.625 sec
attaining goal build:end
BUILD SUCCESSFUL
Final Memory: 2M/4M
Total time: 8 seconds
Finished at: Mon Jul 19 08:44:39 BST 2004




------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.

------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to