You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Steffen Krause (JIRA)" <ji...@codehaus.org> on 2005/08/10 23:29:58 UTC

[jira] Created: (MPSITE-35) ftpdeploy doesn't work properly

ftpdeploy doesn't work properly
-------------------------------

         Key: MPSITE-35
         URL: http://jira.codehaus.org/browse/MPSITE-35
     Project: maven-site-plugin
        Type: Bug
  Components: plugin  
    Versions: 1.6.1    
 Environment: maven-site-plugin-1.6.1, Maven 1.0.2, Windows XP, Java 5.0
 Reporter: Steffen Krause


1. configured the remote siteAdress (project.xml)
2. configured the remote siteDirectory (project.xml)
3. configured deploy method (ftp), username and password (project.properties)
4. called goal site:deploy
Result:

BUILD FAILED
File...... C:\Documents and Settings\kimba\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
Element... taskdef
Line...... 130
Column.... 6
taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found



5. tried calling goal site:ftpdeploy directly
Result:

BUILD FAILED
File...... C:\Documents and Settings\kimba\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
Element... taskdef
Line...... 130
Column.... 6
taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Commented: (MPSITE-35) ftpdeploy doesn't work properly

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Steffen,

If you use taskdef to use a custom task lib you must add in the POM the 
property <properties><classloader>root</classloader></properties> to the jar 
containing your task.
It's because Ant is loaded by maven in the root classloader . It can't find 
classes in a low-level classloader.
You can take a look at the site plugin dependencies :
http://svn.apache.org/viewcvs.cgi/*checkout*/maven/maven-1/plugins/trunk/site/project.xml?rev=189828

Arnaud

On 8/11/05, Steffen Krause (JIRA) <ji...@codehaus.org> wrote:
> 
> [ http://jira.codehaus.org/browse/MPSITE-35?page=comments#action_44295 ]
> 
> Steffen Krause commented on MPSITE-35:
> --------------------------------------
> 
> Hi,
> 
> thanks for the comment. Well, it seems like I have a problem in Maven in 
> general when a plugin does a <taskdef> in a goal. I looked up the maven libs 
> and the classes the taskdef looked for were always there but taskdef still 
> told me that it could not find the class. Did I forget to configure 
> something?? Other plugins (or my very own when I try it) always throw a file 
> not found exception as soon as I call the <taskdef>.
> 
> Did I misconfigured something???
> 
> Thanks,
> Kimba.
> 
> > ftpdeploy doesn't work properly
> > -------------------------------
> >
> > Key: MPSITE-35
> > URL: http://jira.codehaus.org/browse/MPSITE-35
> > Project: maven-site-plugin
> > Type: Bug
> > Components: plugin
> > Versions: 1.6.1
> > Environment: maven-site-plugin-1.6.1, Maven 1.0.2, Windows XP, Java 5.0
> > Reporter: Steffen Krause
> > Assignee: Arnaud Heritier
> 
> >
> >
> > 1. configured the remote siteAdress (project.xml)
> > 2. configured the remote siteDirectory (project.xml)
> > 3. configured deploy method (ftp), username and password (
> project.properties)
> > 4. called goal site:deploy
> > Result:
> > BUILD FAILED
> > File...... C:\Documents and Settings\kimba\.maven\cache\maven-
> site-plugin-1.6.1\plugin.jelly
> > Element... taskdef
> > Line...... 130
> > Column.... 6
> > taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be 
> found
> > 5. tried calling goal site:ftpdeploy directly
> > Result:
> > BUILD FAILED
> > File...... C:\Documents and Settings\kimba\.maven\cache\maven-
> site-plugin-1.6.1\plugin.jelly
> > Element... taskdef
> > Line...... 130
> > Column.... 6
> > taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be 
> found
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
>

[jira] Commented: (MPSITE-35) ftpdeploy doesn't work properly

Posted by "Steffen Krause (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSITE-35?page=comments#action_44295 ] 

Steffen Krause commented on MPSITE-35:
--------------------------------------

Hi,

thanks for the comment. Well, it seems like I have a problem in Maven in general when a plugin does a <taskdef> in a goal. I looked up the maven libs and the classes the taskdef looked for were always there but taskdef still told me that it could not find the class. Did I forget to configure something?? Other plugins (or my very own when I try it) always throw a file not found exception as soon as I call the <taskdef>.

Did I misconfigured something???

Thanks,
Kimba.

> ftpdeploy doesn't work properly
> -------------------------------
>
>          Key: MPSITE-35
>          URL: http://jira.codehaus.org/browse/MPSITE-35
>      Project: maven-site-plugin
>         Type: Bug
>   Components: plugin
>     Versions: 1.6.1
>  Environment: maven-site-plugin-1.6.1, Maven 1.0.2, Windows XP, Java 5.0
>     Reporter: Steffen Krause
>     Assignee: Arnaud Heritier

>
>
> 1. configured the remote siteAdress (project.xml)
> 2. configured the remote siteDirectory (project.xml)
> 3. configured deploy method (ftp), username and password (project.properties)
> 4. called goal site:deploy
> Result:
> BUILD FAILED
> File...... C:\Documents and Settings\kimba\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
> Element... taskdef
> Line...... 130
> Column.... 6
> taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found
> 5. tried calling goal site:ftpdeploy directly
> Result:
> BUILD FAILED
> File...... C:\Documents and Settings\kimba\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
> Element... taskdef
> Line...... 130
> Column.... 6
> taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPSITE-35) ftpdeploy doesn't work properly

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPSITE-35?page=all ]
     
Arnaud Heritier closed MPSITE-35:
---------------------------------

     Assign To: Arnaud Heritier
    Resolution: Won't Fix

Sorry but it will never work with maven 1.0.X because the ftp ant task depends of jars not available on ibiblio. I don't know why but it was updated on the web site. I'm trying to republish the web site.
I perhaps forgot to send it in the live site instead of the staging one : http://people.apache.org/~brett/maven-stage-site/reference/plugins/site/

> ftpdeploy doesn't work properly
> -------------------------------
>
>          Key: MPSITE-35
>          URL: http://jira.codehaus.org/browse/MPSITE-35
>      Project: maven-site-plugin
>         Type: Bug
>   Components: plugin
>     Versions: 1.6.1
>  Environment: maven-site-plugin-1.6.1, Maven 1.0.2, Windows XP, Java 5.0
>     Reporter: Steffen Krause
>     Assignee: Arnaud Heritier

>
>
> 1. configured the remote siteAdress (project.xml)
> 2. configured the remote siteDirectory (project.xml)
> 3. configured deploy method (ftp), username and password (project.properties)
> 4. called goal site:deploy
> Result:
> BUILD FAILED
> File...... C:\Documents and Settings\kimba\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
> Element... taskdef
> Line...... 130
> Column.... 6
> taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found
> 5. tried calling goal site:ftpdeploy directly
> Result:
> BUILD FAILED
> File...... C:\Documents and Settings\kimba\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
> Element... taskdef
> Line...... 130
> Column.... 6
> taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org