> -----Original Message-----
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 18, 2004 5:09 PM
> To: Maven Users List
> Subject: Re: FTP stuff
>
>
> Can you run
>
> maven -X ftp-test
>
> and post the results?

Here's what I get (with "sensitive" information removed):

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Initializing Plugins!
Set plugin source directory to d:\apps\maven-1.0\plugins
Set unpacked plugin directory to d:\profiles\cdaniels\.maven\cache
Set user plugin directory to d:\profiles\cdaniels\.maven\plugins
Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-scm-plugin-1.4'
Loading plugin 'maven-cruisecontrol-plugin-1.4'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-jdepend-plugin-1.5'
Loading plugin 'maven-ear-plugin-1.5'
Loading plugin 'maven-pom-plugin-1.4.1'
Loading plugin 'maven-jira-plugin-1.1.1'
Loading plugin 'maven-jellydoc-plugin-1.3'
Loading plugin 'maven-war-plugin-1.6'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'maven-checkstyle-plugin-2.4.1'
Loading plugin 'maven-faq-plugin-1.4'
Loading plugin 'maven-ant-plugin-1.7'
Loading plugin 'maven-tasklist-plugin-2.3'
Loading plugin 'maven-idea-plugin-1.5'
Loading plugin 'maven-linkcheck-plugin-1.3.2'
Loading plugin 'maven-changes-plugin-1.5'
Loading plugin 'maven-javadoc-plugin-1.6.1'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-jcoverage-plugin-1.0.7'
Loading plugin 'maven-plugin-plugin-1.5.1'
Loading plugin 'maven-changelog-plugin-1.7.1'
Loading plugin 'maven-jxr-plugin-1.4.1'
Loading plugin 'maven-release-plugin-1.4'
Loading plugin 'maven-ashkelon-plugin-1.2'
Loading plugin 'maven-announcement-plugin-1.2'
Loading plugin 'maven-xdoc-plugin-1.8'
Loading plugin 'maven-shell-plugin-1.1'
Loading plugin 'maven-eclipse-plugin-1.7'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-j2ee-plugin-1.5'
Loading plugin 'maven-file-activity-plugin-1.5'
Loading plugin 'maven-clover-plugin-1.5'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-dashboard-plugin-1.3'
Loading plugin 'maven-jar-plugin-1.6'
Loading plugin 'maven-simian-plugin-1.4'
Loading plugin 'maven-martinix-plugin-0.3-SNAPSHOT'
Loading plugin 'maven-tjdo-plugin-1.0.0'
Loading plugin 'maven-ejb-plugin-1.5'
Loading plugin 'maven-developer-activity-plugin-1.5'
Loading plugin 'maven-abbot-plugin-1.0'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-multiproject-plugin-1.3.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.4'
Loading plugin 'maven-dist-plugin-1.6'
Loading plugin 'maven-pmd-plugin-1.5'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-console-plugin-1.1'
Loading plugin 'maven-webserver-plugin-2.0'
Loading plugin 'maven-aspectwerkz-plugin-1.2'
Loading plugin 'maven-test-plugin-1.6.2'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-docbook-plugin-1.2'
Loading plugin 'maven-latka-plugin-1.4.1'
Loading plugin 'maven-aspectj-plugin-3.1.1'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-site-plugin-1.5.1'
Loading plugin 'maven-gump-plugin-1.4'
Loading plugin 'maven-appserver-plugin-2.0'
Loading plugin 'maven-java-plugin-1.4'
Loading plugin 'maven-pdf-plugin-2.1'
Loading plugin 'maven-jdee-plugin-1.1'
Loading plugin 'maven-jalopy-plugin-1.3'
Loading plugin 'maven-jnlp-plugin-1.4'
Loading plugin 'maven-html2xdoc-plugin-1.3'
Loading plugin 'maven-jdeveloper-plugin-1.4'
Loading plugin 'maven-junit-doclet-plugin-1.2'
Loading plugin 'maven-hibernate-plugin-1.1'
Loading plugin 'maven-wizard-plugin-1.1'
Loading plugin 'maven-artifact-plugin-1.4'
Loading plugin 'maven-javacc-plugin-1.1'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-struts-plugin-1.3'
Loading plugin 'maven-clean-plugin-1.3'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-latex-plugin-1.4.1'
Loading plugin 'maven-genapp-plugin-2.2'
Loading plugin 'maven-caller-plugin-1.1'
Loading plugin 'maven-vdoclet-plugin-1.2'
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: d:\profiles\cdaniels\build.properties
Using projectPropertiesFile:
D:\profiles\cdaniels\development\sample\project.properties
Using projectBuildPropertiesFile:
D:\profiles\cdaniels\development\sample\build.properties
Verifying dependencies for sample:sample
Getting failed dependencies:
[EMAIL PROTECTED], org.apache.maven.r
[EMAIL PROTECTED],
[EMAIL PROTECTED]
Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
Getting URL:
http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar
sending ==> If-Modified-Since: Tue, 13-Jul-04 15:10:31 GMT
(1089731431840)
Received status code: 304
Not modified
Getting URL:
http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-1.2.2-SNAPSHOT.jar.md5
Received status code: 404
Attempting to download xdoclet-web-module-1.2.2-SNAPSHOT.jar.
Getting URL:
http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-web-module-1.2.2-SNAPSHOT.
jar
sending ==> If-Modified-Since: Tue, 13-Jul-04 15:10:33 GMT
(1089731433763)
Received status code: 304
Not modified
Getting URL:
http://www.ibiblio.org/maven/xdoclet/jars/xdoclet-web-module-1.2.2-SNAPSHOT.
jar.md5
Received status code: 404
[DEBUG] Adding reference: maven.dependency.classpath ->
D:\profiles\cdaniels\.maven\repository\aspec
tj\jars\aspectjrt-1.2.jar;D:\profiles\cdaniels\.maven\repository\bmx-genesis
\jars\bmx-genesis-SNAPSH
OT.jar;D:\profiles\cdaniels\.maven\repository\cactus\jars\cactus-12-1.5.jar;
D:\profiles\cdaniels\.ma
ven\repository\cactus\jars\cactus-ant-12-1.5.jar;D:\profiles\cdaniels\.maven
\repository\commons-coll
ections\jars\commons-collections-2.1.jar;D:\profiles\cdaniels\.maven\reposit
ory\commons-httpclient\j
ars\commons-httpclient-2.0-rc3.jar;D:\profiles\cdaniels\.maven\repository\co
mmons-logging\jars\commo
ns-logging-1.0.3.jar;D:\profiles\cdaniels\.maven\repository\commons-net\jars
\commons-net-1.2.1.jar;D
:\profiles\cdaniels\.maven\repository\httpunit\jars\httpunit-1.5.4.jar;D:\pr
ofiles\cdaniels\.maven\r
epository\jaxen\jars\jaxen-1.0-FCS-full.jar;D:\profiles\cdaniels\.maven\repo
sitory\jstl\jars\jstl-1.
0.2.jar;D:\profiles\cdaniels\.maven\repository\junit\jars\junit-3.8.1.jar;D:
\profiles\cdaniels\.maven\repository\saxpath\jars\saxpath-1.0-FCS.jar;D:\pro
fi
les\cdaniels\.maven\repository\taglibs\jars\standard-1.0.4.jar;D:\profiles\c
daniels\.maven\repositor
y\xdoclet\jars\xdoclet-1.2.2-SNAPSHOT.jar;D:\profiles\cdaniels\.maven\reposi
tory\xdoclet\jars\xdocle
t-web-module-1.2.2-SNAPSHOT.jar;D:\profiles\cdaniels\.maven\repository\xdocl
et\jars\xjavadoc-1.0.3.j
ar;D:\profiles\cdaniels\.maven\repository\xerces\jars\xercesImpl-2.6.2.jar;D
:\profiles\cdaniels\.mav
en\repository\xml-apis\jars\xml-apis-1.0.b2.jar
running script null
    [available] [VERBOSE] Found: src\java
    [available] [VERBOSE] Unable to find src\test to set property
unitTestSourcesPresent
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
Processing dependencies for project Sample Project; classloader
[ForeheadClassLoader: name="root.mav
en"]
adding dependency
d:\profiles\cdaniels\.maven\repository\aspectj\jars\aspectjrt-1.2.jar into
project
 classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\bmx-genesis\jars\bmx-genesis-SNAPSHOT
.jar i
nto project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\cactus\jars\cactus-12-1.5.jar into
project
classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\cactus\jars\cactus-ant-12-1.5.jar
into proj
ect classloader
Using plugin file:
d:\profiles\cdaniels\.maven\repository\cactus\plugins\cactus-maven-1.6.1.jar
Loading plugin 'cactus-maven-1.6.1'
Using userBuildPropertiesFile: d:\profiles\cdaniels\build.properties
Using projectPropertiesFile:
d:\profiles\cdaniels\.maven\cache\cactus-maven-1.6.1\project.properties

Using projectBuildPropertiesFile:
d:\profiles\cdaniels\.maven\cache\cactus-maven-1.6.1\build.propert
ies
Caching Taglib Uri --> doc
Caching Taglib Uri --> test
Caching Taglib Uri --> doc
Caching Taglib Uri --> test
Non classpath dependency:
'd:\profiles\cdaniels\.maven\repository\cactus\plugins\cactus-maven-1.6.1.
jar' not added to classpath
adding dependency
d:\profiles\cdaniels\.maven\repository\commons-collections\jars\commons-coll
ection
s-2.1.jar into project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\commons-httpclient\jars\commons-httpc
lient-
2.0-rc3.jar into project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\commons-logging\jars\commons-logging-
1.0.3.
jar into project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\commons-net\jars\commons-net-1.2.1.ja
r into
 project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\httpunit\jars\httpunit-1.5.4.jar into
proje
ct classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\jaxen\jars\jaxen-1.0-FCS-full.jar
into proj
ect classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\jstl\jars\jstl-1.0.2.jar into project
class
loader
adding dependency
d:\profiles\cdaniels\.maven\repository\junit\jars\junit-3.8.1.jar into
project cla
ssloader
adding dependency
d:\profiles\cdaniels\.maven\repository\saxpath\jars\saxpath-1.0-FCS.jar into
proje
ct classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\taglibs\jars\standard-1.0.4.jar into
projec
t classloader
Non classpath dependency:
'd:\profiles\cdaniels\.maven\repository\taglibs\tlds\c-1.0.4.tld' not adde
d to classpath
Non classpath dependency:
'd:\profiles\cdaniels\.maven\repository\taglibs\tlds\fmt-1.0.4.tld' not ad
ded to classpath
Non classpath dependency:
'd:\profiles\cdaniels\.maven\repository\taglibs\tlds\sql-1.0.4.tld' not ad
ded to classpath
Non classpath dependency:
'd:\profiles\cdaniels\.maven\repository\taglibs\tlds\x-1.0.4.tld' not adde
d to classpath
adding dependency
d:\profiles\cdaniels\.maven\repository\xdoclet\jars\xdoclet-1.2.2-SNAPSHOT.j
ar int
o project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\xdoclet\jars\xdoclet-web-module-1.2.2
-SNAPS
HOT.jar into project classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\xdoclet\jars\xjavadoc-1.0.3.jar into
projec
t classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\xerces\jars\xercesImpl-2.6.2.jar into
proje
ct classloader
adding dependency
d:\profiles\cdaniels\.maven\repository\xml-apis\jars\xml-apis-1.0.b2.jar
into proj
ect classloader
running script D:\profiles\cdaniels\development\sample\maven.xml
preparing goal: build:start
execution chain: [[Goal: name="build:start"]; precursor=[]]]
final list of plugins to prepare: []
preparing goal: ftp-test
execution chain: [[Goal: name="ftp-test"]; precursor=[]]]
final list of plugins to prepare: []
preparing goal: build:end
execution chain: [[Goal: name="build:end"]; precursor=[]]]
final list of plugins to prepare: []
attaining goal build:start
attaining goal ftp-test
attaining goal build:end
BUILD SUCCESSFUL
Final Memory: 2M/4M
Total time: 7 seconds
Finished at: Sun Jul 18 17:45:40 BST 2004


>
> On Sun, 18 Jul 2004 17:02:02 +0100, Charles Daniels
> <[EMAIL PROTECTED]> wrote:
> > Dion,
> >
> > Adding the commons-net dependency makes no difference.  I doubt
> this could
> > make a difference anyway, because from what I can tell maven uses ant
> > 1.5.3-1 and the ftp task in that version does not use commons-net, but
> > rather the original ORO NetComponents jar file.  However, adding
> > NetComponents.jar to the dependency makes no difference either.
>  Here's a
> > simple example of a goal I put in my maven.xml:
> >
> >   <goal name="ftp-test">
> >     <ant:ftp
> >       server="myftpserver"
> >       userid="myftpuserid"
> >       password="myftppassword"
> >       passive="true"
> >       verbose="true"
> >       action="get">
> >
> >       <ant:fileset dir=".">
> >         <ant:include name="*.*"/>
> >       </ant:fileset>
> >     </ant:ftp>
> >   </goal>
> >
> > There are a number of files in the default ftp directory, but when I run
> > 'maven ftp-test', here's the output I get:
> >
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0
> >
> > Attempting to download xdoclet-1.2.2-SNAPSHOT.jar.
> > Response content length is not known
> > Attempting to download xdoclet-web-module-1.2.2-SNAPSHOT.jar.
> > Response content length is not known
> > BUILD SUCCESSFUL
> > Total time: 7 seconds
> > Finished at: Sun Jul 18 16:59:05 BST 2004
> >
> > Not a peep from the ftp task, but I can directly use my ftp
> client to fetch
> > files without a problem.  Any other ideas?
> >
> > -- Chuck
> >
> >
> >
> > > -----Original Message-----
> > > From: Dion Gillard [mailto:[EMAIL PROTECTED]
> > > Sent: Sunday, July 18, 2004 3:33 PM
> > > To: Maven Users List
> > > Subject: Re: FTP stuff
> > >
> > >
> > > Are your dependencies specified to include commons.net?
> > >
> > > On Sun, 18 Jul 2004 15:28:34 +0200, Colin Chalmers
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi all,
> > > >
> > > > I've just downloaded ver 1 after playing with previous
> versions along
> > > > the way.
> > > > Everything appears to be working OK except when I try to
> use FTP, even
> > > > ant:ftp doesn't seem to work. When maven hits this script
> it just prints
> > > > out the settings but does nothing with them. I did see some older
> > > > messages concerning this issue  and that it probably had to
> do with the
> > > > commons.net jar file.
> > > >
> > > > Is this still the case? Are other using ftp successfully?
> > > >
> > > > Colin
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > http://www.multitask.com.au/people/dion/
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
>
>
> --
> http://www.multitask.com.au/people/dion/
>
> ---------------------------------------------------------------------
> 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]

Reply via email to