You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jon Strayer <jo...@strayer.org> on 2006/02/24 21:43:38 UTC

[1.1] ant:fileset

I'm getting this error:

Element... ant:fileset
Line...... 384
Column.... -1
org/apache/commons/net/ftp/FTPClient

for this code (that worked under 1.0)

        <ant:ftp action="get" server="chd4.sbc.com" userid="wfaoper"
password="foobar!"
            remotedir="/appl/wfa/apache/htdocs/repository/${
dependency.artifactDirectory}wfa-billing/jars"
            verbose="true">
            <ant:fileset dir="${maven.build.dir}/${releaseNameBin}/${path}">
            <ant:include name="${maven.final.name}.jar" />
            </ant:fileset>
        </ant:ftp>

Does anyone have any idea what's going wrong?



--
Esse quam videri
(to be rather than to seem)

Re: [1.1] ant:fileset

Posted by Jon Strayer <jo...@strayer.org>.
On 2/24/06, Jon Strayer <jo...@strayer.org> wrote:
>
> Yes, thanks, I fixed that problem, now I'm getting this:
>
> File...... C:\Documents and Settings\js6285\.maven\cache\wbnt-
> deploy-plugin-1.1.3\plugin.jelly
> Element... ant:ftp
> Line...... 383
> Column.... -1
> org/apache/oro/text/regex/MalformedPatternException



Found it.  It wanted the Apache Oro jar.


--
Esse quam videri
(to be rather than to seem)

Re: [1.1] ant:fileset

Posted by Jon Strayer <jo...@strayer.org>.
Yes, thanks, I fixed that problem, now I'm getting this:

File...... C:\Documents and Settings\js6285\.maven\cache\wbnt-
deploy-plugin-1.1.3\plugin.jelly
Element... ant:ftp
Line...... 383
Column.... -1
org/apache/oro/text/regex/MalformedPatternException


This is the code it's upset about:

        <ant:ftp action="get" server="myserver.sbc.com" userid="myuserid"
password="mypassword"
            remotedir="/appl/wfa/apache/htdocs/repository/${
dependency.artifactDirectory}wfa-billing/jars"
            verbose="true">  <---- this is line 383
            <ant:fileset dir="${maven.build.dir}/${releaseNameBin}/${path}">
            <ant:include name="${maven.final.name}.jar" />
            </ant:fileset>
        </ant:ftp>




On 2/24/06, Arnaud HERITIER <ah...@gmail.com> wrote:
>
> Did you load your dependencies used by the ftp task in the root
> classloader
> ?
>
> http://maven.apache.org/maven-1.x/using/developing-plugins.html#Plugin_dependencies
>
> Arnaud
>
> On 2/24/06, Jon Strayer <jo...@strayer.org> wrote:
> >
> > I'm getting this error:
> >
> > Element... ant:fileset
> > Line...... 384
> > Column.... -1
> > org/apache/commons/net/ftp/FTPClient
> >
> > for this code (that worked under 1.0)
> >
> >         <ant:ftp action="get" server="chd4.sbc.com" userid="wfaoper"
> > password="foobar!"
> >             remotedir="/appl/wfa/apache/htdocs/repository/${
> > dependency.artifactDirectory}wfa-billing/jars"
> >             verbose="true">
> >             <ant:fileset dir="${maven.build.dir
> > }/${releaseNameBin}/${path}">
> >             <ant:include name="${maven.final.name}.jar" />
> >             </ant:fileset>
> >         </ant:ftp>
> >
> > Does anyone have any idea what's going wrong?
> >
> >
> >
> > --
> > Esse quam videri
> > (to be rather than to seem)
> >
> >
>
>


--
Esse quam videri
(to be rather than to seem)

Re: [1.1] ant:fileset

Posted by Arnaud HERITIER <ah...@gmail.com>.
Did you load your dependencies used by the ftp task in the root classloader
?
http://maven.apache.org/maven-1.x/using/developing-plugins.html#Plugin_dependencies

Arnaud

On 2/24/06, Jon Strayer <jo...@strayer.org> wrote:
>
> I'm getting this error:
>
> Element... ant:fileset
> Line...... 384
> Column.... -1
> org/apache/commons/net/ftp/FTPClient
>
> for this code (that worked under 1.0)
>
>         <ant:ftp action="get" server="chd4.sbc.com" userid="wfaoper"
> password="foobar!"
>             remotedir="/appl/wfa/apache/htdocs/repository/${
> dependency.artifactDirectory}wfa-billing/jars"
>             verbose="true">
>             <ant:fileset dir="${maven.build.dir
> }/${releaseNameBin}/${path}">
>             <ant:include name="${maven.final.name}.jar" />
>             </ant:fileset>
>         </ant:ftp>
>
> Does anyone have any idea what's going wrong?
>
>
>
> --
> Esse quam videri
> (to be rather than to seem)
>
>