RE: installing maven
My apologies. The documentation has been updated for an upcoming release, but install_repo did not exist in beta-10. I will discuss this with the other developers and see what the best approach is about making sure new doco doesn't get on the web site. Your other problem is probably related to your setting of MAVEN_HOME. What has it been set to? Have you created a build.properties file with custom settings that may affect this? Thanks, Brett -Original Message- From: Thakkar, Hetal [mailto:[EMAIL PROTECTED] Sent: Saturday, 23 August 2003 7:40 AM To: [EMAIL PROTECTED] Subject: installing maven I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: installing maven
Thakkar, Hetal [EMAIL PROTECTED] wrote on 23/08/2003 07:40:16 AM: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. Which version? I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. The install_repo.bat isn't in beta 10. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Nope. It's usually because of missing jar files or JAVA_HOME not being set. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
Re: file share does not work for local repository
Matt, mapped drives work ok for me. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Matt Raible [EMAIL PROTECTED] wrote on 22/08/2003 11:38:35 PM: I downloaded and built Maven yesterday. No issues there - I was up and running and have been using it every since. I've been using the default local repository (~/${user.home}/.maven/repository), but now I want to specify a network drive (\\server\share\repository). However I'm getting the lovely error: Artifact '\\server\share\repository\velocity\jars\velocity-1.4-dev.jar' not found to add to classpath java.lang.ClassNotFoundException: velocity at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) I've tried doing a mapped drive and a UNC path, but neither works. So my questions: 1. Is it possible to use a file share for a local repository (so developers can share). 2. If not, is it possible to use an FTP server? Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Eclipse
Setting the MAVEN_REPO variable can also be done with the eclipse plugin. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Keld Mikkelsen [EMAIL PROTECTED] wrote on 22/08/2003 06:04:51 PM: The correct order is: Checkout your project in Eclipse from CVS. Set the MAVEN_REPO classpath variable in Eclipse. Run 'maven eclipse' on your project inside workspaces/your proj on the command line. Refresh your project. I am using it with IBM WSAD 5.1 (=eclipse 2.1) /Keld - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven mockdoclet
There isn't a mockdoclet plugin shipped with maven. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Dominik Dahlem [EMAIL PROTECTED] wrote on 23/08/2003 02:23:53 AM: Hi all, I wanna use mockdoclets with maven. However, the mockdoclet seems to be in early development stages in terms of maven integration. In the maven plugin no default properties for mockdoclet are set. Has anyone been using it with maven or can anyone give me directions on how to use it? Any help is greatly appreciated. Thx, Dominik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemory Error
Either disable the linkcheck plugin (post goal) or increase memory (via MAVEN_OPTS). -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 22/08/2003 09:50:03 PM: [echo] Generating E:/mavenReports/docs/junit-report.html from E: \mavenReports\generated-xdocs\junit-report.xml [echo] Generating E:/mavenReports/docs/linkcheck.html from E: \mavenReports\generated-xdocs\linkcheck.xml [echo] Generating E:/mavenReports/docs/mail-lists.html from E: \mavenReports\generated-xdocs\mail-lists.xml [echo] Generating E:/mavenReports/docs/maven-reports.html from E:\mavenReports\generated-xdocs\maven-reports.xml [echo] Generating E:/mavenReports/docs/project-info.html from E: \mavenReports\generated-xdocs\project-info.xml [echo] Generating E:/mavenReports/docs/task-list.html from E: \mavenReports\generated-xdocs\task-list.xml [echo] Generating E:/mavenReports/docs/team-list.html from E: \mavenReports\generated-xdocs\team-list.xml maven-linkcheck-plugin: Not using a proxy BUILD FAILED java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag. doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript. run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ForEachTag. doTag(ForEachTag.java:145) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PostGoalTag$1. firePostGoal(PostGoalTag.java:87) at com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710) at com.werken.werkz.Goal.fire(Goal.java:654) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at
Re: checkstyle dependency download
The dependencies being only downloaded if no .processed file exists has been fixed in HEAD. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Dominik Dahlem [EMAIL PROTECTED] wrote on 25/08/2003 12:54:54 AM: Hi all, I discovered just recently a problem with checkstyle I've never had before. Although I didn't update maven and plugins I have suddenly the problem using checkstyle. When I start with a clean maven (no jars in the local repository except commons-jelly and velocity and unprocessed plugins in the plugins directory) checkstyle doesn't download its dependencies while it is processed. Apparently I get ClassNotFoundExceptions. If I then delete the .processed file in maven-checkstyle-plugin-2.0-SNAPSHOT and start again maven it'll download the dependencies and perform the checkstyle report. It appears to me that only the checkstyle plugin has this weird problem. If anyone experienced similar behavior or can help me out I would be more than happy. I have been working on this problem for a couple of hours and am not able to isolate the problem. Thx in advance, Dominik FYI: I'm using maven 1.0 beta 10 on RedHat/Windows. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Accessing maven.compile.src.set and maven.final.name
Leo Sutic [EMAIL PROTECTED] wrote on 23/08/2003 10:38:50 PM: Thanks, however I think that the torque plugin does things a bit differently than what I want to achieve. In particular: + Must be run explicitely, and not as a preGoal to java:compile. Ok, so add your stuff as a preGoal to compile. + Generates into the src/java directory, and not a temporary directory: torque-data-model contextProperties=${torque.contextProperties} controlTemplate=${torque.template.om} outputDirectory=${torque.java.dir} Bad for the torque plugin, not recommended If this is the only way to go with Maven then I'll just get with the program, but I was hoping for something better. Nope. I think someone's already pointed out the antlr plugin. Another question: When specifying a java source path, can I specify multiple paths, i.e.: sourceDirectory${basedir}/src/java/sourceDirectory sourceDirectory${basedir}/src/my-generated-stuff/sourceDirectory No. or: sourceDirectory${basedir}/src/java;${basedir}/src/my-generated- stuff/sourceDirectory No. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
RE: OutOfMemory Error
I found the method to increase the memory. But how to disable the linkcheck plugin -Original Message- From: Eran Chinthaka Sent: 25 August 2003 08:48 To: Maven Users List Subject: RE: OutOfMemory Error Please forgive me for asking a question like this. But I have to ask this as I'm a newbie to this and really interested in this. How can I disable linkcheck plugin or increase memory (via MAVEN_OPTS). My system has 512 MB memory. Eran Chinthaka -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 August 2003 08:28 To: Maven Users List Subject: Re: OutOfMemory Error Either disable the linkcheck plugin (post goal) or increase memory (via MAVEN_OPTS). -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 22/08/2003 09:50:03 PM: [echo] Generating E:/mavenReports/docs/junit-report.html from E: \mavenReports\generated-xdocs\junit-report.xml [echo] Generating E:/mavenReports/docs/linkcheck.html from E: \mavenReports\generated-xdocs\linkcheck.xml [echo] Generating E:/mavenReports/docs/mail-lists.html from E: \mavenReports\generated-xdocs\mail-lists.xml [echo] Generating E:/mavenReports/docs/maven-reports.html from E:\mavenReports\generated-xdocs\maven-reports.xml [echo] Generating E:/mavenReports/docs/project-info.html from E: \mavenReports\generated-xdocs\project-info.xml [echo] Generating E:/mavenReports/docs/task-list.html from E: \mavenReports\generated-xdocs\task-list.xml [echo] Generating E:/mavenReports/docs/team-list.html from E: \mavenReports\generated-xdocs\team-list.xml maven-linkcheck-plugin: Not using a proxy BUILD FAILED java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag. doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript. run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ForEachTag. doTag(ForEachTag.java:145) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PostGoalTag$1. firePostGoal(PostGoalTag.java:87) at com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710) at com.werken.werkz.Goal.fire(Goal.java:654) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at
OutOfMemory Error
Title: Message Please help me to uvercome this error. I'm repeatedly getting this OutOfMemory Error. I increased the memory in Maven and I have 512mb of memory. And the time it takes to to generate maven site is incredibly large. maven-javadoc-plugin:register: maven-jxr-plugin:register: maven-junit-report-plugin:register: maven-linkcheck-plugin:register: maven-tasklist-plugin:register: xdoc:jelly-transform: [echo] Generating E:/projects/Maven/docs/changelog-report.html from E:\projects\Maven\generated-xdocs\changelog-report.xml [echo] Generating E:/projects/Maven/docs/checkstyle-report.html from E:\projects\Maven\generated-xdocs\checkstyle-report.xml [echo] Generating E:/projects/Maven/docs/cvs-usage.html from E:\projects\Maven\generated-xdocs\cvs-usage.xml [echo] Generating E:/projects/Maven/docs/dependencies.html from E:\projects\Maven\generated-xdocs\dependencies.xml [echo] Generating E:/projects/Maven/docs/developer-activity-report.html from E:\projects\Maven\generated-xdocs\developer-activity-report.xml [echo] Generating E:/projects/Maven/docs/file-activity-report.html from E:\projects\Maven\generated-xdocs\file-activity-report.xml [echo] Generating E:/projects/Maven/docs/index.html from E:\projects\Maven\generated-xdocs\index.xml [echo] Generating E:/projects/Maven/docs/issue-tracking.html from E:\projects\Maven\generated-xdocs\issue-tracking.xml [echo] Generating E:/projects/Maven/docs/javadoc.html from E:\projects\Maven\generated-xdocs\javadoc.xml [echo] Generating E:/projects/Maven/docs/jdepend-report.html from E:\projects\Maven\generated-xdocs\jdepend-report.xml [echo] Generating E:/projects/Maven/docs/junit-report.html from E:\projects\Maven\generated-xdocs\junit-report.xml [echo] Generating E:/projects/Maven/docs/linkcheck.html from E:\projects\Maven\generated-xdocs\linkcheck.xml [echo] Generating E:/projects/Maven/docs/mail-lists.html from E:\projects\Maven\generated-xdocs\mail-lists.xml [echo] Generating E:/projects/Maven/docs/maven-reports.html from E:\projects\Maven\generated-xdocs\maven-reports.xml [echo] Generating E:/projects/Maven/docs/project-info.html from E:\projects\Maven\generated-xdocs\project-info.xml [echo] Generating E:/projects/Maven/docs/task-list.html from E:\projects\Maven\generated-xdocs\task-list.xml [echo] Generating E:/projects/Maven/docs/team-list.html from E:\projects\Maven\generated-xdocs\team-list.xmlTransforming user supplied documentation. BUILD FAILEDFile.. file:/C:/Documents and Settings/eurcolche/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/Element... j:forEachLine.. 283Column 60java.lang.OutOfMemoryErrorTotal time: 110 minutes 25 seconds E:\projects\automa Eran Chinthaka Software Engineer Eurocenter DDC Limited 65, Walukarama Road Colombo 03 Tel: (+94) 074 721194-6 E-Mail : [EMAIL PROTECTED]
RE: OutOfMemory Error
I checked the wiki and disabled the linkcheck plugin. But the problem of out of memory is still there :( Eran Chinthaka Eurocenter DDC Limited 65, Walukarama Road Colombo 03 Tel: 074 721194-6 -Original Message- From: Siegfried Göschl [mailto:[EMAIL PROTECTED] Sent: 25 August 2003 15:16 To: Maven Users List Subject: RE: OutOfMemory Error checkout the FAQ at the maven wiki Siegfried Goeschl On 25 Aug 2003 at 12:21, Eran Chinthaka wrote: I found the method to increase the memory. But how to disable the linkcheck plugin -Original Message- From: Eran Chinthaka Sent: 25 August 2003 08:48 To: Maven Users List Subject: RE: OutOfMemory Error Please forgive me for asking a question like this. But I have to ask this as I'm a newbie to this and really interested in this. How can I disable linkcheck plugin or increase memory (via MAVEN_OPTS). My system has 512 MB memory. Eran Chinthaka -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 August 2003 08:28 To: Maven Users List Subject: Re: OutOfMemory Error Either disable the linkcheck plugin (post goal) or increase memory (via MAVEN_OPTS). -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 22/08/2003 09:50:03 PM: [echo] Generating E:/mavenReports/docs/junit-report.html from E: \mavenReports\generated-xdocs\junit-report.xml [echo] Generating E:/mavenReports/docs/linkcheck.html from E: \mavenReports\generated-xdocs\linkcheck.xml [echo] Generating E:/mavenReports/docs/mail-lists.html from E: \mavenReports\generated-xdocs\mail-lists.xml [echo] Generating E:/mavenReports/docs/maven-reports.html from E:\mavenReports\generated-xdocs\maven-reports.xml [echo] Generating E:/mavenReports/docs/project-info.html from E: \mavenReports\generated-xdocs\project-info.xml [echo] Generating E:/mavenReports/docs/task-list.html from E: \mavenReports\generated-xdocs\task-list.xml [echo] Generating E:/mavenReports/docs/team-list.html from E: \mavenReports\generated-xdocs\team-list.xml maven-linkcheck-plugin: Not using a proxy BUILD FAILED java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag. doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript. run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ForEachTag. doTag(ForEachTag.java:145) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PostGoalTag$1. firePostGoal(PostGoalTag.java:87) at com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710) at com.werken.werkz.Goal.fire(Goal.java:654) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at
Re: installing maven
On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Parse java code
Are there open source maven plugins / tools to a) parse java code b) create a xml document based on certain key words in the java code. Thanks Vaidhy
RE: OutOfMemory Error
Hi Eran, I'm puzzled why you still run out of memory since I build fairly huge application with 256 MB for the JVM Some things you could do +) If you are using the multi-project plugin (aka reactor) then stop using it. It does all the work within a single JVM and a couple of tools such as javac do have memory leaks. I'm using ant ANT script to do the work of reactor ... +) Using forking for the JUNIT regression tests then the tests execute in a separate JVM +) I aslo ran out of memory for creating javadoc and therefore I tweaked the plugin to use more memory for the javadoc process (at least for MAVEN b7) Cheers, Siegfried Goeschl On 25 Aug 2003 at 15:55, Eran Chinthaka wrote: I checked the wiki and disabled the linkcheck plugin. But the problem of out of memory is still there :( Eran Chinthaka Eurocenter DDC Limited 65, Walukarama Road Colombo 03 Tel: 074 721194-6 -Original Message- From: Siegfried Göschl [mailto:[EMAIL PROTECTED] Sent: 25 August 2003 15:16 To: Maven Users List Subject: RE: OutOfMemory Error checkout the FAQ at the maven wiki Siegfried Goeschl On 25 Aug 2003 at 12:21, Eran Chinthaka wrote: I found the method to increase the memory. But how to disable the linkcheck plugin -Original Message- From: Eran Chinthaka Sent: 25 August 2003 08:48 To: Maven Users List Subject: RE: OutOfMemory Error Please forgive me for asking a question like this. But I have to ask this as I'm a newbie to this and really interested in this. How can I disable linkcheck plugin or increase memory (via MAVEN_OPTS). My system has 512 MB memory. Eran Chinthaka -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 August 2003 08:28 To: Maven Users List Subject: Re: OutOfMemory Error Either disable the linkcheck plugin (post goal) or increase memory (via MAVEN_OPTS). -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 22/08/2003 09:50:03 PM: [echo] Generating E:/mavenReports/docs/junit-report.html from E: \mavenReports\generated-xdocs\junit-report.xml [echo] Generating E:/mavenReports/docs/linkcheck.html from E: \mavenReports\generated-xdocs\linkcheck.xml [echo] Generating E:/mavenReports/docs/mail-lists.html from E: \mavenReports\generated-xdocs\mail-lists.xml [echo] Generating E:/mavenReports/docs/maven-reports.html from E:\mavenReports\generated-xdocs\maven-reports.xml [echo] Generating E:/mavenReports/docs/project-info.html from E: \mavenReports\generated-xdocs\project-info.xml [echo] Generating E:/mavenReports/docs/task-list.html from E: \mavenReports\generated-xdocs\task-list.xml [echo] Generating E:/mavenReports/docs/team-list.html from E: \mavenReports\generated-xdocs\team-list.xml maven-linkcheck-plugin: Not using a proxy BUILD FAILED java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag. doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript. run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ForEachTag. doTag(ForEachTag.java:145) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at
Regardig Maven clover report
Hi all, I am using Maven beta 10 to generate clover code coverage report. Site generation fails, if there are failures in test cases. how can we proceed with the site generation though there are failures in test cases.?? I am getting the following error message: BUILD FAILED null:37:50: attainGoal null:51:44: attainGoal null:108:54: fail There were test failures. Regards, RK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Regardig Maven clover report
Hi all, I am using Maven beta 10 to generate clover code coverage report. Site generation fails, if there are failures in test cases. how can we proceed with the site generation though there are failures in test cases.?? I am getting the following error message: BUILD FAILED null:37:50: attainGoal null:51:44: attainGoal null:108:54: fail There were test failures. Regards, RK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [upload] Java Tar
Licensing? project details? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Henri Yandell [EMAIL PROTECTED] wrote on 25/08/2003 02:13:47 PM: Could someone upload the JTar API from: http://www.trustice.com/java/tar/ to the ibiblio repository please? Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: OutOfMemory Error
To set MAVEN_OPTS on windows: SET MAVEN_OPTS=-Xmx512m Then run maven as usual. To disable the linkcheck report use a maven.xml like this: project xmlns:j=jelly:core xmlns:doc=doc preGoal name=site doc:deregisterReport name=Link Check Report/ /preGoal /project -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 25/08/2003 12:47:34 PM: Please forgive me for asking a question like this. But I have to ask this as I'm a newbie to this and really interested in this. How can I disable linkcheck plugin or increase memory (via MAVEN_OPTS). My system has 512 MB memory. Eran Chinthaka -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 August 2003 08:28 To: Maven Users List Subject: Re: OutOfMemory Error Either disable the linkcheck plugin (post goal) or increase memory (via MAVEN_OPTS). -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 22/08/2003 09:50:03 PM: [echo] Generating E:/mavenReports/docs/junit-report.html from E: \mavenReports\generated-xdocs\junit-report.xml [echo] Generating E:/mavenReports/docs/linkcheck.html from E: \mavenReports\generated-xdocs\linkcheck.xml [echo] Generating E:/mavenReports/docs/mail-lists.html from E: \mavenReports\generated-xdocs\mail-lists.xml [echo] Generating E:/mavenReports/docs/maven-reports.html from E:\mavenReports\generated-xdocs\maven-reports.xml [echo] Generating E:/mavenReports/docs/project-info.html from E: \mavenReports\generated-xdocs\project-info.xml [echo] Generating E:/mavenReports/docs/task-list.html from E: \mavenReports\generated-xdocs\task-list.xml [echo] Generating E:/mavenReports/docs/team-list.html from E: \mavenReports\generated-xdocs\team-list.xml maven-linkcheck-plugin: Not using a proxy BUILD FAILED java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag. doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript. run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ForEachTag. doTag(ForEachTag.java:145) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PostGoalTag$1. firePostGoal(PostGoalTag.java:87) at com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710) at com.werken.werkz.Goal.fire(Goal.java:654) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) at org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag. doTag(LazyAttainGoalTag.java:107) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
Re: OutOfMemory Error
What are your values for: maven.docs.src maven.docs.dest Jeff On Mon, 25 Aug 2003, at 15:06:43 [GMT +0600] Eran Chinthaka wrote: Please help me to uvercome this error. I'm repeatedly getting this OutOfMemory Error. I increased the memory in Maven and I have 512mb of memory. And the time it takes to to generate maven site is incredibly large. maven-javadoc-plugin:register: maven-jxr-plugin:register: maven-junit-report-plugin:register: maven-linkcheck-plugin:register: maven-tasklist-plugin:register: xdoc:jelly-transform: [echo] Generating E:/projects/Maven/docs/changelog-report.html from E:\projects\Maven\generated-xdocs\changelog-report.xml [echo] Generating E:/projects/Maven/docs/checkstyle-report.html from E:\projects\Maven\generated-xdocs\checkstyle-report.xml [echo] Generating E:/projects/Maven/docs/cvs-usage.html from E:\projects\Maven\generated-xdocs\cvs-usage.xml [echo] Generating E:/projects/Maven/docs/dependencies.html from E:\projects\Maven\generated-xdocs\dependencies.xml [echo] Generating E:/projects/Maven/docs/developer-activity-report.html from E:\projects\Maven\generated-xdocs\developer-activity-report.xml [echo] Generating E:/projects/Maven/docs/file-activity-report.html from E:\projects\Maven\generated-xdocs\file-activity-report.xml [echo] Generating E:/projects/Maven/docs/index.html from E:\projects\Maven\generated-xdocs\index.xml [echo] Generating E:/projects/Maven/docs/issue-tracking.html from E:\projects\Maven\generated-xdocs\issue-tracking.xml [echo] Generating E:/projects/Maven/docs/javadoc.html from E:\projects\Maven\generated-xdocs\javadoc.xml [echo] Generating E:/projects/Maven/docs/jdepend-report.html from E:\projects\Maven\generated-xdocs\jdepend-report.xml [echo] Generating E:/projects/Maven/docs/junit-report.html from E:\projects\Maven\generated-xdocs\junit-report.xml [echo] Generating E:/projects/Maven/docs/linkcheck.html from E:\projects\Maven\generated-xdocs\linkcheck.xml [echo] Generating E:/projects/Maven/docs/mail-lists.html from E:\projects\Maven\generated-xdocs\mail-lists.xml [echo] Generating E:/projects/Maven/docs/maven-reports.html from E:\projects\Maven\generated-xdocs\maven-reports.xml [echo] Generating E:/projects/Maven/docs/project-info.html from E:\projects\Maven\generated-xdocs\project-info.xml [echo] Generating E:/projects/Maven/docs/task-list.html from E:\projects\Maven\generated-xdocs\task-list.xml [echo] Generating E:/projects/Maven/docs/team-list.html from E:\projects\Maven\generated-xdocs\team-list.xml Transforming user supplied documentation. BUILD FAILED File.. file:/C:/Documents and Settings/eurcolche/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/ Element... j:forEach Line.. 283 Column 60 java.lang.OutOfMemoryError Total time: 110 minutes 25 seconds E:\projects\automa _ Eran Chinthaka Software Engineer Eurocenter DDC Limited 65, Walukarama Road Colombo 03 Tel: (+94) 074 721194-6 E-Mail : [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven mockdoclet
Sorry, I should be more precise: Mockdoclet is part of XDoclet. They provide a XDoclet plugin for maven and I'm just wondering if somebody ever worked with the mockobject part of it. This is what we've done: taskdef name=mockdoclet classname=org.mockmaker.doclet.MockObjectDocletTask classpath refid=maven.dependency.classpath/ /taskdef preGoal name=test:compile available property=generate_mocklet file=${maven.build.dir}/xdoclet/ j:if test=${generate_mocklet} mkdir dir=${maven.build.dir}/xdoclet/test/ echoGenerating Mock Object Source/echo mockdoclet destdir=${maven.build.dir}/xdoclet/test fileset dir=${maven.build.dir}/xdoclet/java include name=**/*.java/ /fileset mockobject/ /mockdoclet path id=mock.doclet.gen.src location=${maven.build.dir}/xdoclet/test/ maven:addPath id=maven.test.compile.src.set refid=mock.doclet.gen.src/ /j:if /preGoal Dom On Mon, 2003-08-25 at 03:12, [EMAIL PROTECTED] wrote: There isn't a mockdoclet plugin shipped with maven. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Dominik Dahlem [EMAIL PROTECTED] wrote on 23/08/2003 02:23:53 AM: Hi all, I wanna use mockdoclets with maven. However, the mockdoclet seems to be in early development stages in terms of maven integration. In the maven plugin no default properties for mockdoclet are set. Has anyone been using it with maven or can anyone give me directions on how to use it? Any help is greatly appreciated. Thx, Dominik - 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]
Newbie: XDoclet plugin does not generate nothing...
Hi *, I'm trying to use the Maven XDoclet Plugin 1.2b4 / EjbDoclet with Maven 1.0 Beta 10. I let almost all default options (and tried other combinations). Even if I have files matching the default **/*Bean.java pattern, it seems no Java EJB source is found since I see nothing generated except for an empty ejb-jar.xml. I checked several settings but my sources are under src/java and my project is very simple and unitary. So my questions: - is there a sample Maven project running XDoclet(EJB) available? - in another scope, are there plans to create a Maven sample J2EE project such as the Petstore demo. It would be great to start with for new users (I used the small Everest sample to create my project structure). Thx, Fabrice - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Newbie: XDoclet plugin does not generate nothing...
Can you post your project.xml and your project.properties? -Ursprüngliche Nachricht- Von: Fabrice DELHOSTE [mailto:[EMAIL PROTECTED] Gesendet am: Montag, 25. August 2003 15:12 An: [EMAIL PROTECTED] Betreff: Newbie: XDoclet plugin does not generate nothing... Hi *, I'm trying to use the Maven XDoclet Plugin 1.2b4 / EjbDoclet with Maven 1.0 Beta 10. I let almost all default options (and tried other combinations). Even if I have files matching the default **/*Bean.java pattern, it seems no Java EJB source is found since I see nothing generated except for an empty ejb-jar.xml. I checked several settings but my sources are under src/java and my project is very simple and unitary. So my questions: - is there a sample Maven project running XDoclet(EJB) available? - in another scope, are there plans to create a Maven sample J2EE project such as the Petstore demo. It would be great to start with for new users (I used the small Everest sample to create my project structure). Thx, Fabrice - 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: Newbie: XDoclet plugin does not generate nothing...
On Monday 25 Aug 2003 14:12, Fabrice DELHOSTE wrote: Hi *, I'm trying to use the Maven XDoclet Plugin 1.2b4 / EjbDoclet with Maven 1.0 Beta 10. I let almost all default options (and tried other combinations). Even if I have files matching the default **/*Bean.java pattern, it seems no Java EJB source is found since I see nothing generated except for an empty ejb-jar.xml. I checked several settings but my sources are under src/java and my project is very simple and unitary. So my questions: - is there a sample Maven project running XDoclet(EJB) available? - in another scope, are there plans to create a Maven sample J2EE project such as the Petstore demo. It would be great to start with for new users (I used the small Everest sample to create my project structure). I have an app that uses Maven and xdoclet/ejbdoclet. Go to http://www.ajsoft.net/Products/WebShop and you can download the source distribution. -- Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie: XDoclet plugin does not generate nothing...
Thanks a lot. It is always simpler with an example. My error was simple: the package in the inherited projet.xml was wrong and so Java sources, probably loaded thru class loader, were not found. Fabrice -Original Message- From: Andy Jefferson [mailto:[EMAIL PROTECTED] Sent: lundi 25 août 2003 15:43 To: Maven Users List Subject: Re: Newbie: XDoclet plugin does not generate nothing... On Monday 25 Aug 2003 14:12, Fabrice DELHOSTE wrote: Hi *, I'm trying to use the Maven XDoclet Plugin 1.2b4 / EjbDoclet with Maven 1.0 Beta 10. I let almost all default options (and tried other combinations). Even if I have files matching the default **/*Bean.java pattern, it seems no Java EJB source is found since I see nothing generated except for an empty ejb-jar.xml. I checked several settings but my sources are under src/java and my project is very simple and unitary. So my questions: - is there a sample Maven project running XDoclet(EJB) available? - in another scope, are there plans to create a Maven sample J2EE project such as the Petstore demo. It would be great to start with for new users (I used the small Everest sample to create my project structure). I have an app that uses Maven and xdoclet/ejbdoclet. Go to http://www.ajsoft.net/Products/WebShop and you can download the source distribution. -- Andy - 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]
maven.final.name
When defining a postGoal to jar:jar, I expect the maven.final.name variable to point to the recently-created jar file. This is correct when jar:jar is invoked directly, but not when it is invoked via jar:snapshot. jar:snapshot does a j:set/ of maven.final.name to snapshotSignature. However, that j:set is lost to the postGoal. postGoal name=jar:jar ant:echo message=Jar just created: ${maven.final.name}.jar/ /postGoal log output: jar:snapshot: [echo] Building snapshot JAR: commons-attributes-unittest-20030823.185627 java:prepare-filesystem: java:compile: . . . jar:jar: [jar] Building jar: C:\Home\leo\Private\Apache\jakarta-commons-sandbox\attri butes\unittest\target\commons-attributes-unittest-20030823.185627.jar [echo] Jar just created: commons-attributes-unittest-2.0alpha.jar Question: 1. Is this on purpose or is it a bug? 2. Is there any other way to get athe name of the jar just created from a postGoal to jar:jar? /LS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jelly if problem
Hello In a maven.xml, I have the following code: j:set var=idl.already.generated value=false/ u:available file=${idl.generated} j:set var=idl.already.generated value=true/ /u:available ant:echo message=${idl.already.generated}/ !-- the following line allways prints true-- ant:echo message=${!idl.already.generated}/ j:if test=${!idl.already.generated} ant:echo message=generating idl bindings/ !-- idl compiling goes here-- /j:if The second echo always prints true, so maven always compile my idl's. I've tried a lot of severals combinations (ant:available, ${idl.already.generated == null}, ${idl.already.generated != null}, etc) but I can't make it work. Somebody can help me? Thanks in advance Nelson Arapé - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: installing maven
I have not specified any urls any where. I am just trying to run maven, out of the box. Thanks, Hetal -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 4:40 AM To: Maven Users List Subject: Re: installing maven On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - 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: [upload] Java Tar
Licence as such is: Public Domain This work was autored by Timothy Gerard Endres, [EMAIL PROTECTED] This work has been placed into the public domain. You are free to use this work in any way you wish. DISCLAIMER THIS SOFTWARE IS PROVIDED AS-IS, WITH ABSOLUTELY NO WARRANTY. YOU ASSUME ALL RESPONSIBILITY FOR ANY AND ALL CONSEQUENCES THAT MAY RESULT FROM THE USE OF THIS SOFTWARE! I believe Ant use a fork of the code, but not the original. Project details? It's a tar implemenation, allowing me to build tar files from Java. Specifically allowing me to work on an IPKG library for Sharp Zaurii :) Hen On Mon, 25 Aug 2003 [EMAIL PROTECTED] wrote: Licensing? project details? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Henri Yandell [EMAIL PROTECTED] wrote on 25/08/2003 02:13:47 PM: Could someone upload the JTar API from: http://www.trustice.com/java/tar/ to the ibiblio repository please? Hen - 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: Jelly if problem
I'll bet that your false and true j:set's are just setting the variable to the string false or the string true. Try testing for that (i.e. j:if test=${idl.already.generated == 'false'}) HTH, Paul -Original Message- From: Nelson Arapé [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: Jelly if problem Hello In a maven.xml, I have the following code: j:set var=idl.already.generated value=false/ u:available file=${idl.generated} j:set var=idl.already.generated value=true/ /u:available ant:echo message=${idl.already.generated}/ !-- the following line allways prints true-- ant:echo message=${!idl.already.generated}/ j:if test=${!idl.already.generated} ant:echo message=generating idl bindings/ !-- idl compiling goes here-- /j:if The second echo always prints true, so maven always compile my idl's. I've tried a lot of severals combinations (ant:available, ${idl.already.generated == null}, ${idl.already.generated != null}, etc) but I can't make it work. Somebody can help me? Thanks in advance Nelson Arapé - 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: Jelly if problem
On Monday 25 August 2003 13:19, O'Fallon, Paul (MAN-Corporate) wrote: I'll bet that your false and true j:set's are just setting the variable to the string false or the string true. Try testing for that (i.e. j:if test=${idl.already.generated == 'false'}) Already done, dosen't work, but thanks HTH, Paul -Original Message- From: Nelson Arapé [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: Jelly if problem Hello In a maven.xml, I have the following code: j:set var=idl.already.generated value=false/ u:available file=${idl.generated} j:set var=idl.already.generated value=true/ /u:available ant:echo message=${idl.already.generated}/ !-- the following line allways prints true-- ant:echo message=${!idl.already.generated}/ j:if test=${!idl.already.generated} ant:echo message=generating idl bindings/ !-- idl compiling goes here-- /j:if The second echo always prints true, so maven always compile my idl's. I've tried a lot of severals combinations (ant:available, ${idl.already.generated == null}, ${idl.already.generated != null}, etc) but I can't make it work. Somebody can help me? Thanks in advance Nelson Arapé - 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]
Fwd: Re: Jelly if problem
Here is the answer that Evan gave privately, and I forwaring here with his permission. His answer fixed my problem. Thanks again Evan Nelson Arapé ---BeginMessage--- I'm not much of an expert so I expect someone else more knowledgable to respond (which is why this is going directly to you). Short answer: use _ instead of . in your variable names. Jelly is interpreting the j:if and looking for object idl, to have property already which has property generated. Or equivalent to: idl.getAlready().getGenerated(). Changing the . to _ will make it more like a Java variable idl_already_generated. Evan Nelson Arapé wrote: Hello In a maven.xml, I have the following code: j:set var=idl.already.generated value=false/ u:available file=${idl.generated} j:set var=idl.already.generated value=true/ /u:available ant:echo message=${idl.already.generated}/ !-- the following line allways prints true-- ant:echo message=${!idl.already.generated}/ j:if test=${!idl.already.generated} ant:echo message=generating idl bindings/ !-- idl compiling goes here-- /j:if The second echo always prints true, so maven always compile my idl's. I've tried a lot of severals combinations (ant:available, ${idl.already.generated == null}, ${idl.already.generated != null}, etc) but I can't make it work. Somebody can help me? Thanks in advance Nelson Arapé - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---End Message--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Controling dependency timeouts
Hello, Is there a way to control dependency downloads timeouts from a remote repository when multiple repositories are used? Would there be properties that can be put into the project.properties file for these settings? Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Faile to download v 1.0-bet10
Hi!! I download Mave 1-0-beta-10... When I execute maven site:generate The next error happen __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 Attempting to download j2ee-1.2.jar. WARNING: Failed to download j2ee-1.2.jar. Attempting to download ejbDeployment-1.0.jar. WARNING: Failed to download ejbDeployment-1.0.jar. Attempting to download struts-1.0.jar. WARNING: Failed to download struts-1.0.jar. Attempting to download swt-1.0.jar. WARNING: Failed to download swt-1.0.jar. Attempting to download servlet-1.2.jar. WARNING: Failed to download servlet-1.2.jar. Attempting to download hibernate-2.0.jar. WARNING: Failed to download hibernate-2.0.jar. The build cannot continue because of the following unsatisfied dependencies: j2ee-1.2.jar ejbDeployment-1.0.jar struts-1.0.jar swt-1.0.jar servlet-1.2.jar hibernate-2.0.jar Total time: 30 seconds I setup build.properties with maven.proxy.host = host-proxy maven.proxy.port = 80 but I can't generate the site. What is wrong ? Help Pablo Rodriguez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Parse java code
It might be helpful to describe what are you planning to do ... Cheers, Siegfried Goeschl On 25 Aug 2003 at 7:06, Kumar, Vaidhyanatha K. wrote: Are there open source maven plugins / tools to a) parse java code b) create a xml document based on certain key words in the java code. Thanks Vaidhy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]