Classpath size limit. java.io.IOException: CreateProcess

2004-12-02 Thread David Puiggros
I'm running maven in WindowsXp and i'm suffering that error when i fork
junit tests.

I suppose that the classpath is truncated due to some kind of limit in
argument
size of CreateProcess.

Can I bypass this problem?

Thanks,


BUILD FAILED
File.. C:\Documents and
Settings\DAVID.AIA_NT\.maven\cache\maven-test-plugin
-1.6.2\plugin.jelly
Element... junit
Line.. 133
Column 41
Process fork failed.
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[test:test] --
 C:\Documents and
Settings\DAVID.AIA_NT\.maven\cache\maven-test-plugin-1.6.2\plu
gin.jelly:133:41:  Process fork failed.
.
.
.
.
Caused by: java.io.IOException: CreateProcess:
C:\Apl\j2sdk1.4.2_04\jre\bin\java
.exe -Dbasedir=c:\projects\cons\gn\angasdom -classpath
"C:\projects\cons\gn\anga
sdom\target\test-classes;C:\projects\cons\gn\angasdom\target\classes;C:\Docu
ment
s and
Settings\DAVID.AIA_NT\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Docu
ments and
Settings\DAVID.AIA_NT\.maven\repository\commons-digester\jars\commons-
digester-1.5.jar;C:\Documents and
Settings\DAVID.AIA_NT\.maven\repository\common
s-cli\jars\commons-cli-1.0.jar;C:\Documents and
Settings\DAVID.AIA_NT\.maven\rep
ository\commons-beanutils\jars\commons-beanutils-1.6.1.jar;C:\Documents and
Sett
ings\DAVID.AIA_NT\.maven\repository\commons-collections\jars\commons-collect
ions
-2.1.jar;C:\Documents and
Settings\DAVID.AIA_NT\.maven\repository\commons-loggin
g\jars\commons-logging-1.0.2.jar;C:\Documents and
Settings\DAVID.AIA_NT\.maven\r
epository\hibernate\jars\hibernate-2.1.6.jar;C:\Documents and
Settings\DAVID.AIA
_NT\.maven\repository\commons-lang\jars\commons-lang-2.0.jar;C:\Documents
and Se
ttings\DAVID.AIA?

___


David Puiggròs Figueras
Aplicaciones en Informática Avanzada S.A.
Artesans, 10 
Parc Tecnològic del Vallès
08290, Cerdanyola, Barcelona
Telfs: 935.044.900 / Fax: 935.802.188
e-mail: [EMAIL PROTECTED]
 

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



Effects of maven

2004-12-02 Thread jmutonho





Non technical maven questions:

Q1) How has Maven affected your development team ?

Q2)What were the responses of other members of your development team
to the use of Maven as the build tool?

Q3)How did you coordinate the integration/use of JUnit tests into the
project , since such unit tests have to be specified in the each
project's project.xml file?

Q4)What documentation did you find more useful to be generated for
your project's website and how did it improve the development work of
your team?


Many thanks

Jeff

Registered Linux user number 366042




This e-mail is intended exclusively for the addressee.
If you are not the addressee you must not read, copy, use or disclose
the e-mail nor the content; please notify us immediately (by clicking "Reply") 
and delete this e-mail.

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



Re: Putting maven on unix with $HOME is shared - dilemma?

2004-12-02 Thread Brett Porter
I've just slated it for 1.1-beta-1.

- Brett


On Thu, 2 Dec 2004 18:56:44 -0800, dan tran <[EMAIL PROTECTED]> wrote:
> Will this problem addressed in 1.1 or 2.0?
> 
> 
> 
> -Dan
> 
> On Fri, 3 Dec 2004 10:25:01 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> > Yes, that will still be a problem as we haven't introduced the
> > temporary file handling/locking.
> >
> > - Brett
> >
> >
> >
> >
> > On Thu, 2 Dec 2004 15:05:10 -0800, dan tran <[EMAIL PROTECTED]> wrote:
> > > Thanks Brett
> > >
> > > What bout the case where I have share $HOME and paralle builds on
> > > multiple hosts happen to download the same artifacts?  That would be
> > > collision. isn't it?
> > > What is the best approach?
> > >
> > > Many thanks again.
> > >
> > > -Dan
> > >
> > >
> > >
> > >
> > > On Fri, 3 Dec 2004 08:57:17 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > > >   1.  Since I have no access to other directory except $HOME, 
> > > > > therefore
> > > > >I need to install it some where in $HOME, what happens if have
> > > > >multiple maven builds in paralelle on mulitple host sharing 
> > > > > the same
> > > > >maven installation?
> > > >
> > > > It should work just fine.
> > > >
> > > > The only thing to watch out for is that you don't install new plugins
> > > > using plugin:install/download while a build is running as it will
> > > > delete files from ~/.maven/cache that might be in use.
> > > >
> > > > >
> > > > >   2.  Can I make maven install shared for every one on same host?
> > > > >I doubt that it is possible since maven need to modify
> > > > >$MAVEN_HOME/plugins dir
> > > > >
> > > >
> > > > You don't have to be able to write to the plugins directory. Users can
> > > > put their new plugins in their own ~/.maven/plugins.
> > > >
> > > > The only problem is that at present plugin:install and plugin:download
> > > > don't have semantics to do this for you.
> > > >
> > > > - Brett
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> 
> -
> 
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Putting maven on unix with $HOME is shared - dilemma?

2004-12-02 Thread dan tran
Will this problem addressed in 1.1 or 2.0?

-Dan



On Fri, 3 Dec 2004 10:25:01 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> Yes, that will still be a problem as we haven't introduced the
> temporary file handling/locking.
> 
> - Brett
> 
> 
> 
> 
> On Thu, 2 Dec 2004 15:05:10 -0800, dan tran <[EMAIL PROTECTED]> wrote:
> > Thanks Brett
> >
> > What bout the case where I have share $HOME and paralle builds on
> > multiple hosts happen to download the same artifacts?  That would be
> > collision. isn't it?
> > What is the best approach?
> >
> > Many thanks again.
> >
> > -Dan
> >
> >
> >
> >
> > On Fri, 3 Dec 2004 08:57:17 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > >   1.  Since I have no access to other directory except $HOME, therefore
> > > >I need to install it some where in $HOME, what happens if have
> > > >multiple maven builds in paralelle on mulitple host sharing the 
> > > > same
> > > >maven installation?
> > >
> > > It should work just fine.
> > >
> > > The only thing to watch out for is that you don't install new plugins
> > > using plugin:install/download while a build is running as it will
> > > delete files from ~/.maven/cache that might be in use.
> > >
> > > >
> > > >   2.  Can I make maven install shared for every one on same host?
> > > >I doubt that it is possible since maven need to modify
> > > >$MAVEN_HOME/plugins dir
> > > >
> > >
> > > You don't have to be able to write to the plugins directory. Users can
> > > put their new plugins in their own ~/.maven/plugins.
> > >
> > > The only problem is that at present plugin:install and plugin:download
> > > don't have semantics to do this for you.
> > >
> > > - Brett
> > >
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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



Re: running a separate set of tests other than the unitTests

2004-12-02 Thread Brett Porter
jcoverage is pretty tricky to use. You really have to fork your tests
because it does all its stuff with a system shutdown hook. It could
definitely be improved, but the project there seems dead.

I'd recommend setting up a separate project that contains the
functional tests and includes the code as a dependency, then test:test
should do what you need on that project so jcoverage should work

clover works a bit better in this regard, so you might like to
investigate it (though you have to buy it after trying it).

HTH,
Brett

On Thu, 02 Dec 2004 16:25:58 -0800, Tim Brazil <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I am new to the list and also new to Maven. I have unitTests setup and
> running well however I also want to have a separate goal that will run
> my functional tests (in conjunction with jcoverage). I currently have a
> cludge in my maven.xml which defines a test:functional goal. This starts
> my application and runs test:match against my FuncTest.
> 
>   
> 
>   
> 
> 
> 
> 
> 
>   
> 
> I want to be able to have a separate goal that will execute my tests
> using jcoverage. It is not clear to me how to do this since running the
> jcoverage goal runs off the unitTest entries in the product.xml. I'm
> quite understanding everything in the jcoverage plugin.jelly. I read
> about some discussions on this list (dated 2003) related to
> integrationUnitTest. Has anyone had to solve a similar problem? How did
> you accomplish this?
> 
> Thanks
> Tim
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



running a separate set of tests other than the unitTests

2004-12-02 Thread Tim Brazil
Hi
I am new to the list and also new to Maven. I have unitTests setup and 
running well however I also want to have a separate goal that will run 
my functional tests (in conjunction with jcoverage). I currently have a 
cludge in my maven.xml which defines a test:functional goal. This starts 
my application and runs test:match against my FuncTest.

 
   
 
   
   
   
   
   
 

I want to be able to have a separate goal that will execute my tests 
using jcoverage. It is not clear to me how to do this since running the 
jcoverage goal runs off the unitTest entries in the product.xml. I'm 
quite understanding everything in the jcoverage plugin.jelly. I read 
about some discussions on this list (dated 2003) related to 
integrationUnitTest. Has anyone had to solve a similar problem? How did 
you accomplish this?

Thanks
Tim

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


Re: Putting maven on unix with $HOME is shared - dilemma?

2004-12-02 Thread Brett Porter
Yes, that will still be a problem as we haven't introduced the
temporary file handling/locking.

- Brett


On Thu, 2 Dec 2004 15:05:10 -0800, dan tran <[EMAIL PROTECTED]> wrote:
> Thanks Brett
> 
> What bout the case where I have share $HOME and paralle builds on
> multiple hosts happen to download the same artifacts?  That would be
> collision. isn't it?
> What is the best approach?
> 
> Many thanks again.
> 
> -Dan
> 
> 
> 
> 
> On Fri, 3 Dec 2004 08:57:17 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> > >   1.  Since I have no access to other directory except $HOME, therefore
> > >I need to install it some where in $HOME, what happens if have
> > >multiple maven builds in paralelle on mulitple host sharing the 
> > > same
> > >maven installation?
> >
> > It should work just fine.
> >
> > The only thing to watch out for is that you don't install new plugins
> > using plugin:install/download while a build is running as it will
> > delete files from ~/.maven/cache that might be in use.
> >
> > >
> > >   2.  Can I make maven install shared for every one on same host?
> > >I doubt that it is possible since maven need to modify
> > >$MAVEN_HOME/plugins dir
> > >
> >
> > You don't have to be able to write to the plugins directory. Users can
> > put their new plugins in their own ~/.maven/plugins.
> >
> > The only problem is that at present plugin:install and plugin:download
> > don't have semantics to do this for you.
> >
> > - Brett
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Putting maven on unix with $HOME is shared - dilemma?

2004-12-02 Thread dan tran
Thanks Brett

What bout the case where I have share $HOME and paralle builds on
multiple hosts happen to download the same artifacts?  That would be
collision. isn't it?
What is the best approach?

Many thanks again.

-Dan


On Fri, 3 Dec 2004 08:57:17 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> >   1.  Since I have no access to other directory except $HOME, therefore
> >I need to install it some where in $HOME, what happens if have
> >multiple maven builds in paralelle on mulitple host sharing the same
> >maven installation?
> 
> It should work just fine.
> 
> The only thing to watch out for is that you don't install new plugins
> using plugin:install/download while a build is running as it will
> delete files from ~/.maven/cache that might be in use.
> 
> >
> >   2.  Can I make maven install shared for every one on same host?
> >I doubt that it is possible since maven need to modify
> >$MAVEN_HOME/plugins dir
> >
> 
> You don't have to be able to write to the plugins directory. Users can
> put their new plugins in their own ~/.maven/plugins.
> 
> The only problem is that at present plugin:install and plugin:download
> don't have semantics to do this for you.
> 
> - Brett
>

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



Re: Putting maven on unix with $HOME is shared - dilemma?

2004-12-02 Thread Brett Porter
>   1.  Since I have no access to other directory except $HOME, therefore
>I need to install it some where in $HOME, what happens if have
>multiple maven builds in paralelle on mulitple host sharing the same
>maven installation?

It should work just fine.

The only thing to watch out for is that you don't install new plugins
using plugin:install/download while a build is running as it will
delete files from ~/.maven/cache that might be in use.

> 
>   2.  Can I make maven install shared for every one on same host?
>I doubt that it is possible since maven need to modify
>$MAVEN_HOME/plugins dir
> 

You don't have to be able to write to the plugins directory. Users can
put their new plugins in their own ~/.maven/plugins.

The only problem is that at present plugin:install and plugin:download
don't have semantics to do this for you.

- Brett

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



Putting maven on unix with $HOME is shared - dilemma?

2004-12-02 Thread dan tran
Hello,  I am in process of install maven on all my unix boxes and running into
the following  problems which relate to my $HOME is on a shared mount

  1.  Since I have no access to other directory except $HOME, therefore
   I need to install it some where in $HOME, what happens if have
   multiple maven builds in paralelle on mulitple host sharing the same 
   maven installation?

  2.  Can I make maven install shared for every one on same host?
   I doubt that it is possible since maven need to modify 
   $MAVEN_HOME/plugins dir

Advice is greatly appreciated.

-D

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



Re: how to solve the cyclic depedency.

2004-12-02 Thread Brill Pappin
Well, the answer to you question is really an RTFM one but since I don't 
have one for you to read (maybe someone else can point out some good 
resources) and I don't have time to teach simple developer lingo, try 
this instead:
http://en.wikipedia.org/wiki/Agile_software_development
Look up the section "Refactoring".

So what he said was...
if :
MyLib -> depends -> YourLib -> depends -> MyLib etc.
then:
take out the dependencies and put them in another lib:
MyLib -> depends -> OurLib
YourLib -> depends -> OurLib
The meaning of "refactor" in this context can be found at the link above.
- Brill Pappin
rajas kumar wrote:
sorry to say that i can,t under stand your meaning plz give me some more 
details on this issue .Is there any doucumetation specific to solve this 
problem.I am waiting for your reply.
dan tran <[EMAIL PROTECTED]> wrote:Let say A depends on B, B depends on C, and 
C depends and A
Refactor all denpendent classes to another module D
so that
A depends on D
B depends on D 
C depends on D

or something similar.
-D

On Wed, 1 Dec 2004 21:25:18 -0800 (PST), rajas kumar
wrote:
 

Hai,
I am getting a problem with cyclic dependency. How can i solve this problem.
Here is the out put.
BUILD FAILED
File.. file:/E:/mycvs/cfm/pcm/dev/src/com/cfm/pcm/maven.xml
Element... m:reactor
Line.. 234
Column 40
A cycle has been detected from the initial goal [services:services]
Total time: 5 seconds
Finished at: Thu Dec 02 10:51:30 GMT+05:30 2004
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
   

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

		
-
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
 

--
"Any sufficiently advanced magic is indistinguishable from technology."
 - Arthur C Anticlarke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Distribution process [please ...]

2004-12-02 Thread Eric Giguere
Hello
Sure, take a look at the XML taglib of jelly, could help you do it in 
jelly, so in a maven goal.
Otherwise, there is always the possibility of calling a custom written 
Java class using again jelly tags like new, invoke, and so on.

Hope it helps.
Eric
Michael Niemaz wrote:
Could someone please give me a hint?
Michael Niemaz wrote:
Hi all,
  Is it possible to ask maven to modify/create/update download.xml
  so that I could add gzip links.
Thanx,
--mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Distribution process [please ...]

2004-12-02 Thread Michael Niemaz
Could someone please give me a hint?
Michael Niemaz wrote:
Hi all,
  Is it possible to ask maven to modify/create/update download.xml
  so that I could add gzip links.
Thanx,
--mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]