Re: [FOURTH TIME] Cannot run the site goal - Partly Solved
Hi, I created a new directory structure as suggested, copied project.xml, maven.xml, LICENSE.txt and the properties file, ran the build and site goal and the license report has been generated. However, when I ran my own goal jemos:site I got the error related to the license. So I investigated...and I found something interesting... My original goal was: goal name=jemos:site prereqs=jemos:build, xjavadoc ant:delete failonerror=false includeEmptyDirs=true ant:fileset dir=${upload.webserver} ant:include name=**/*.* / /ant:fileset /ant:delete attainGoal name=site/ ant:copy todir=${upload.webserver} overwrite=true failonerror=false ant:fileset dir=${maven.build.dir}/docs ant:include name=**/*.* / /ant:fileset /ant:copy /goal So I found that the jemos:build caused the problem in object (the license-plugin error). The jemos:build goal is designed as follows: goal name=jemos:build prereqs=jemos:clean maven:reactor basedir=${basedir} includes=*/project.xml excludes=target/** goals= banner=Building: ignoreFailures=false postProcessing=true/ ant:copy todir=${maven.build.dir} j:forEach var=child items=${reactorProjects} ant:fileset dir=${child.file.parentFile}/target ant:include name=${child.artifactId}-${child.currentVersion}.jar/ /ant:fileset /j:forEach /ant:copy /goal Now it happens the strange/interesting thing: If I run: $ maven jemos:build jemos:site I obtain the error. If I run: $ maven jemos:build and then $maven jemos:site everything goes smoothly. Have you got any idea? Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Packaging A Distribution and Deploying To Webserver?
Hi, I would like to be able to package a set of jars, ears, and wars into a .zip and deploy it to my webserver. Also, I would like to have a directory structure as follows: {project_name}/jars/{project_name}-{version}.zip e.g. WebShop/jars/WebShop-0.9.8.zip However, this goal can only be created after all the artifacts have been generated. Thus, is there an example of how to do this? Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new idea on maven usage?
Christian Andersson wrote on Wednesday, January 28, 2004 7:16 PM: Hi there, I think I have a new idea on how to use maven, not just as a build system. Maybe you'll find this interesting: http://blogs.codehaus.org/projects/maven/archives/000268_maven_wagon_has_landed.html :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems with Windows 2000 + proxy server
Yes, indeeed, we have a NTLM-proxy. I believe that's why, regardless of my specifying the maven.proxy.* variables, it wouldn't work. I'll give it a try with this APS proxy server you mentioned. Hope it works. I'll let you know. Thanx!!! -Mensaje original- De: Stoffels, Ralf (FWI-AW2) [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 28 de enero de 2004 18:43 Para: 'Maven Users List' Asunto: AW: Problems with Windows 2000 + proxy server Set maven.prox.host and maven.prox.port in build.properties. If you have an NTLM-proxy install the APS Proxy Server as a proxy for the NTLM-proxy. Ralf -Ursprüngliche Nachricht- Von: Villalba Arias, Fredy [BILBOMATICA] [mailto:[EMAIL PROTECTED] Gesendet am: Mittwoch, 28. Januar 2004 12:46 An: [EMAIL PROTECTED] Betreff: Problems with Windows 2000 + proxy server Hi everybody, I'm new to this mailing list and a newbie to MAVEN so I'll try not to make you waste much time. I just downloaded and installed the product (as specified by the instructions on the official site) without facing any problems. However, I haven't even been able to execute the basic test, java:compile, with a single-class sample project I just created. The problem seems to be that MAVEN is not detecting certaing plugins (/components) and is trying to download them from the remote repository (HYPERLINK http://www.ibiblio.org/www.ibiblio.org). I believe the source of the problem (or at least part of it) relies on my machine being behind a firewall + proxy server, where the proxy is a Windows NT machine. This is the output that I get from executing mavan java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Intentando descargar commons-jelly-tags-antlr-20030211.143720.jar. íATENCION!: íImposible descargar commons-jelly-tags-antlr-20030211.143720.jar! Intentando descargar commons-lang-1.0.1.jar. íATENCION!: íImposible descargar commons-lang-1.0.1.jar! Intentando descargar antlr-2.7.2.jar. íATENCION!: íImposible descargar antlr-2.7.2.jar! íEl proceso no puede seguir! Faltan las siguientes dependencias: commons-jelly-tags-antlr-20030211.143720.jar (no download url specified) commons-lang-1.0.1.jar (no download url specified) antlr-2.7.2.jar (no download url specified) Total time: 9 seconds Finished at: Wed Jan 28 12:12:18 CET 2004 As you can see (sorry, it's in spanish), it tries (and fails) to download commons-jelly-tags-antlr-20030211.143720.jar, commons-lang-1.0.1.jar and antlr-2.7.2.jar. I tried creating a build.properties file with all maven.proxy.* variables defined, but that didn't work either. I've checked all jar files that come with the installation file I just downloaded and none of them are present. Can anyone give me a clue to what may be happening and how can I solve it? (I know there is a maven.repo.remote.enabled flag that I can turn off, but I'd still be missing some components). Thanks in advance, Freddy. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JUnit Report plugin 1.4 release
On Thursday 29 January 2004 06:09, [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the JUnit Report plugin 1.4 release! http://maven.apache.org/reference/plugins/junit-report A plugin for building producing nicely formatted reports from JUnit results. Is it somehow possible to bring the plugin to report into my logfile? I would like that a failed assertion and maybe testcase starts/ends also show up in my log file (I use Log4J) when they occur, since this would ease debugging. Thank you very much for your answer. Ido M. Tamir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ClassNotFoundException with jcoverage
Fixed in CVS. Emmanuel - Original Message - From: Dmitriy Yuriev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 29, 2004 12:44 AM Subject: ClassNotFoundException with jcoverage Greetings. I am getting an java.lang.NoClassDefFoundError: org/w3c/dom/Node Exception while trying to run 'maven jcoverage'. It's happening while 'test:test' goal is run (see stack trace below). However if I run 'test:test' by itself it completes with no problems. Obviously there's a classpath problem but I am not sure what exactly is misconfigured. System setup: jdk 1.3.1_05 ant 1.5.1 Any insight will be greatly appreciated. Thanks. Here's the stack trace. test:test: [junit] Running com.ingrammicro.pricing.admin.bo.TestProductCollection [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:115) [junit] at org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatte r(For matterElement.java:183) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreF ormat ter(JUnitTestRunner.java:562) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR unner .java:507) [junit] Exception in thread main [junit] [ERROR] TEST com.ingrammicro.pricing.admin.bo.TestProductCollection FAILED _ Get a FREE online virus check for your PC here, from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - 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: postgoal problem
Hi Jefferson, Try postGoal instead of postgoal. Jeff thanks, thats the solution, now it works !!! On Wed, 28 Jan 2004, at 13:58:06 [GMT +0100] mruff wrote: hi , if I run the following maven.xml with maven then the postgoal is executed first, I do not have any idea why I would expect, when I call maven that the ctm-buildall goal is executed If I call maven ctm-generatedocs first multiproject is executed and then postgoal for ctm-generatedocs but the behaviour is NOT that way thanks for help ?xml version=1.0 encoding=ISO-8859-1? project default=ctm-buildall xmlns:m=jelly:maven xmlns:j=jelly:core xmlns:u=jelly:util xmlns:ant=jelly:ant goal name=ctm-buildall ant:echolusere home: ${user.home}/ant:echo ant:echolocal repository location: ${maven.repo.local}/ant:echo m:reactor basedir=${basedir} includes=**/project.xml excludes=project.xml goals=ctm-distribution banner=Building ignoreFailures=false/ /goal goal name=ctm-generatedocs ant:echolocal repository location: ${maven.repo.local}/ant:echo attainGoal name=multiproject/ /goal postgoal name=ctm-generatedocs ant:echocopy from: ${dir.maven.reportssource} to ${dir.maven.reportswebserverdestination}/ant:echo ant:delete dir=${dir.maven.reportswebserverdestination}/ ant:copy todir=${dir.maven.reportswebserverdestination} ant:fileset dir=${dir.maven.reportssource}/ /ant:copy /postgoal /project
jar dependencies
Hello... I guess I'll ask a basic question, but I didn't find the doc explaining how to do it, and my efforts have been in vain until this moment. Situation: We have several projects one for each lib we have, and we have an application project that depends on what's generated by the this lib-projects. the question is: is there a way to avoid specifying indirect dependencies in the app project? simplifying: project A depends on project B which depends on regexp.jar When project A is built regexp.jar should be copied, if not, the project A won't work. Thanks a lot for any hints on this. Jorge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
reactor problem
Hi Maven-List, I have a Directory A with maven.xml: goal name=test_reactor prereqs=clean:clean ant:delete dir=target/ maven:reactor basedir=${basedir} includes=**/project.xml goals=test excludes=project.xml banner=Generating ignoreFailures=false/ /goal In Subdirectory B and C I have following goals in maven.xml: goal name=test prereqs=clean:clean echotest/echo /goal I got following error message: Starting the reactor... Our processing order: Qnamic Startup Environment Qnamic Startup Sources + | Generating Qnamic Startup Environment | Memory: 2M/4M + clean:clean: test_reactor: test: [echo] test + | Generating Qnamic Startup Sources | Memory: 3M/4M + BUILD FAILED File.. file:/d:/work/build/maven/projects/products/2_01_Startup/ Element... maven:reactor Line.. 40 Column 28 Goal [clean:clean] has no action definition. Total time: 3 seconds Finished at: Thu Jan 29 15:06:02 CET 2004 Do you have any idea why the goal has no action definition? Thanks a lot Heiko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs checkout of multiple subprojects [newbie]
Hi, I am trying to enhance/replace our Ant build with Maven. But I am unable to find the answer or a good practice for a seemingly basic activity: How can I perform a cvs checkout from scratch of multiple (20) projects, including their project.xmls starting from the upper/top level project.xml? I can't use the reactor as the subordinate directories are not created and populated at the very beginning. It is my understanding per project only one module could be checked out with repository/ (i.e. I can't specify multiple modules to be checked out). Moreover, after inspection plugin.jelly for scm:checkout-project seems to first delete the directory with the checked-out module (if any), so any kind of bootstrapping (creating the directories and then somehow generating or checking-out and copying the individual project.xmls) would not work either. Is the only way to go to write a pre/postGoal ant task in the top-level maven.xml or there is something better? Why am I not able to find an example how to do this, is this considered such a rare task or I am missing something? I am really confused here. Thanks for any help, -- Svetlin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reactor problem
I have used the project.xml file from another project. And now it works. I don't know what has gone wrong. Heiko Heiko Kundlacz wrote: Hi Maven-List, I have a Directory A with maven.xml: goal name=test_reactor prereqs=clean:clean ant:delete dir=target/ maven:reactor basedir=${basedir} includes=**/project.xml goals=test excludes=project.xml banner=Generating ignoreFailures=false/ /goal In Subdirectory B and C I have following goals in maven.xml: goal name=test prereqs=clean:clean echotest/echo /goal I got following error message: Starting the reactor... Our processing order: Qnamic Startup Environment Qnamic Startup Sources + | Generating Qnamic Startup Environment | Memory: 2M/4M + clean:clean: test_reactor: test: [echo] test + | Generating Qnamic Startup Sources | Memory: 3M/4M + BUILD FAILED File.. file:/d:/work/build/maven/projects/products/2_01_Startup/ Element... maven:reactor Line.. 40 Column 28 Goal [clean:clean] has no action definition. Total time: 3 seconds Finished at: Thu Jan 29 15:06:02 CET 2004 Do you have any idea why the goal has no action definition? Thanks a lot Heiko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Heiko Kundlacz | MailTo: [EMAIL PROTECTED] Qnamic AG| Tel: +41 62 209 7056 Fabrikstr. 10| Natel:+41 78 861 4006 4614 Haegendorf | Fax: +41 62 209 7044 Switzerland | Homepage: http://www.qnamic.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new idea on maven usage?
True, true. That is another option. Maybe theres others. I can imagine generating other OS specific package installers too. (RPM, bin, XPI, sh, InstallSheild, msi ...). A plugin or series of plugins devoted to building such installers using maven and its repository resources. -Mark Ethan Rider wrote: Pardon my interjection, but if the problem domain is restricted to java files, wouldn't JNLP be the technology to leverage here? - Original Message - From: Mark R. Diggory [EMAIL PROTECTED] Date: Wednesday, January 28, 2004 4:24 pm Subject: Re: new idea on maven usage? Novel Idea, I think Ant might be a lighter starting point. In fact you could do something like the ant-plugin to generate an ant build.xml that starts the whole process. If the user has ant installed, they can just run your script, otherwise, you could package it with just enough of the ant classes that it would be light and simple to execute from within a jar file. %jar foo-start.jar -Mark Christian Andersson wrote: Hi there, I think I have a new idea on how to use maven, not just as a build system. anyway, what I thought of is the following. I want to use some sort of minimalistic version of maven to start my applications, this way I do not have to distribute any of my jar files, or any of the external jar files, and I can also get a version controled handling of the execution. what would be needed to use this. project.xml remove all the build stuff add information on which class to run and if it should be threaded maven includes no plugins and only 2 goals start to start the applikation (if the application is threaded maven will exist after start but the application still running) stop to stop the application (if it was started threaded) If I have maven-starter locally installed all I would need was to download the project.xml file and type maven start this would then download everything that was needed (if not previously downloaded) and start the applikation. In a sence it is sort of a webstart system, but the jar files does not have to be on the same server, nor signed, etc... we could ofcourse demand some security in this so that jar files hae to be signed, etc and that users have to agree to the signature (much like webstart) but I think this could be better then webstart, since this could also work with server applications... anyway it is just an idea! /Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu --- -- 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] -- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JMeter Plugin available?
Hi together I saw in the mailinglist history that someone searched a JMeter plugin a long time ago. I need such a plugin, but before I code it myself I wanted to ask you if someone did this plugin? Thanks Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs checkout of multiple subprojects [newbie]
For mevenide we are using a simple shell/batch script that does all the checkout and then runs maven to build; not using maven per se to do this initial stuff. I believe there is also a bootstrap concept for maven install that you might be able to adapt, but have not dealt with this. For the script way, check out http://mevenide.sourceforge.net jeff Svetlin Stanchev wrote: Hi, I am trying to enhance/replace our Ant build with Maven. But I am unable to find the answer or a good practice for a seemingly basic activity: How can I perform a cvs checkout from scratch of multiple (20) projects, including their project.xmls starting from the upper/top level project.xml? I can't use the reactor as the subordinate directories are not created and populated at the very beginning. It is my understanding per project only one module could be checked out with repository/ (i.e. I can't specify multiple modules to be checked out). Moreover, after inspection plugin.jelly for scm:checkout-project seems to first delete the directory with the checked-out module (if any), so any kind of bootstrapping (creating the directories and then somehow generating or checking-out and copying the individual project.xmls) would not work either. Is the only way to go to write a pre/postGoal ant task in the top-level maven.xml or there is something better? Why am I not able to find an example how to do this, is this considered such a rare task or I am missing something? I am really confused here. Thanks for any help, -- jeff bonevich mailto: [EMAIL PROTECTED] Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Rich Cook All programmers are playwrights and all computers are lousy actors. Unknown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Integrating new languages with Maven
Hi, I'm investigating how to enable maven to handle a new language (Nice, http://nice.sf.net). Nice has its own compiler which produces java bytecode in the form of classes and jars, and it already has a Ant task (not distributed with Ant itself, though). Is such situation documented anywhere? Ideas of where to look? So far I looked at the Java plugin, and I could adapt it to create a nice:compile goal, which calls the Nice compiler via the Ant task. One thing I wonder is how it is possible to register my new plugin, so that when a generic goal like 'build' is started, it would call nice:compile if there are any Nice packages to compile. Is this possible in a modular way, or would the core plugins need to be modified? Would the Maven-plugins project be interested in hosting the Nice plugin, or should I rather distribute it independently (in an alternate Maven repository?). Maven looks great, thanks to all the developers. I hope that I will turn out to be alternative-language-friendly, or that we can make it become so. Cheers, Daniel PS: I this message is more suitable for maven-devel, please let me know. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Sample EJB Project Using JBoss and Maven?
The xjavadoc dependency is incorrectly declared. This is an issue in Jira already. Possible solutions: 1) copy (don't move) the xjavadoc jar from xdoclet group to xjavadoc group. 2) change the xdoclet plugin's xjavadoc dependency to use the xdoclet groupId 3) create xjavadoc/jars/xjavadoc-1.0.2.jar in your own local repository and point to it in repo remote. Tim Chen [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:51 PM To: [EMAIL PROTECTED] Subject: Re: Sample EJB Project Using JBoss and Maven? Hi, after installing the xdoclet plugin, I'm now getting the following error message: BEGIN TRANSCRIPT: MY-MACHINE ~/workspace/webshop/WebShop-Beans $ maven clean jar jar:install __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT clean:clean: [delete] Deleting directory C:\workspace\webshop\WebShop-Beans\target clean: java:prepare-filesystem: [mkdir] Created dir: C:\workspace\webshop\WebShop-Beans\target\classes java:compile: [echo] XDoclet : Generation of EJB interfaces and deployments Attempting to download xjavadoc-1.0.2.jar. WARNING: Failed to download xjavadoc-1.0.2.jar. BUILD FAILED File.. file:/c:/workspace/webshop/WebShop-Beans/ Element... attainGoal Line.. 18 Column 41 The build cannot continue because of the following unsatisfied dependency: xjavadoc-1.0.2.jar (no download url specified) Total time: 8 seconds Finished at: Wed Jan 28 14:45:51 PST 2004 END TRANSCRIPT: However, I cannot locate file(s) where this dependency is listed. In the Webshop-Beans directory, the project.xml has a reference to the following: dependency groupIdxdoclet/groupId artifactIdxjavadoc/artifactId version1.0/version urlhttp://xdoclet.sourceforge.net//url typejar/type jarxjavadoc-1.0.jar/jar properties/ /dependency If anyone has any ideas as to how to resolve this error message, please post to the group and/or send me an e-mail. Thanks in advance, -Conrad Quoting [EMAIL PROTECTED]: BUILD FAILED File.. file:/c:/workspace/webshop/Webshop-Beans/ Element... attainGoal Line.. 18 Column 41 No goal [xdoclet:ejbdoclet] Total time: 11 seconds Finished at: Tue Jan 27 17:36:50 PST 2004 Do you have the xdoclet plugin installed? - 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: file activity plugin problem on windows
Hi Emmanuel Thx for the advice, but still my problem remains.. :( I still get a message saying : Unable to find CVS executable... Here's the message: maven-changelog-plugin:report: [echo] Generating the changelog report SCM Working Directory: C:\Work\maintrunk\software\projects\hydra\source SCM Command Line[0]: cvs SCM Command Line[1]: -d SCM Command Line[2]: :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot SCM Command Line[3]: log SCM Command Line[4]: -d 2003-12-302004-01-30 Unable to find cvs executable. Changelog will be empty ChangeLog found: 0 entries BUILD SUCCESSFUL Total time: 6 seconds Finished at: Thu Jan 29 15:16:16 EST 2004 But cvs executable IS in my machine's path variable. I've put the entry myself and if I type cvs at the prompt, I get the usage message... Bit puzzled ... Anyone saw that problem before? thx Eric. Emmanuel Venisse wrote: You can use the changelog plugin in cvs head. We use a java cvs client and not the cvs command line. Emmanuel - Original Message - From: Eric Giguere [EMAIL PROTECTED] To: Maven User List [EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 7:34 PM Subject: file activity plugin problem on windows Hi all Got a small problem here with the file activity plugin on my W2K workstation. Running under Windos, the command line fails the the plugin reports that the cvs executable cannot be found but the diagnostic is not accurate. I've run the command that the engine try to run and the problem seems to be with the date rage specification. We have someting like : cvs -d :pserver... log -d 2003-12-222004-01-22 The problem is with the date range. This command line fails even when you type it. To make it valid, we must include the date range in double quotes so that the won't be interpreted as a file output redirection. Am I doing something wrong? Any workaround? Eric. Eric Giguere, ing. Software Team Leader NHC Communications Inc. http://www.nhc.com/ 5450 Cote de Liesse Mont-Royal (Quebec) Canada H4P 1A5 Tel.: Direct (514) 735-2741 x262 Fax.: (514) 735-8057 Toll Free: 1-800-361-1965 This message is intended for the use of the addressee and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in this message is strictly unauthorized and prohibited. If you have received this message in error, please notify the sender by reply e-mail and delete the message from your system. Opinions, conclusions, or other statements in this message which do not relate to the business of NHC Communications Inc., its subsidiaries or affiliates, are neither given nor endorsed by NHC Communications Inc. - 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]
ant:parallel is working differently in Maven than in Ant
I'm running the exact same set of tags with Ant and Maven, but I get different behavior. The Maven I'm using was built from CVS on 11/25/03. I put this: parallel sequential echoThread one sleeping for three seconds/echo sleep seconds=3/ echoThread one done sleeping/echo /sequential sequential echoThread two sleeping for one second/echo sleep seconds=1/ echoThread two done sleeping/echo /sequential /parallel echoAll threads complete/echo in both a build.xml and maven.xml. Running ant on the target gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] Thread one done sleeping [echo] All threads complete as I expected. Running Maven on the goal gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread one done sleeping [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] All threads complete The two tasks run sequentially, even though they should run in the parallel. Running maven -X just gives a couple messages about adding classpath references and verbose output on the sleep tag. Adding the ant namespace to all the Ant tags results in the same behavior. Has anyone else seen this? Is there something else I should or should not be doing to get the tasks to run in parallel in Maven? Jeff -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ant:parallel is working differently in Maven than in Ant
Ant tags are processing by jelly that is embedded in Maven. I think it's a jelly bug and not a Maven bug. Emmanuel - Original Message - From: Jefferson K. French [EMAIL PROTECTED] To: Maven [EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:56 PM Subject: ant:parallel is working differently in Maven than in Ant I'm running the exact same set of tags with Ant and Maven, but I get different behavior. The Maven I'm using was built from CVS on 11/25/03. I put this: parallel sequential echoThread one sleeping for three seconds/echo sleep seconds=3/ echoThread one done sleeping/echo /sequential sequential echoThread two sleeping for one second/echo sleep seconds=1/ echoThread two done sleeping/echo /sequential /parallel echoAll threads complete/echo in both a build.xml and maven.xml. Running ant on the target gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] Thread one done sleeping [echo] All threads complete as I expected. Running Maven on the goal gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread one done sleeping [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] All threads complete The two tasks run sequentially, even though they should run in the parallel. Running maven -X just gives a couple messages about adding classpath references and verbose output on the sleep tag. Adding the ant namespace to all the Ant tags results in the same behavior. Has anyone else seen this? Is there something else I should or should not be doing to get the tasks to run in parallel in Maven? Jeff -- mailto:[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: file activity plugin problem on windows
Could you test with changelog plugin in cvs? I have no problem with it on windows. Emmanuel - Original Message - From: Eric Giguere [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Thursday, January 29, 2004 10:03 PM Subject: Re: file activity plugin problem on windows Hi again. Positive, my connect string is ok. But, if I run the same exact command from the prompt, that is: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot log -d 2003-12-302004-01-30 I get this error : The system cannot find the file specified On the other hand, if i run this command : cvs -d :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot log -d 2003-12-302004-01-30 then I get a lot of output... I wonder if the double quotes are important... It seems that the sign is interpreted by the OS like a file redirection...Maybe I'm totally in the left field too (expression here to stay completely wrong ;) ) But if so... even Linux gives me the same kind of error so I guess I am wrong... I don't know... Any other idea? Oh, thx the the -X, can be usefull but not now, can't see anything more on the issue. Eric. I've run the same exact command in the prompt Emmanuel Venisse wrote: Are you sure that your connection string is correct? Your module is in /home/cvs/cvsroot? Apparently, cvs is find on your os (you don't have error) but your have no modification between 2003-12-30 and 2004-01-30 If your want, you can run maven with -X option for debugging and/or -e for trace error (if you have it). Emmanuel - Original Message - From: Eric Giguere [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:21 PM Subject: Re: file activity plugin problem on windows Hi Emmanuel Thx for the advice, but still my problem remains.. :( I still get a message saying : Unable to find CVS executable... Here's the message: maven-changelog-plugin:report: [echo] Generating the changelog report SCM Working Directory: C:\Work\maintrunk\software\projects\hydra\source SCM Command Line[0]: cvs SCM Command Line[1]: -d SCM Command Line[2]: :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot SCM Command Line[3]: log SCM Command Line[4]: -d 2003-12-302004-01-30 Unable to find cvs executable. Changelog will be empty ChangeLog found: 0 entries BUILD SUCCESSFUL Total time: 6 seconds Finished at: Thu Jan 29 15:16:16 EST 2004 But cvs executable IS in my machine's path variable. I've put the entry myself and if I type cvs at the prompt, I get the usage message... Bit puzzled ... Anyone saw that problem before? thx Eric. Emmanuel Venisse wrote: You can use the changelog plugin in cvs head. We use a java cvs client and not the cvs command line. Emmanuel - Original Message - From: Eric Giguere [EMAIL PROTECTED] To: Maven User List [EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 7:34 PM Subject: file activity plugin problem on windows Hi all Got a small problem here with the file activity plugin on my W2K workstation. Running under Windos, the command line fails the the plugin reports that the cvs executable cannot be found but the diagnostic is not accurate. I've run the command that the engine try to run and the problem seems to be with the date rage specification. We have someting like : cvs -d :pserver... log -d 2003-12-222004-01-22 The problem is with the date range. This command line fails even when you type it. To make it valid, we must include the date range in double quotes so that the won't be interpreted as a file output redirection. Am I doing something wrong? Any workaround? Eric. Eric Giguere, ing. Software Team Leader NHC Communications Inc. http://www.nhc.com/ 5450 Cote de Liesse Mont-Royal (Quebec) Canada H4P 1A5 Tel.: Direct (514) 735-2741 x262 Fax.: (514) 735-8057 Toll Free: 1-800-361-1965 This message is intended for the use of the addressee and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in this message is strictly unauthorized and prohibited. If you have received this message in error, please notify the sender by reply e-mail and delete the message from your system. Opinions, conclusions, or other statements in this message which do not relate to the business of NHC Communications Inc., its subsidiaries or affiliates, are neither given nor endorsed by NHC Communications Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to deploy a JAR to remote repo?
Hi, I was wondering, how does one deploy a JAR to a specific repository? Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Taskdef class not found error
Using: Maven 1.0 rc2 Problem: Invoking a custom plug-in from within another plug-in causes an error I have a working plug-in which generates EJB interfaces by invoking the appropriate EJBDoclet task. (No I am not using Maven's xdoclet plug-in) Plugin-A: goal name=pluginA:doEJB ... /goal This plug-in works flawlessly. Now, I have a second plug-in which has a goal that invokes the goal in the above via an attainGoal. Plugin-B: goal name=plugin-B:someGoal ... attainGoal name=plugin-A:doEJB/ .. /goal When I try to install this latter plug-in I get following error. taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found Why is this one complaining about EJBDoclet? The first plug-in - which is the only one needing the class - installs and runs correctly by itself. Any thoughts? Sri - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
war:clean goal does not delete the war
When I run war:clean, it removes the webapp directory, but does not remove the war, instead giving an error. The reason is that war:clean uses ${maven.war.final.name}, which gets set in war:init (not called if you just do war:clean.) Therefore the maven.war.final.name is null. I have changed war:clean in my version to use ${pom.artifactId}.war instead of ${maven.war.final.name}, which works for my needs. I don't know if this is the best solution though. Brian N. Burridge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
A list of goals and how to use them?
Hi, could someone tell me where I can find the list of goals and how to use them? I have been trying to package my jars into a zip with version and deploy them to the remote repository. Thus, I'm looking for any information that I can receive on how to accomplish this task. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: A list of goals and how to use them?
You're looking for the dist plugin. A full list of plugins is available at http://maven.apache.org/reference/plugins/index.html You can also run maven -g to see a full list. - Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 30 January 2004 9:40 AM To: [EMAIL PROTECTED] Subject: A list of goals and how to use them? Hi, could someone tell me where I can find the list of goals and how to use them? I have been trying to package my jars into a zip with version and deploy them to the remote repository. Thus, I'm looking for any information that I can receive on how to accomplish this task. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: clean goal does not delete the war
${maven.war.final.name} defaults to ${pom.artifactId}.war (look at the docs and the jelly script) What exactly was the error? Tim Chen [EMAIL PROTECTED] -Original Message- From: Brian Burridge [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 5:33 PM To: Maven Users List Subject: war:clean goal does not delete the war When I run war:clean, it removes the webapp directory, but does not remove the war, instead giving an error. The reason is that war:clean uses ${maven.war.final.name}, which gets set in war:init (not called if you just do war:clean.) Therefore the maven.war.final.name is null. I have changed war:clean in my version to use ${pom.artifactId}.war instead of ${maven.war.final.name}, which works for my needs. I don't know if this is the best solution though. Brian N. Burridge - 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: A list of goals and how to use them?
Hi Brett, I know how to get a list of goals from Maven but I don't know how to use them in regards to configuring maven.xml or project.xml or project.properties. -Conrad You're looking for the dist plugin. A full list of plugins is available at http://maven.apache.org/reference/plugins/index.html You can also run maven -g to see a full list. - Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 30 January 2004 9:40 AM To: [EMAIL PROTECTED] Subject: A list of goals and how to use them? Hi, could someone tell me where I can find the list of goals and how to use them? I have been trying to package my jars into a zip with version and deploy them to the remote repository. Thus, I'm looking for any information that I can receive on how to accomplish this task. Thanks in advance, -Conrad - 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: How to deploy a JAR to remote repo?
Hi, I still cannot deploy the JAR file. However, when I run the following command: maven dist:deploy It creates a file called distributions.tar.gz. However, I don't want the source part of the distributions just the jars, wars, and ears. Finally, I would like the name to be as follows: ${project_name}-version.tar.gz That contains the following: ${project_name}-version.jar ${project_name}-version.war ${project_name}-version.ear Note: There may be more than one file for each type that has a different name. I just need a clear example instead of doing this adhoc because I'm all over the place at this point with trying to obtain information from the current documents. Thanks, -Conrad Hi, I was wondering, how does one deploy a JAR to a specific repository? Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What does the maven debugging output mean
What file do the Line and Column numbers refer to? BUILD FAILED File.. file:/C:/Documents and Settings/websphere/.maven/plugins/maven-xdocle t-plugin-1.2b4/ Element... maven:addPath Line.. 9447 Column 91 java.lang.NullPointerException Total time: 7 seconds Finished at: Thu Jan 29 16:10:16 PST 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What does the maven debugging output mean
DeGraff, Adam wrote: What file do the Line and Column numbers refer to? I think it's the plugin.jelly file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven release:build-distribution-src tries to zip root
When I try to do a release:build-distribution-src on either my Windows XP in Cygwin or my Linux box it tries to tar my root directory. I've read through the code and from what I can see it should be trying to gzip '${maven.scm.checkout.dir}/${maven.scm.cvs.module}'. Instead it tries to zip root like this: |release:build-distribution-src: [tar] [DEBUG] Tar$TarFileSet: Setup scanner in dir \ with patternSet{ includes: [] excludes: [] } | I've debugged the properties by adding echo statements to the plugin.jelly:| goal name=release:build-distribution-src prereqs=release:init,scm:checkout-project echodir=${maven.scm.checkout.dir}/${maven.scm.cvs.module}/echo archive:gzip name=${releaseNameSrc} dir=${maven.scm.checkout.dir}/${maven.scm.cvs.module}/ archive:zip name=${releaseNameSrc} dir=${maven.scm.checkout.dir}/${maven.scm.cvs.module}/ /goal | And indeed, I get a statement like this: '[echo] dir=/'| repository connectionscm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvs/wrycanCode:classwell/contentmodel/connection developerConnectionscm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvs/wrycanCode:/classwell/contentmodel/developerConnection /repository | I guess I could use some general help or examples of proper use of the release plugin. I've also been playing with the release:build-distribution-bin goal, and this seems to create empty zip and tar files in my target directory.| | Christopher Farnham Senior Consultant at Wrycan, Inc. [EMAIL PROTECTED] http://www.wrycan.com
Re: How to deploy a JAR to remote repo?
To deploy a jar, use jar:deploy. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ [EMAIL PROTECTED] wrote on 30/01/2004 10:30:19 AM: Hi, I still cannot deploy the JAR file. However, when I run the following command: maven dist:deploy It creates a file called distributions.tar.gz. However, I don't want the source part of the distributions just the jars, wars, and ears. Finally, I would like the name to be as follows: ${project_name}-version.tar.gz That contains the following: ${project_name}-version.jar ${project_name}-version.war ${project_name}-version.ear Note: There may be more than one file for each type that has a different name. I just need a clear example instead of doing this adhoc because I'm all over the place at this point with trying to obtain information from the current documents. Thanks, -Conrad Hi, I was wondering, how does one deploy a JAR to a specific repository? Thanks in advance, -Conrad - 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: jar dependencies
I think that you can't actually use recursive dependencies. Perhaps, you can use something like this in your maven.xml : postGoal name=dist:prepare-bin-filesystem deploy:copy-deps todir=${maven.build.dir}/${maven.final.name}/bin// /postGoal It will copy in your distribution directory all the dependendencies. But you need to add the regexp dependency in your project.xml Arnaud -Message d'origine- De : Jorge CAMPOS [mailto:[EMAIL PROTECTED] Envoyé : jeudi 29 janvier 2004 14:52 À : [EMAIL PROTECTED] Objet : jar dependencies Hello... I guess I'll ask a basic question, but I didn't find the doc explaining how to do it, and my efforts have been in vain until this moment. Situation: We have several projects one for each lib we have, and we have an application project that depends on what's generated by the this lib-projects. the question is: is there a way to avoid specifying indirect dependencies in the app project? simplifying: project A depends on project B which depends on regexp.jar When project A is built regexp.jar should be copied, if not, the project A won't work. Thanks a lot for any hints on this. Jorge - 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: parallel is working differently in Maven than in Ant
Can you timestamp each of the thread echo output to exclude the possibility the output stream is representing order incorrectly? -Original Message- From: Jefferson K. French [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 12:57 PM To: Maven Subject: ant:parallel is working differently in Maven than in Ant I'm running the exact same set of tags with Ant and Maven, but I get different behavior. The Maven I'm using was built from CVS on 11/25/03. I put this: parallel sequential echoThread one sleeping for three seconds/echo sleep seconds=3/ echoThread one done sleeping/echo /sequential sequential echoThread two sleeping for one second/echo sleep seconds=1/ echoThread two done sleeping/echo /sequential /parallel echoAll threads complete/echo in both a build.xml and maven.xml. Running ant on the target gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] Thread one done sleeping [echo] All threads complete as I expected. Running Maven on the goal gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread one done sleeping [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] All threads complete The two tasks run sequentially, even though they should run in the parallel. Running maven -X just gives a couple messages about adding classpath references and verbose output on the sleep tag. Adding the ant namespace to all the Ant tags results in the same behavior. Has anyone else seen this? Is there something else I should or should not be doing to get the tasks to run in parallel in Maven? Jeff -- mailto:[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: war:clean goal does not delete the war
Brian Burridge [EMAIL PROTECTED] wrote on 30/01/2004 09:32:57 AM: When I run war:clean, it removes the webapp directory, but does not remove the war, instead giving an error. The reason is that war:clean uses ${maven.war.final.name}, which gets set in war:init (not called if you just do war:clean.) Therefore the maven.war.final.name is null. I have changed war:clean in my version to use ${pom.artifactId}.war instead of ${maven.war.final.name}, which works for my needs. I don't know if this is the best solution though. Brian N. Burridge Fixed in CVS. I made war:clean depend on war:init. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
new bee
Hi , I am very new to maven, reallly I want to know whether I can use maven in my project. Ours is e-commerce project , developing using WSAD5 .I found eclipse plugin which is usefull from eclipse3.0 from only.So how can I use maven with an existing project.One more question is it worth to use Maven in an half finished project Please share your knowledge. Johnson
Re: file activity plugin problem on windows
Eric Giguere [EMAIL PROTECTED] wrote on 30/01/2004 07:21:23 AM: Hi Emmanuel Thx for the advice, but still my problem remains.. :( I still get a message saying : Unable to find CVS executable... Here's the message: maven-changelog-plugin:report: [echo] Generating the changelog report SCM Working Directory: C:\Work\maintrunk\software\projects\hydra\source SCM Command Line[0]: cvs SCM Command Line[1]: -d SCM Command Line[2]: :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot SCM Command Line[3]: log SCM Command Line[4]: -d 2003-12-302004-01-30 Unable to find cvs executable. Changelog will be empty ChangeLog found: 0 entries BUILD SUCCESSFUL Total time: 6 seconds Finished at: Thu Jan 29 15:16:16 EST 2004 But cvs executable IS in my machine's path variable. I've put the entry myself and if I type cvs at the prompt, I get the usage message... Bit puzzled ... What do you get if you type the command line as detailed above? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Sample EJB Project Using JBoss and Maven?
Tim Chen [EMAIL PROTECTED] wrote on 30/01/2004 12:47:09 AM: The xjavadoc dependency is incorrectly declared. This is an issue in Jira already. Possible solutions: 1) copy (don't move) the xjavadoc jar from xdoclet group to xjavadoc group. 2) change the xdoclet plugin's xjavadoc dependency to use the xdoclet groupId 3) create xjavadoc/jars/xjavadoc-1.0.2.jar in your own local repository and point to it in repo remote. As a temporary workaround to this incredibly frequently asked question, I've symlinked www.ibiblio.org/maven/xdoclet as www.ibiblio.org/maven/xjavadoc I believe this will fix the issue for most. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build succeeding even though test fails
Hello, When I run test:test, the build is SUCCESSFUL even if a test fails. I have maven.test.failure.ignore=false in my project.properties. Any idea on what is wrong? Here is the partial output of maven -X test:test: [junit] [DEBUG] Execute:Java13CommandLauncher: Executing 'L:\j2sdk1.4\jre\bin\java.exe' with arguments: '-Dbasedir=D:\virtualmock\virtualmock' '-classpath' 'D:\virtualmock\virtualmock\target\test-classes;D:\virtualmock\virtualmock\target\classes;D:\virtualmock\virtualmock\lib\ant-1.5.4.jar;D:\virtualmock\virtualmock\lib\aspectjrt .jar;L:\j2sdk1.4\lib\tools.jar;D:\virtualmock\virtualmock\lib\bcel-5.1.jar;D:\virtualmock\virtualmock\lib\bcel-patch.jar;D:\virtualmock\virtualmock\lib\cglib-asm-1.0.jar;D:\vi rtualmock\virtualmock\lib\hansel-1.02.jar;D:\virtualmock\virtualmock\lib\trove-1.0.2.jar;D:\virtualmock\virtualmock\lib\dom4j-1.4.jar;D:\virtualmock\virtualmock\lib\qdox-1.2.j ar;D:\virtualmock\virtualmock\lib\commons-jexl-1.0-beta-2.jar;D:\virtualmock\virtualmock\lib\commons-digester-1.5.jar;D:\virtualmock\virtualmock\lib\commons-collections-2.1.ja r;D:\virtualmock\virtualmock\lib\commons-logging-1.0.3.jar;D:\virtualmock\virtualmock\lib\commons-beanutils-1.6.1.jar;D:\virtualmock\virtualmock\lib\commons-lang-2.0.jar;D:\vi rtualmock\virtualmock\lib\concurrent-1.3.1.jar;D:\virtualmock\virtualmock\lib\jrexx-1.1.1.jar;D:\virtualmock\virtualmock\lib\piccolo-1.03.jar;D:\virtualmock\virtualmock\lib\ju nit-3.8.1.jar;D:\virtualmock\virtualmock\lib\aspectwerkz-0.9.RC1.jar;D:\virtualmock\virtualmock\lib\aspectwerkz-core-0.9.RC1.jar;D:\virtualmock\virtualmock\lib\log4j-1.2.8.jar ;D:\virtualmock\virtualmock\lib\easymock-patch-1.0.jar;D:\virtualmock\virtualmock\lib\easymock.jar;D:\virtualmock\virtualmock\lib\optional.jar;D:\virtualmock\virtualmock\lib\t hrowableutil-1.0.jar;J:\Documents and Settings\Administrator\.maven\plugins\maven-test-plugin-1.4\lib\junit-3.8.1.jar;D:\maven\lib\ant-1.5.3-1.jar;D:\maven\lib\ant-optional-1. 5.3-1.jar' 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner' 'org.virtualmock.VMFactoryTest' 'filtertrace=true' 'haltOnError=false' 'haltOnFailure=false' 'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter' 'showoutput=false' 'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,D:\virtualmock\virtualmock\target\test-reports\TEST-org.virtualmock.VMFactoryTest.xml' 'formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter,D:\virtualmock\virtualmock\target\test-reports\TEST-org.virtualmock.VMFactoryTest.txt' 'propsfile=D:\virtualmock\virtualmock\junit360663812.properties' The ' characters around the executable and arguments are not part of the command. [junit] Tests run: 11, Failures: 2, Errors: 0, Time elapsed: 0.081 sec [junit] [ERROR] TEST org.virtualmock.VMFactoryTest FAILED ... snip ... BUILD SUCCESSFUL Total time: 48 seconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sample EJB Project Using JBoss and Maven?
[EMAIL PROTECTED] wrote: As a temporary workaround to this incredibly frequently asked question, I've symlinked www.ibiblio.org/maven/xdoclet as www.ibiblio.org/maven/xjavadoc I believe this will fix the issue for most. Thanks for this. I love Xdoclet, but this xjavadoc groupId situation is one of the most annoying errors I've ever encountered. You'd think that they would have released a fix for it already -- but I guess it's easy to manually hack it anyway. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build succeeding even though test fails
You haven't set maven.test.failure.ignore have you? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Chad Woolley [EMAIL PROTECTED] wrote on 30/01/2004 04:10:21 PM: *** Your mail has been scanned by InterScan VirusWall. ***-*** Hello, When I run test:test, the build is SUCCESSFUL even if a test fails. I have maven.test.failure.ignore=false in my project.properties. Any idea on what is wrong? Here is the partial output of maven -X test:test: [junit] [DEBUG] Execute:Java13CommandLauncher: Executing 'L:\j2sdk1.4\jre\bin\java.exe' with arguments: '-Dbasedir=D:\virtualmock\virtualmock' '-classpath' 'D:\virtualmock\virtualmock\target\test-classes;D: \virtualmock\virtualmock\target\classes;D: \virtualmock\virtualmock\lib\ant-1.5.4.jar;D:\virtualmock\virtualmock\lib\aspectjrt .jar;L:\j2sdk1.4\lib\tools.jar;D:\virtualmock\virtualmock\lib\bcel-5.1.jar; D:\virtualmock\virtualmock\lib\bcel-patch.jar;D: \virtualmock\virtualmock\lib\cglib-asm-1.0.jar;D:\vi rtualmock\virtualmock\lib\hansel-1.02.jar;D: \virtualmock\virtualmock\lib\trove-1.0.2.jar;D: \virtualmock\virtualmock\lib\dom4j-1.4.jar;D:\virtualmock\virtualmock\lib\qdox-1.2.j ar;D:\virtualmock\virtualmock\lib\commons-jexl-1.0-beta-2.jar;D: \virtualmock\virtualmock\lib\commons-digester-1.5.jar;D: \virtualmock\virtualmock\lib\commons-collections-2.1.ja r;D:\virtualmock\virtualmock\lib\commons-logging-1.0.3.jar;D: \virtualmock\virtualmock\lib\commons-beanutils-1.6.1.jar;D: \virtualmock\virtualmock\lib\commons-lang-2.0.jar;D:\vi rtualmock\virtualmock\lib\concurrent-1.3.1.jar;D: \virtualmock\virtualmock\lib\jrexx-1.1.1.jar;D: \virtualmock\virtualmock\lib\piccolo-1.03.jar;D:\virtualmock\virtualmock\lib\ju nit-3.8.1.jar;D:\virtualmock\virtualmock\lib\aspectwerkz-0.9.RC1.jar;D: \virtualmock\virtualmock\lib\aspectwerkz-core-0.9.RC1.jar;D: \virtualmock\virtualmock\lib\log4j-1.2.8.jar ;D:\virtualmock\virtualmock\lib\easymock-patch-1.0.jar;D: \virtualmock\virtualmock\lib\easymock.jar;D: \virtualmock\virtualmock\lib\optional.jar;D:\virtualmock\virtualmock\lib\t hrowableutil-1.0.jar;J:\Documents and Settings\Administrator\.maven\plugins\maven-test-plugin-1.4\lib\junit-3.8.1. jar;D:\maven\lib\ant-1.5.3-1.jar;D:\maven\lib\ant-optional-1. 5.3-1.jar' 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner' 'org.virtualmock.VMFactoryTest' 'filtertrace=true' 'haltOnError=false' 'haltOnFailure=false' 'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter' 'showoutput=false' 'formatter=org.apache.tools.ant.taskdefs.optional.junit. XMLJUnitResultFormatter,D:\virtualmock\virtualmock\target\test-reports\TEST- org.virtualmock.VMFactoryTest.xml' 'formatter=org.apache.tools.ant.taskdefs.optional.junit. PlainJUnitResultFormatter,D:\virtualmock\virtualmock\target\test- reports\TEST-org.virtualmock.VMFactoryTest.txt' 'propsfile=D:\virtualmock\virtualmock\junit360663812.properties' The ' characters around the executable and arguments are not part of the command. [junit] Tests run: 11, Failures: 2, Errors: 0, Time elapsed: 0.081 sec [junit] [ERROR] TEST org.virtualmock.VMFactoryTest FAILED ... snip ... BUILD SUCCESSFUL Total time: 48 seconds - 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: parallel is working differently in Maven than in Ant
Yes, but this example is just scaled down from where I first noticed it. Originally instead of the simple sleeps and echos, I ran a message feeder program that took 30-40 minutes to run. It was much more obvious with that example that the programs ran sequentially. I just created the simplified example for the post On Thu, 29 Jan 2004, at 13:14:04 [GMT -0800] W. Sean Hennessy wrote: Can you timestamp each of the thread echo output to exclude the possibility the output stream is representing order incorrectly? -Original Message- From: Jefferson K. French [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 12:57 PM To: Maven Subject: ant:parallel is working differently in Maven than in Ant I'm running the exact same set of tags with Ant and Maven, but I get different behavior. The Maven I'm using was built from CVS on 11/25/03. I put this: parallel sequential echoThread one sleeping for three seconds/echo sleep seconds=3/ echoThread one done sleeping/echo /sequential sequential echoThread two sleeping for one second/echo sleep seconds=1/ echoThread two done sleeping/echo /sequential /parallel echoAll threads complete/echo in both a build.xml and maven.xml. Running ant on the target gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] Thread one done sleeping [echo] All threads complete as I expected. Running Maven on the goal gives: anttest: [echo] Thread one sleeping for three seconds [echo] Thread one done sleeping [echo] Thread two sleeping for one second [echo] Thread two done sleeping [echo] All threads complete The two tasks run sequentially, even though they should run in the parallel. Running maven -X just gives a couple messages about adding classpath references and verbose output on the sleep tag. Adding the ant namespace to all the Ant tags results in the same behavior. Has anyone else seen this? Is there something else I should or should not be doing to get the tasks to run in parallel in Maven? Jeff -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]