Hi Brett,

It's fixed if you want to re-add the pdf goal after the site generation.


When I build the site I have an error :
Running post goal: site

LA CONSTRUCTION A ╚CHOU╚
Specify at least one source - a file or a fileset.
        at org.apache.tools.ant.taskdefs.Copy.validateAttributes(Copy.java:466)
        at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:368)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at 
org.apache.maven.werkz.jelly.PostGoalTag$1.firePostGoal(PostGoalTag.java:103)
        at org.apache.maven.werkz.Goal.firePostGoalCallbacks(Goal.java:727)
        at org.apache.maven.werkz.Goal.fire(Goal.java:671)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:511)
        at org.apache.maven.cli.App.main(App.java:1258)
        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)
Fichier... D:\Work\Dev\apache-maven-1.1\core\trunk\maven.xml
╚lement... ant:copy
Ligne..... 23
Colonne... -1
Specify at least one source - a file or a fileset.
Temps total    : 2 minutes 27 secondes
Fini le        : mardi 31 mai 2005 00:36:25 CEST

It comes from maven.xml (line 23) :
        <ant:copy todir="${maven.docs.dest}" dir="${basedir}/src/xsd"/>

It works with :

    <copy todir="${maven.docs.dest}">
      <fileset dir="${basedir}/src/xsd">
        <exclude name="**/*.xsd"/>
      </fileset>
    </copy>  

Arnaud
 

> -----Message d'origine-----
> De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 25 mai 2005 07:14
> À : 'Maven Developers List'
> Objet : RE: pdf plugin: xsl transformation
> 
> > 
> > It will still be compatible with Maven 1.0 on JDK 1.4, though?
> 
> Yes I think.
> 
> >That way the release notes could easily just say that
> > JDK5 users on Maven 1.0 must stick with the previous version.
> 
> It's good for me. I think it will satisfy our users...
> 
> Arnaud
> 
> > 
> > Thanks,
> > Brett
> > 
> > Arnaud HERITIER wrote:
> > 
> > >Ok for me,
> > >
> > >We can re-use the ant task and add maven 1.1 as
> > pre-requisite for this plugin (I think that it will not the 
> only one).
> > >
> > >I'll try to test it and commit it this week. 
> > >
> > >Arnaud
> > >
> > >
> > >  
> > >
> > >>-----Message d'origine-----
> > >>De : Brett Porter [mailto:[EMAIL PROTECTED] Envoyé : 
> > mercredi 25 mai
> > >>2005 06:42 À : Maven Developers List Objet : Re: pdf plugin: xsl 
> > >>transformation
> > >>
> > >>Heh.
> > >>
> > >>I don't quite understand why this used to work, and doesn't since 
> > >>removing the xerces libraries, but perhaps the next PDF
> > plugin release
> > >>could be for 1.1 only, and go back to the ant task? That
> > should work
> > >>perfectly in Maven 1.1, with no need for the xalan dep, etc.
> > >>
> > >>- Brett
> > >>
> > >>Arnaud HERITIER wrote:
> > >>
> > >>    
> > >>
> > >>>Hi Brett,
> > >>>
> > >>> We removed the use of style/xslt ant task some months
> > >>>      
> > >>>
> > >>ago to resolve this issue with jdk 1.5 :
> > >>    
> > >>
> > >>>http://jira.codehaus.org/browse/MPPDF-16
> > >>>(patch : 
> > http://jira.codehaus.org/secure/attachment/13203/pdf.patch)
> > >>> Personally, I would prefer to use it but I didn't find
> > >>>      
> > >>>
> > >>a solution with
> > >>    
> > >>
> > >>>maven 1.0 and ant 1.5.X
> > >>>
> > >>> Cheers,
> > >>> 
> > >>>Arnaud
> > >>>
> > >>>
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>>>-----Message d'origine-----
> > >>>>De : Brett Porter [mailto:[EMAIL PROTECTED] Envoyé : mardi
> > >>>>        
> > >>>>
> > >>24 mai 2005
> > >>    
> > >>
> > >>>>07:19 À : Maven Developers List Objet : pdf plugin: xsl
> > >>>>        
> > >>>>
> > >>transformation
> > >>    
> > >>
> > >>>>Hi,
> > >>>>
> > >>>>Question for Arnaud or others in the know: can the XSL
> > >>>>        
> > >>>>
> > >>transformation
> > >>    
> > >>
> > >>>>in the PDF plugin be changed to use the ant:xslt task? This
> > >>>>        
> > >>>>
> > >>seems to
> > >>    
> > >>
> > >>>>be working in Maven 1.1 with JDK 5.0, but the PDF plugin is
> > >>>>        
> > >>>>
> > >>not due to
> > >>    
> > >>
> > >>>>a bug in Xalan
> > >>>>        
> > >>>>
> > >>(http://issues.apache.org/jira/browse/XALANJ-1978). I
> > >>    
> > >>
> > >>>>would assume this could be backwards compatible.
> > >>>>
> > >>>>Cheers,
> > >>>>Brett
> > >>>>
> > >>>>------------------------------------------------------------
> > >>>>        
> > >>>>
> > >>---------
> > >>    
> > >>
> > >>>>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]
> > >>
> > >>    
> > >>
> > >
> > >
> > >
> > >
> > 
> >---------------------------------------------------------------------
> > >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]
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to