You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Erik Husby <mh...@broad.mit.edu> on 2004/01/08 18:05:43 UTC

Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using 
Compaq Tru64 UNIX V5.1B (Rev. 2650);

Using a shared drive, if I build the project on the Windows XP system, 
it works fine. But if I build, using the same set of files on the Unix 
box, Maven fails to load the JUnitTask as shown below.



--- Unix Maven
107 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common > maven 
test:test
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

java:prepare-filesystem:

java:compile:
    [echo] Compiling to 
/home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes

BUILD FAILED
File...... file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
Element... taskdef
Line...... 89
Column.... 9
taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask 
cannot be found
Total time: 12 seconds
Finished at: Thu Jan 08 11:41:49 EST 2004

7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
108 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common >

--- Windows XP Maven
F:\workarea\SquidBuild\sequence\common>maven test
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download maven-SNAPSHOT.jar.
Overriding previous definition of reference to clover.classpath
java:prepare-filesystem:

java:compile:
    [echo] Compiling to 
F:\workarea\SquidBuild\sequence\common/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
    [junit] Running edu.mit.wi.genome.common.dba.AllTests
    [junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225 sec
----

Its like Maven can't find its jar files. I've verified that 
$MAVEN_HOME/lib contains the same set of jar files on both systems.

Any suggestions on things to look at would be really appreciated.

-- 
Erik Husby
Team Lead for Software Quality Automation
Genome Center at MIT
Rm. 2192
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
mhusby@broad.mit.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

Posted by Erik Husby <mh...@broad.mit.edu>.
I was premature in my report. Maven still doesn't run on Alpha. I've 
tracked the problem down to the maven-xdoc-plugin-1.4/plugin.jelly when 
it tries to register a report  using the <attainGoal 
name="${report}:register">

I suspect the problem is something similar to junit class loading issue 
which necessities the property "maven.junit.fork=yes"

If I run the report register goal directly, maven succeeds. The problem 
occurs when the report registration is called from 
xdoc:register-reports. I.E. "maven maven-junit-report-plugin:register" 
succeeds whereas "maven xdoc:register-reports" fails.

If there is any experienced java developer who would care to comment 
with workaround suggestions, I would appreciate that.

Erik Husby wrote:

> Well, it is obviously a bug in the Alpha JVM. The default JVM is the 
> "fast" one which is known to have some problems with native code (ie. 
> the code that access the file system to find jars and other useful 
> things). So by setting MAVEN_OPTS to "-Xmx256mb -classic", I can force 
> the JVM into classic mode which appears to run.
>
> Erik Husby wrote:
>
>> I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha 
>> using Compaq Tru64 UNIX V5.1B (Rev. 2650);
>>
>> Using a shared drive, if I build the project on the Windows XP 
>> system, it works fine. But if I build, using the same set of files on 
>> the Unix box, Maven fails to load the JUnitTask as shown below.
>>
>>
>>
>> --- Unix Maven
>> 107 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common > 
>> maven test:test
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>>
>> java:prepare-filesystem:
>>
>> java:compile:
>>    [echo] Compiling to 
>> /home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes
>>
>> BUILD FAILED
>> File...... 
>> file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
>> Element... taskdef
>> Line...... 89
>> Column.... 9
>> taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask 
>> cannot be found
>> Total time: 12 seconds
>> Finished at: Thu Jan 08 11:41:49 EST 2004
>>
>> 7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
>> 108 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common >
>>
>> --- Windows XP Maven
>> F:\workarea\SquidBuild\sequence\common>maven test
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>>
>> Attempting to download maven-SNAPSHOT.jar.
>> Overriding previous definition of reference to clover.classpath
>> java:prepare-filesystem:
>>
>> java:compile:
>>    [echo] Compiling to 
>> F:\workarea\SquidBuild\sequence\common/target/classes
>>
>> java:jar-resources:
>>
>> test:prepare-filesystem:
>>
>> test:test-resources:
>>
>> test:compile:
>>
>> test:test:
>>    [junit] Running edu.mit.wi.genome.common.dba.AllTests
>>    [junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225 
>> sec
>> ----
>>
>> Its like Maven can't find its jar files. I've verified that 
>> $MAVEN_HOME/lib contains the same set of jar files on both systems.
>>
>> Any suggestions on things to look at would be really appreciated.
>>
>

-- 
Erik Husby
Team Lead for Software Quality Automation
Genome Center at MIT
Rm. 2192
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
mhusby@broad.mit.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

Posted by Erik Husby <mh...@broad.mit.edu>.
Well, it is obviously a bug in the Alpha JVM. The default JVM is the 
"fast" one which is known to have some problems with native code (ie. 
the code that access the file system to find jars and other useful 
things). So by setting MAVEN_OPTS to "-Xmx256mb -classic", I can force 
the JVM into classic mode which appears to run.

Erik Husby wrote:

> I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha 
> using Compaq Tru64 UNIX V5.1B (Rev. 2650);
>
> Using a shared drive, if I build the project on the Windows XP system, 
> it works fine. But if I build, using the same set of files on the Unix 
> box, Maven fails to load the JUnitTask as shown below.
>
>
>
> --- Unix Maven
> 107 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common > 
> maven test:test
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> java:prepare-filesystem:
>
> java:compile:
>    [echo] Compiling to 
> /home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes
>
> BUILD FAILED
> File...... 
> file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
> Element... taskdef
> Line...... 89
> Column.... 9
> taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask 
> cannot be found
> Total time: 12 seconds
> Finished at: Thu Jan 08 11:41:49 EST 2004
>
> 7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
> 108 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common >
>
> --- Windows XP Maven
> F:\workarea\SquidBuild\sequence\common>maven test
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> Attempting to download maven-SNAPSHOT.jar.
> Overriding previous definition of reference to clover.classpath
> java:prepare-filesystem:
>
> java:compile:
>    [echo] Compiling to 
> F:\workarea\SquidBuild\sequence\common/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>    [junit] Running edu.mit.wi.genome.common.dba.AllTests
>    [junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225 sec
> ----
>
> Its like Maven can't find its jar files. I've verified that 
> $MAVEN_HOME/lib contains the same set of jar files on both systems.
>
> Any suggestions on things to look at would be really appreciated.
>

-- 
Erik Husby
Team Lead for Software Quality Automation
Genome Center at MIT
Rm. 2192
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
mhusby@broad.mit.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

Posted by Jake Ewerdt <ja...@emeta.com>.
The 1.3.1 version included with Tru64 in the /usr/java1.3 directory.

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.3.1-6, native threads, mixed mode, precompiled rt.jar, 07/14/2003-13:20)


On Friday 09 January 2004 09:18 am, Erik Husby wrote:
> What version of the JVM were you using?
>
> I've currently using 1.4.1-1 but I believe I have access to other
> versions which I will be trying today and reporting on.
>
> I don't have the option to move to Linux for this process.
>
> Jake Ewerdt wrote:
> >I had exactly the same problem with Maven (1.0-rc1) and Tru64.  I could
> > run all ant tasks but no ant-optional tasks (junit, chown, replaceregexp,
> > ...). I tried with ant 1.5.4 and 1.6.  Spent a day or so trying to get it
> > to work, and eventually gave up and moved everything over to Linux where
> > it works correctly.
> >
> >I would also be very interested in a solution!
> >
> >-jake
> >
> >On Thursday 08 January 2004 12:05 pm, Erik Husby wrote:
> >>I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using
> >>Compaq Tru64 UNIX V5.1B (Rev. 2650);
> >>
> >>Using a shared drive, if I build the project on the Windows XP system,
> >>it works fine. But if I build, using the same set of files on the Unix
> >>box, Maven fails to load the JUnitTask as shown below.
> >>
> >>
> >>
> >>--- Unix Maven
> >>107 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common > maven
> >>test:test
> >> __  __
> >>
> >>|  \/  |__ _Apache__ ___
> >>|
> >>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> >>|
> >>|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> >>
> >>java:prepare-filesystem:
> >>
> >>java:compile:
> >>    [echo] Compiling to
> >>/home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes
> >>
> >>BUILD FAILED
> >>File......
> >> file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
> >> Element... taskdef
> >>Line...... 89
> >>Column.... 9
> >>taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
> >>cannot be found
> >>Total time: 12 seconds
> >>Finished at: Thu Jan 08 11:41:49 EST 2004
> >>
> >>7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
> >>108 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common >
> >>
> >>--- Windows XP Maven
> >>F:\workarea\SquidBuild\sequence\common>maven test
> >> __  __
> >>
> >>|  \/  |__ _Apache__ ___
> >>|
> >>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> >>|
> >>|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> >>
> >>Attempting to download maven-SNAPSHOT.jar.
> >>Overriding previous definition of reference to clover.classpath
> >>java:prepare-filesystem:
> >>
> >>java:compile:
> >>    [echo] Compiling to
> >>F:\workarea\SquidBuild\sequence\common/target/classes
> >>
> >>java:jar-resources:
> >>
> >>test:prepare-filesystem:
> >>
> >>test:test-resources:
> >>
> >>test:compile:
> >>
> >>test:test:
> >>    [junit] Running edu.mit.wi.genome.common.dba.AllTests
> >>    [junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225
> >> sec ----
> >>
> >>Its like Maven can't find its jar files. I've verified that
> >>$MAVEN_HOME/lib contains the same set of jar files on both systems.
> >>
> >>Any suggestions on things to look at would be really appreciated.
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

Posted by Erik Husby <mh...@broad.mit.edu>.
What version of the JVM were you using?

I've currently using 1.4.1-1 but I believe I have access to other 
versions which I will be trying today and reporting on.

I don't have the option to move to Linux for this process.

Jake Ewerdt wrote:

>I had exactly the same problem with Maven (1.0-rc1) and Tru64.  I could run 
>all ant tasks but no ant-optional tasks (junit, chown, replaceregexp, ...).  
>I tried with ant 1.5.4 and 1.6.  Spent a day or so trying to get it to work, 
>and eventually gave up and moved everything over to Linux where it works 
>correctly.
>
>I would also be very interested in a solution!
>
>-jake
>
>
>On Thursday 08 January 2004 12:05 pm, Erik Husby wrote:
>  
>
>>I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using
>>Compaq Tru64 UNIX V5.1B (Rev. 2650);
>>
>>Using a shared drive, if I build the project on the Windows XP system,
>>it works fine. But if I build, using the same set of files on the Unix
>>box, Maven fails to load the JUnitTask as shown below.
>>
>>
>>
>>--- Unix Maven
>>107 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common > maven
>>test:test
>> __  __
>>
>>|  \/  |__ _Apache__ ___
>>|
>>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>|
>>|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>>
>>java:prepare-filesystem:
>>
>>java:compile:
>>    [echo] Compiling to
>>/home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes
>>
>>BUILD FAILED
>>File...... file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
>>Element... taskdef
>>Line...... 89
>>Column.... 9
>>taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
>>cannot be found
>>Total time: 12 seconds
>>Finished at: Thu Jan 08 11:41:49 EST 2004
>>
>>7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
>>108 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common >
>>
>>--- Windows XP Maven
>>F:\workarea\SquidBuild\sequence\common>maven test
>> __  __
>>
>>|  \/  |__ _Apache__ ___
>>|
>>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>|
>>|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>>
>>Attempting to download maven-SNAPSHOT.jar.
>>Overriding previous definition of reference to clover.classpath
>>java:prepare-filesystem:
>>
>>java:compile:
>>    [echo] Compiling to
>>F:\workarea\SquidBuild\sequence\common/target/classes
>>
>>java:jar-resources:
>>
>>test:prepare-filesystem:
>>
>>test:test-resources:
>>
>>test:compile:
>>
>>test:test:
>>    [junit] Running edu.mit.wi.genome.common.dba.AllTests
>>    [junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225 sec
>>----
>>
>>Its like Maven can't find its jar files. I've verified that
>>$MAVEN_HOME/lib contains the same set of jar files on both systems.
>>
>>Any suggestions on things to look at would be really appreciated.
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>

-- 
Erik Husby
Team Lead for Software Quality Automation
Genome Center at MIT
Rm. 2192
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
mhusby@broad.mit.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

Posted by Jake Ewerdt <ja...@emeta.com>.
I had exactly the same problem with Maven (1.0-rc1) and Tru64.  I could run 
all ant tasks but no ant-optional tasks (junit, chown, replaceregexp, ...).  
I tried with ant 1.5.4 and 1.6.  Spent a day or so trying to get it to work, 
and eventually gave up and moved everything over to Linux where it works 
correctly.

I would also be very interested in a solution!

-jake


On Thursday 08 January 2004 12:05 pm, Erik Husby wrote:
> I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using
> Compaq Tru64 UNIX V5.1B (Rev. 2650);
>
> Using a shared drive, if I build the project on the Windows XP system,
> it works fine. But if I build, using the same set of files on the Unix
> box, Maven fails to load the JUnitTask as shown below.
>
>
>
> --- Unix Maven
> 107 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common > maven
> test:test
>  __  __
>
> |  \/  |__ _Apache__ ___
> |
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> java:prepare-filesystem:
>
> java:compile:
>     [echo] Compiling to
> /home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes
>
> BUILD FAILED
> File...... file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
> Element... taskdef
> Line...... 89
> Column.... 9
> taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
> cannot be found
> Total time: 12 seconds
> Finished at: Thu Jan 08 11:41:49 EST 2004
>
> 7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
> 108 11:41am mhusby@iridium ~/workarea/SquidBuild/sequence/common >
>
> --- Windows XP Maven
> F:\workarea\SquidBuild\sequence\common>maven test
>  __  __
>
> |  \/  |__ _Apache__ ___
> |
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
> Attempting to download maven-SNAPSHOT.jar.
> Overriding previous definition of reference to clover.classpath
> java:prepare-filesystem:
>
> java:compile:
>     [echo] Compiling to
> F:\workarea\SquidBuild\sequence\common/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>     [junit] Running edu.mit.wi.genome.common.dba.AllTests
>     [junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225 sec
> ----
>
> Its like Maven can't find its jar files. I've verified that
> $MAVEN_HOME/lib contains the same set of jar files on both systems.
>
> Any suggestions on things to look at would be really appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org