Re: Can Maven work with Ant versions newer than 1.5?
Did you fix the forehead.conf file to use the new Ant jars? I've successfully done this previously. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Amnon Khen [EMAIL PROTECTED] wrote on 04/12/2003 11:43:25 PM: Hi, Can Maven work with Ant versions newer than 1.5? In my build process I need functionally introduced in Ant 1.6? How can I make Maven use that version of Ant? I tried replacing the Ant jars in $MAVEN_HOME/lib but got the following exception: 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) What am I doing wrong? Thanks in advance, Amnon __ Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] / http://www.cash-u.com http://www.cash-u.com/ Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya 36880, Israel / Tel: +972 9 8920888 Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK / Tel: +44 20 8323 8066 Asia-Pacific - 47A Duxton Road, Singapore 089511 / Tel: +65 67322440 __ This e-mail message and its attachments are for the sole use of the intended recipient(s), may contain confidential and/or privileged information and are to be regarded as confidential information under any non disclosure agreement. Any review, use, disclosure or distribution by persons or entities other than the intended recipient(s) is prohibited. If you are not the intended recipient, please contact the sender by reply and destroy all copies of the original message and its attachments. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: No hrefs getting included from navigation.xml
Chad Woolley [EMAIL PROTECTED] wrote on 04/12/2003 12:25:39 PM: Jason van Zyl wrote: Try following the same pattern we use: http://cvs.apache.org/viewcvs.cgi/maven/xdocs/navigation.xml?rev=1. 33content-type=text/vnd.viewcvs-markup And register an issue in JIRA here: http://jira.codehaus.org/secure/BrowseProject.jspa?id=10355 The plugin should be smart enough to work without the leading slash. Jason, Thanks for the input, but no amount of leading slashes or dots would work. However, rolling back to Maven 1.0 beta 9 fixed everything. This is definitely a bug in RC1. Here's the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?id=12877 Thanks for your help, Chad FYI - I originally upgraded to RC1 because my checkstyle broke on one of my machines. RC1 didn't fix it, so I'll stick with beta 9 for a while longer :). It's most definitely not a bug in RC1 on a clean install. Almost always the solution here has been to delete the cached plugins, and any old maven-xdoc-plugin jars in the ${maven.home}/plugins directory. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem using ftp task from maven.xml
I am having problem using the optional ftp task from maven.xml. I have search the mail list and google with no luck. Please help. I have the following dependencies in my project.xml : dependency groupIdant/groupId artifactIdant-optional/artifactId version1.5.1/version urlhttp://jakarta.apache.org/ant//url /dependency dependency groupIdnetcomponents/groupId artifactIdnetcomponents/artifactId version1.3.8a/version urlhttp://jakarta.apache.org/commons/net//url /dependency And the following in my maven.xml : goal name=site-ftp ant:taskdef name=ftp classname=org.apache.tools.ant.taskdefs.optional.net.FTP / ant:classpath ant:path refid=maven.dependency.classpath/ ant:pathelement location=${plugin.getDependencyPath('ant:ant-optional')}/ ant:pathelement location=${plugin.getDependencyPath('netcomponents:netcomponents')}/ /ant:classpath ant:ftp server=${maven.deploy.site.address} userid=${maven.deploy.site.username} password=${maven.deploy.site.password} remotedir=${maven.deploy.site.dir} verbose=yes ant:fileset dir=${maven.docs.dest}/ /ant:ftp /goal
HELP: collapsible items
Hi all, I'm trying to create collapsible items as stated in: http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-collapse this is navigation file (which is only being used for testing at the moment): ?xml version=1.0 encoding=ISO-8859-1? !-- Document : navigation.xml Created on : November 23, 2003, 9:59 AM Author : stavares Description: Purpose of the document follows. -- project name=Infacts-Web body menu name=Overview item name=Project Charter href=project-charter.html collapse=true item name=Project Team href=/team-list.html/ /item item name=Home href=index.html/ item name=Problems href=problems.html/ item name=Enhancements href=enhancements.html/ item name=Participating Groups href=groups.html/ item name=News and Status href=news-and-status.html/ item name=Reference Documentation href=reference-documentation.html/ /menu /body /project This prduces the + glif but when I click on it does not expand. Check it out your self: http://www.thecityside.com/infacts-web-1.0-site/project-charter.html Any help will be great appreciated. -Scott- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HELP: collapsible items
Scott, in order for it too work href should be absolute (begin with '/') (for both parent and child items if i remember correctly) : item name=Project Charter href=/project-charter.html collapse=true item name=Project Team href=/team-list.html/ /item -- gd Scott Tavares wrote: Hi all, I'm trying to create collapsible items as stated in: http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-collapse this is navigation file (which is only being used for testing at the moment): ?xml version=1.0 encoding=ISO-8859-1? !-- Document : navigation.xml Created on : November 23, 2003, 9:59 AM Author : stavares Description: Purpose of the document follows. -- project name=Infacts-Web body menu name=Overview item name=Project Charter href=project-charter.html collapse=true item name=Project Team href=/team-list.html/ /item item name=Home href=index.html/ item name=Problems href=problems.html/ item name=Enhancements href=enhancements.html/ item name=Participating Groups href=groups.html/ item name=News and Status href=news-and-status.html/ item name=Reference Documentation href=reference-documentation.html/ /menu /body /project This prduces the + glif but when I click on it does not expand. Check it out your self: http://www.thecityside.com/infacts-web-1.0-site/project-charter.html Any help will be great appreciated. -Scott- - 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: HELP: collapsible items
Scott Tavares wrote: Hi all, I'm trying to create collapsible items as stated in: http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-collapse this is navigation file (which is only being used for testing at the moment): ?xml version=1.0 encoding=ISO-8859-1? !-- Document : navigation.xml Created on : November 23, 2003, 9:59 AM Author : stavares Description: Purpose of the document follows. -- project name=Infacts-Web body menu name=Overview item name=Project Charter href=project-charter.html collapse=true item name=Project Team href=/team-list.html/ /item item name=Home href=index.html/ item name=Problems href=problems.html/ item name=Enhancements href=enhancements.html/ item name=Participating Groups href=groups.html/ item name=News and Status href=news-and-status.html/ item name=Reference Documentation href=reference-documentation.html/ /menu /body /project This prduces the + glif but when I click on it does not expand. Check it out your self: http://www.thecityside.com/infacts-web-1.0-site/project-charter.html Any help will be great appreciated. -Scott- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] WooHoo!!! That worked. Thanks. -Scott- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
newbie question on project structure
I have been looking at maven in my spare time for the last week or so, and I am very impressed. I'm using it to build a couple of 'trivial' projects, where the final output is a jar file used in another project. I'm now using multiproject to build a more complex project consisting of several of these smaller projects. I have searched the archives, but can't find an answer for a couple of organizational questions. If someone could point me to an existing project as an example I could rip apart, I would be very appreciative. The project I want to build will have this final structure, that will be the structure I would like to deploy (this is not a J2EE app... it is a swing app with an embeded database and several command-line utilities.: deployed-project-directory | |--lib // contains all the jar files | |--bin // contains several bash script tools used as command | // line utilities, as well as the startup for the | // swing client/ | |--sbin // contains several other command-line tools So, my first question is a philosophical one - how can I build multiple command-line scripts when the pom should just be generating one artifact? My other questions have to do with the structure - during my subprojects build, how do I 'install' them into the lib directory? Is there a way I can user the dependency tags in the pom to generate the classpath that the shell scripts will contain? A link to a project that does similar things will be enough to answer my questions... I'll enjoy ripping it apart for the discovery. Thanks, -db - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem using ftp task from maven.xml
What type of problem? Can you provide a stack trace by running with maven -X? Ian Kent wrote: I am having problem using the optional ftp task from maven.xml. I have search the mail list and google with no luck. Please help. I have the following dependencies in my project.xml : dependency groupIdant/groupId artifactIdant-optional/artifactId version1.5.1/version urlhttp://jakarta.apache.org/ant//url /dependency dependency groupIdnetcomponents/groupId artifactIdnetcomponents/artifactId version1.3.8a/version urlhttp://jakarta.apache.org/commons/net//url /dependency And the following in my maven.xml : goal name=site-ftp ant:taskdef name=ftp classname=org.apache.tools.ant.taskdefs.optional.net.FTP / ant:classpath ant:path refid=maven.dependency.classpath/ ant:pathelement location=${plugin.getDependencyPath('ant:ant-optional')}/ ant:pathelement location=${plugin.getDependencyPath('netcomponents:netcomponents')}/ /ant:classpath ant:ftp server=${maven.deploy.site.address} userid=${maven.deploy.site.username} password=${maven.deploy.site.password} remotedir=${maven.deploy.site.dir} verbose=yes ant:fileset dir=${maven.docs.dest}/ /ant:ftp /goal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem using ftp task from maven.xml
Sorry I wasn't more clear about problem :-( I receive the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found Here is the stack trace: [DEBUG] Adding reference: maven.dependency.classpath - D:\Profiles\IANKENT\.maven\repository\ant\jars\ant-1.5.1.jar;D:\Profiles\IAN KENT\.maven\repository\ant\jars\ant-optional-1.5.1.jar;D:\Profiles\IANKENT\. maven\repository\netcomponents\jars\netcomponents-1.3.8a.jar;D:\Profiles\IAN KENT\.maven\repository\junit\jars\junit-3.8.1.jar;D:\Profiles\IANKENT\.maven \repository\xdoclet\jars\xdoclet-web-module-1.2b4.jar;D:\Profiles\IANKENT\.m aven\repository\xdoclet\jars\xdoclet-ejb-module-1.2b4.jar;D:\Profiles\IANKEN T\.maven\repository\xdoclet\jars\xdoclet-jboss-module-1.2b4.jar;D:\Profiles\ IANKENT\.maven\repository\xdoclet\jars\xdoclet-jmx-module-1.2b4.jar;D:\Profi les\IANKENT\.maven\repository\ejb\jars\ejb-2.1.jar;D:\Profiles\IANKENT\.mave n\repository\commons-collections\jars\commons-collections-2.1.jar;D:\Profile s\IANKENT\.maven\repository\sybase\jars\sybase-jdbc-12.5.1b.jar;D:\Profiles\ IANKENT\.maven\repository\log4j\jars\log4j-1.2.8.jar;D:\Profiles\IANKENT\.ma ven\repository\dml\jars\comms-junit-tests-1.0.jar;D:\Profiles\IANKENT\.maven \repository\dml\jars\rms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\ dml\jars\fms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\com ms-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\rms_intf-1.0.jar;D :\Profiles\IANKENT\.maven\repository\dml\jars\fms_intf-1.0.jar;D:\Profiles\I ANKENT\.maven\repository\dml\jars\wirelessExtensions_intf-1.0.jar;D:\Profile s\IANKENT\.maven\repository\dml\jars\wirelessExtensions_impl-1.0.jar;D:\Prof iles\IANKENT\.maven\repository\dml\jars\commonfaultmgmt-1.0.jar;D:\Profiles\ IANKENT\.maven\repository\ossj\jars\ossj-common-ri-1.0.jar;D:\Profiles\IANKE NT\.maven\repository\jboss\jars\mft-jca-1.5.jar;D:\Profiles\IANKENT\.maven\r epository\jboss\jars\jmx-rmi-connector-client-3.2.1.jar;D:\Profiles\IANKENT\ .maven\repository\jboss\jars\jboss-j2ee-3.2.1.jar;D:\Profiles\IANKENT\.maven \repository\jboss\jars\jboss-system-3.2.1.jar;D:\Profiles\IANKENT\.maven\rep ository\jboss\jars\jboss-jmx-3.2.1.jar [available] [VERBOSE] Unable to find src\java to set property sourcesPresent [available] [VERBOSE] Unable to find src\test to set property unitTestSourcesPresent [DEBUG] Adding reference: maven-classpath - site-ftp: [echo] transfering site to ... [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.optional.net.FTP loaded from parent loader BUILD FAILED File.. file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/ Element... ant:taskdef Line.. 45 Column 90 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site-ftp] -- file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) 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 org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at
Re: No hrefs getting included from navigation.xml
I renamed my old maven dir to \maven.old, and reinstalled from the windows executable to \maven. MAVEN_HOME still points at \maven. Is this not a clean install? Is there something else I need to delete on an upgrade? dion wrote: It's most definitely not a bug in RC1 on a clean install. Almost always the solution here has been to delete the cached plugins, and any old maven-xdoc-plugin jars in the ${maven.home}/plugins directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem using ftp task from maven.xml
Do the dependencies have propertiesclassloaderroot/classloader/properties in them? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 07:41:07 AM: Sorry I wasn't more clear about problem :-( I receive the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found Here is the stack trace: [DEBUG] Adding reference: maven.dependency.classpath - D:\Profiles\IANKENT\.maven\repository\ant\jars\ant-1.5.1.jar;D:\Profiles\IAN KENT\.maven\repository\ant\jars\ant-optional-1.5.1.jar;D:\Profiles\IANKENT\. maven\repository\netcomponents\jars\netcomponents-1.3.8a.jar;D:\Profiles\IAN KENT\.maven\repository\junit\jars\junit-3.8.1.jar;D:\Profiles\IANKENT\.maven \repository\xdoclet\jars\xdoclet-web-module-1.2b4.jar;D:\Profiles\IANKENT\.m aven\repository\xdoclet\jars\xdoclet-ejb-module-1.2b4.jar;D:\Profiles\IANKEN T\.maven\repository\xdoclet\jars\xdoclet-jboss-module-1.2b4.jar;D:\Profiles\ IANKENT\.maven\repository\xdoclet\jars\xdoclet-jmx-module-1.2b4.jar;D:\Profi les\IANKENT\.maven\repository\ejb\jars\ejb-2.1.jar;D:\Profiles\IANKENT\.mave n\repository\commons-collections\jars\commons-collections-2.1.jar;D:\Profile s\IANKENT\.maven\repository\sybase\jars\sybase-jdbc-12.5.1b.jar;D:\Profiles\ IANKENT\.maven\repository\log4j\jars\log4j-1.2.8.jar;D:\Profiles\IANKENT\.ma ven\repository\dml\jars\comms-junit-tests-1.0.jar;D:\Profiles\IANKENT\.maven \repository\dml\jars\rms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\ dml\jars\fms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\com ms-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\rms_intf-1.0.jar;D :\Profiles\IANKENT\.maven\repository\dml\jars\fms_intf-1.0.jar;D:\Profiles\I ANKENT\.maven\repository\dml\jars\wirelessExtensions_intf-1.0.jar;D:\Profile s\IANKENT\.maven\repository\dml\jars\wirelessExtensions_impl-1.0.jar;D:\Prof iles\IANKENT\.maven\repository\dml\jars\commonfaultmgmt-1.0.jar;D:\Profiles\ IANKENT\.maven\repository\ossj\jars\ossj-common-ri-1.0.jar;D:\Profiles\IANKE NT\.maven\repository\jboss\jars\mft-jca-1.5.jar;D:\Profiles\IANKENT\.maven\r epository\jboss\jars\jmx-rmi-connector-client-3.2.1.jar;D:\Profiles\IANKENT\ .maven\repository\jboss\jars\jboss-j2ee-3.2.1.jar;D:\Profiles\IANKENT\.maven \repository\jboss\jars\jboss-system-3.2.1.jar;D:\Profiles\IANKENT\.maven\rep ository\jboss\jars\jboss-jmx-3.2.1.jar [available] [VERBOSE] Unable to find src\java to set property sourcesPresent [available] [VERBOSE] Unable to find src\test to set property unitTestSourcesPresent [DEBUG] Adding reference: maven-classpath - site-ftp: [echo] transfering site to ... [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.optional.net.FTP loaded from parent loader BUILD FAILED File.. file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/ Element... ant:taskdef Line.. 45 Column 90 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site-ftp] -- file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) 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 org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543)
RE: problem using ftp task from maven.xml
I tried that after reading a posting in archive. It didn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 6:28 PM To: Maven Users List Subject: RE: problem using ftp task from maven.xml Do the dependencies have propertiesclassloaderroot/classloader/properties in them? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 07:41:07 AM: Sorry I wasn't more clear about problem :-( I receive the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found Here is the stack trace: [DEBUG] Adding reference: maven.dependency.classpath - D:\Profiles\IANKENT\.maven\repository\ant\jars\ant-1.5.1.jar;D:\Profiles\IAN KENT\.maven\repository\ant\jars\ant-optional-1.5.1.jar;D:\Profiles\IANKENT\. maven\repository\netcomponents\jars\netcomponents-1.3.8a.jar;D:\Profiles\IAN KENT\.maven\repository\junit\jars\junit-3.8.1.jar;D:\Profiles\IANKENT\.maven \repository\xdoclet\jars\xdoclet-web-module-1.2b4.jar;D:\Profiles\IANKENT\.m aven\repository\xdoclet\jars\xdoclet-ejb-module-1.2b4.jar;D:\Profiles\IANKEN T\.maven\repository\xdoclet\jars\xdoclet-jboss-module-1.2b4.jar;D:\Profiles\ IANKENT\.maven\repository\xdoclet\jars\xdoclet-jmx-module-1.2b4.jar;D:\Profi les\IANKENT\.maven\repository\ejb\jars\ejb-2.1.jar;D:\Profiles\IANKENT\.mave n\repository\commons-collections\jars\commons-collections-2.1.jar;D:\Profile s\IANKENT\.maven\repository\sybase\jars\sybase-jdbc-12.5.1b.jar;D:\Profiles\ IANKENT\.maven\repository\log4j\jars\log4j-1.2.8.jar;D:\Profiles\IANKENT\.ma ven\repository\dml\jars\comms-junit-tests-1.0.jar;D:\Profiles\IANKENT\.maven \repository\dml\jars\rms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\ dml\jars\fms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\com ms-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\rms_intf-1.0.jar;D :\Profiles\IANKENT\.maven\repository\dml\jars\fms_intf-1.0.jar;D:\Profiles\I ANKENT\.maven\repository\dml\jars\wirelessExtensions_intf-1.0.jar;D:\Profile s\IANKENT\.maven\repository\dml\jars\wirelessExtensions_impl-1.0.jar;D:\Prof iles\IANKENT\.maven\repository\dml\jars\commonfaultmgmt-1.0.jar;D:\Profiles\ IANKENT\.maven\repository\ossj\jars\ossj-common-ri-1.0.jar;D:\Profiles\IANKE NT\.maven\repository\jboss\jars\mft-jca-1.5.jar;D:\Profiles\IANKENT\.maven\r epository\jboss\jars\jmx-rmi-connector-client-3.2.1.jar;D:\Profiles\IANKENT\ .maven\repository\jboss\jars\jboss-j2ee-3.2.1.jar;D:\Profiles\IANKENT\.maven \repository\jboss\jars\jboss-system-3.2.1.jar;D:\Profiles\IANKENT\.maven\rep ository\jboss\jars\jboss-jmx-3.2.1.jar [available] [VERBOSE] Unable to find src\java to set property sourcesPresent [available] [VERBOSE] Unable to find src\test to set property unitTestSourcesPresent [DEBUG] Adding reference: maven-classpath - site-ftp: [echo] transfering site to ... [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.optional.net.FTP loaded from parent loader BUILD FAILED File.. file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/ Element... ant:taskdef Line.. 45 Column 90 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site-ftp] -- file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) 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)
RE: problem using ftp task from maven.xml
Sorry, I had tried classloaderroot.maven/classloader before. After trying your suggestion it worked!!! Thank you VERY much! Maven rocks! -Original Message- From: Kent, Ian [CAR:5K37:EXCH] Sent: Saturday, December 06, 2003 6:52 PM To: 'Maven Users List' Subject: RE: problem using ftp task from maven.xml I tried that after reading a posting in archive. It didn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 6:28 PM To: Maven Users List Subject: RE: problem using ftp task from maven.xml Do the dependencies have propertiesclassloaderroot/classloader/properties in them? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 07:41:07 AM: Sorry I wasn't more clear about problem :-( I receive the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found Here is the stack trace: [DEBUG] Adding reference: maven.dependency.classpath - D:\Profiles\IANKENT\.maven\repository\ant\jars\ant-1.5.1.jar;D:\Profiles\IAN KENT\.maven\repository\ant\jars\ant-optional-1.5.1.jar;D:\Profiles\IANKENT\. maven\repository\netcomponents\jars\netcomponents-1.3.8a.jar;D:\Profiles\IAN KENT\.maven\repository\junit\jars\junit-3.8.1.jar;D:\Profiles\IANKENT\.maven \repository\xdoclet\jars\xdoclet-web-module-1.2b4.jar;D:\Profiles\IANKENT\.m aven\repository\xdoclet\jars\xdoclet-ejb-module-1.2b4.jar;D:\Profiles\IANKEN T\.maven\repository\xdoclet\jars\xdoclet-jboss-module-1.2b4.jar;D:\Profiles\ IANKENT\.maven\repository\xdoclet\jars\xdoclet-jmx-module-1.2b4.jar;D:\Profi les\IANKENT\.maven\repository\ejb\jars\ejb-2.1.jar;D:\Profiles\IANKENT\.mave n\repository\commons-collections\jars\commons-collections-2.1.jar;D:\Profile s\IANKENT\.maven\repository\sybase\jars\sybase-jdbc-12.5.1b.jar;D:\Profiles\ IANKENT\.maven\repository\log4j\jars\log4j-1.2.8.jar;D:\Profiles\IANKENT\.ma ven\repository\dml\jars\comms-junit-tests-1.0.jar;D:\Profiles\IANKENT\.maven \repository\dml\jars\rms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\ dml\jars\fms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\com ms-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\rms_intf-1.0.jar;D :\Profiles\IANKENT\.maven\repository\dml\jars\fms_intf-1.0.jar;D:\Profiles\I ANKENT\.maven\repository\dml\jars\wirelessExtensions_intf-1.0.jar;D:\Profile s\IANKENT\.maven\repository\dml\jars\wirelessExtensions_impl-1.0.jar;D:\Prof iles\IANKENT\.maven\repository\dml\jars\commonfaultmgmt-1.0.jar;D:\Profiles\ IANKENT\.maven\repository\ossj\jars\ossj-common-ri-1.0.jar;D:\Profiles\IANKE NT\.maven\repository\jboss\jars\mft-jca-1.5.jar;D:\Profiles\IANKENT\.maven\r epository\jboss\jars\jmx-rmi-connector-client-3.2.1.jar;D:\Profiles\IANKENT\ .maven\repository\jboss\jars\jboss-j2ee-3.2.1.jar;D:\Profiles\IANKENT\.maven \repository\jboss\jars\jboss-system-3.2.1.jar;D:\Profiles\IANKENT\.maven\rep ository\jboss\jars\jboss-jmx-3.2.1.jar [available] [VERBOSE] Unable to find src\java to set property sourcesPresent [available] [VERBOSE] Unable to find src\test to set property unitTestSourcesPresent [DEBUG] Adding reference: maven-classpath - site-ftp: [echo] transfering site to ... [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.optional.net.FTP loaded from parent loader BUILD FAILED File.. file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/ Element... ant:taskdef Line.. 45 Column 90 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site-ftp] -- file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683) at
RE: problem using ftp task from maven.xml
No worries. We really should have this in the FAQs. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 10:57:50 AM: Sorry, I had tried classloaderroot.maven/classloader before. After trying your suggestion it worked!!! Thank you VERY much! Maven rocks! -Original Message- From: Kent, Ian [CAR:5K37:EXCH] Sent: Saturday, December 06, 2003 6:52 PM To: 'Maven Users List' Subject: RE: problem using ftp task from maven.xml I tried that after reading a posting in archive. It didn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 6:28 PM To: Maven Users List Subject: RE: problem using ftp task from maven.xml Do the dependencies have propertiesclassloaderroot/classloader/properties in them? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 07:41:07 AM: Sorry I wasn't more clear about problem :-( I receive the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found Here is the stack trace: [DEBUG] Adding reference: maven.dependency.classpath - D:\Profiles\IANKENT\.maven\repository\ant\jars\ant-1.5.1.jar;D:\Profiles\IAN KENT\.maven\repository\ant\jars\ant-optional-1.5.1.jar;D:\Profiles\IANKENT\. maven\repository\netcomponents\jars\netcomponents-1.3.8a.jar;D:\Profiles\IAN KENT\.maven\repository\junit\jars\junit-3.8.1.jar;D:\Profiles\IANKENT\.maven \repository\xdoclet\jars\xdoclet-web-module-1.2b4.jar;D:\Profiles\IANKENT\.m aven\repository\xdoclet\jars\xdoclet-ejb-module-1.2b4.jar;D:\Profiles\IANKEN T\.maven\repository\xdoclet\jars\xdoclet-jboss-module-1.2b4.jar;D:\Profiles\ IANKENT\.maven\repository\xdoclet\jars\xdoclet-jmx-module-1.2b4.jar;D:\Profi les\IANKENT\.maven\repository\ejb\jars\ejb-2.1.jar;D:\Profiles\IANKENT\.mave n\repository\commons-collections\jars\commons-collections-2.1.jar;D:\Profile s\IANKENT\.maven\repository\sybase\jars\sybase-jdbc-12.5.1b.jar;D:\Profiles\ IANKENT\.maven\repository\log4j\jars\log4j-1.2.8.jar;D:\Profiles\IANKENT\.ma ven\repository\dml\jars\comms-junit-tests-1.0.jar;D:\Profiles\IANKENT\.maven \repository\dml\jars\rms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\ dml\jars\fms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\com ms-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\rms_intf-1.0.jar;D :\Profiles\IANKENT\.maven\repository\dml\jars\fms_intf-1.0.jar;D:\Profiles\I ANKENT\.maven\repository\dml\jars\wirelessExtensions_intf-1.0.jar;D:\Profile s\IANKENT\.maven\repository\dml\jars\wirelessExtensions_impl-1.0.jar;D:\Prof iles\IANKENT\.maven\repository\dml\jars\commonfaultmgmt-1.0.jar;D:\Profiles\ IANKENT\.maven\repository\ossj\jars\ossj-common-ri-1.0.jar;D:\Profiles\IANKE NT\.maven\repository\jboss\jars\mft-jca-1.5.jar;D:\Profiles\IANKENT\.maven\r epository\jboss\jars\jmx-rmi-connector-client-3.2.1.jar;D:\Profiles\IANKENT\ .maven\repository\jboss\jars\jboss-j2ee-3.2.1.jar;D:\Profiles\IANKENT\.maven \repository\jboss\jars\jboss-system-3.2.1.jar;D:\Profiles\IANKENT\.maven\rep ository\jboss\jars\jboss-jmx-3.2.1.jar [available] [VERBOSE] Unable to find src\java to set property sourcesPresent [available] [VERBOSE] Unable to find src\test to set property unitTestSourcesPresent [DEBUG] Adding reference: maven-classpath - site-ftp: [echo] transfering site to ... [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.optional.net.FTP loaded from parent loader BUILD FAILED File.. file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/ Element... ant:taskdef Line.. 45 Column 90 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site-ftp] -- file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) 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 com.werken.forehead.Forehead.run(Forehead.java:551)
RE: problem using ftp task from maven.xml
On Sat, 2003-12-06 at 19:45, [EMAIL PROTECTED] wrote: No worries. We really should have this in the FAQs. Yes and Ian that's your job now. Dion help you with your problem so I would say you are duty bound to at least write a little FAQ entry so other can avoid the pitfall you encountered. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 10:57:50 AM: Sorry, I had tried classloaderroot.maven/classloader before. After trying your suggestion it worked!!! Thank you VERY much! Maven rocks! -Original Message- From: Kent, Ian [CAR:5K37:EXCH] Sent: Saturday, December 06, 2003 6:52 PM To: 'Maven Users List' Subject: RE: problem using ftp task from maven.xml I tried that after reading a posting in archive. It didn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 6:28 PM To: Maven Users List Subject: RE: problem using ftp task from maven.xml Do the dependencies have propertiesclassloaderroot/classloader/properties in them? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ian Kent [EMAIL PROTECTED] wrote on 07/12/2003 07:41:07 AM: Sorry I wasn't more clear about problem :-( I receive the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found Here is the stack trace: [DEBUG] Adding reference: maven.dependency.classpath - D:\Profiles\IANKENT\.maven\repository\ant\jars\ant-1.5.1.jar;D:\Profiles\IAN KENT\.maven\repository\ant\jars\ant-optional-1.5.1.jar;D:\Profiles\IANKENT\. maven\repository\netcomponents\jars\netcomponents-1.3.8a.jar;D:\Profiles\IAN KENT\.maven\repository\junit\jars\junit-3.8.1.jar;D:\Profiles\IANKENT\.maven \repository\xdoclet\jars\xdoclet-web-module-1.2b4.jar;D:\Profiles\IANKENT\.m aven\repository\xdoclet\jars\xdoclet-ejb-module-1.2b4.jar;D:\Profiles\IANKEN T\.maven\repository\xdoclet\jars\xdoclet-jboss-module-1.2b4.jar;D:\Profiles\ IANKENT\.maven\repository\xdoclet\jars\xdoclet-jmx-module-1.2b4.jar;D:\Profi les\IANKENT\.maven\repository\ejb\jars\ejb-2.1.jar;D:\Profiles\IANKENT\.mave n\repository\commons-collections\jars\commons-collections-2.1.jar;D:\Profile s\IANKENT\.maven\repository\sybase\jars\sybase-jdbc-12.5.1b.jar;D:\Profiles\ IANKENT\.maven\repository\log4j\jars\log4j-1.2.8.jar;D:\Profiles\IANKENT\.ma ven\repository\dml\jars\comms-junit-tests-1.0.jar;D:\Profiles\IANKENT\.maven \repository\dml\jars\rms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\ dml\jars\fms_impl-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\com ms-1.0.jar;D:\Profiles\IANKENT\.maven\repository\dml\jars\rms_intf-1.0.jar;D :\Profiles\IANKENT\.maven\repository\dml\jars\fms_intf-1.0.jar;D:\Profiles\I ANKENT\.maven\repository\dml\jars\wirelessExtensions_intf-1.0.jar;D:\Profile s\IANKENT\.maven\repository\dml\jars\wirelessExtensions_impl-1.0.jar;D:\Prof iles\IANKENT\.maven\repository\dml\jars\commonfaultmgmt-1.0.jar;D:\Profiles\ IANKENT\.maven\repository\ossj\jars\ossj-common-ri-1.0.jar;D:\Profiles\IANKE NT\.maven\repository\jboss\jars\mft-jca-1.5.jar;D:\Profiles\IANKENT\.maven\r epository\jboss\jars\jmx-rmi-connector-client-3.2.1.jar;D:\Profiles\IANKENT\ .maven\repository\jboss\jars\jboss-j2ee-3.2.1.jar;D:\Profiles\IANKENT\.maven \repository\jboss\jars\jboss-system-3.2.1.jar;D:\Profiles\IANKENT\.maven\rep ository\jboss\jars\jboss-jmx-3.2.1.jar [available] [VERBOSE] Unable to find src\java to set property sourcesPresent [available] [VERBOSE] Unable to find src\test to set property unitTestSourcesPresent [DEBUG] Adding reference: maven-classpath - site-ftp: [echo] transfering site to ... [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.optional.net.FTP loaded from parent loader BUILD FAILED File.. file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/ Element... ant:taskdef Line.. 45 Column 90 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site-ftp] -- file:/m:/iankent.fw3.3.dml.win/commonapps/adaptation/:45:90: ant:taskdef taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at