You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2005/05/24 07:18:41 UTC

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: pdf plugin: xsl transformation

Posted by Lukas Theussl <tr...@triumf.ca>.
Arnaud HERITIER wrote:
> 
> Lukas, are you using jdk 1.5 ?
> 


No, I have only 1.4.2 installed.


I don't have enough background information to understand what is going 
on, but I am pretty sure it is a maven problem because I can generate 
all my pdf's directly from ant, using the same syntax for the xslt task 
as you have it now in plugin.jelly, using the same xslt style files 
etc., but without any obvious xalan or xerces dependency.


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
Yes but it was only for the jdk 1.5 if I remember.
We decided to say to users which use jdk 1.5 to upgrade the pdf plugin only if they upgrade to maven 1.1.

That's right ?

Lukas, are you using jdk 1.5 ?

Arnaud


> -----Message d'origine-----
> De : Brett Porter [mailto:brett@apache.org] 
> Envoyé : vendredi 10 juin 2005 01:03
> À : Maven Developers List
> Objet : Re: pdf plugin: xsl transformation
> 
> I thought the assumption in going back to the Ant tasks was 
> that it would become a 1.1 only plugin (or 1.0.2 with 
> appropriate enhancements :)
> 
> http://mail-archives.apache.org/mod_mbox/maven-dev/200505.mbox
> /%3c20050525045122.1B2501C00127@mwinf0908.wanadoo.fr%3e
> 
> - Brett
> 
> Arnaud HERITIER wrote:
> 
> >We are damned.
> >Thanks for the info.
> >
> >We must do some additional tests :-(
> >
> >Arnaud
> > 
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


Re: pdf plugin: xsl transformation

Posted by Brett Porter <br...@apache.org>.
I thought the assumption in going back to the Ant tasks was that it 
would become a 1.1 only plugin (or 1.0.2 with appropriate enhancements :)

http://mail-archives.apache.org/mod_mbox/maven-dev/200505.mbox/%3c20050525045122.1B2501C00127@mwinf0908.wanadoo.fr%3e

- Brett

Arnaud HERITIER wrote:

>We are damned.
>Thanks for the info.
>
>We must do some additional tests :-(
>
>Arnaud
> 
>  
>


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
We are damned.
Thanks for the info.

We must do some additional tests :-(

Arnaud
 

> -----Message d'origine-----
> De : Lukas Theussl [mailto:triumf@triumf.ca] 
> Envoyé : vendredi 10 juin 2005 00:49
> À : Maven Developers List
> Objet : Re: pdf plugin: xsl transformation
> 
> Arnaud HERITIER wrote:
> > You are using maven 1.1 ???
> 
> 
> No, that was with maven 1.0.2. It does work with maven 1.1 
> (without the xalan jar in endorsed).
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 




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


Re: pdf plugin: xsl transformation

Posted by Lukas Theussl <tr...@triumf.ca>.
Arnaud HERITIER wrote:
> You are using maven 1.1 ???


No, that was with maven 1.0.2. It does work with maven 1.1 (without the 
xalan jar in endorsed).


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
You are using maven 1.1 ???

We have currently some issues with xalan and xerces :-(

We are trying to fix it.
We prefered to remove such a dependencies but it doesn't seem possible.
We'll certainly re-add them.

Arnaud


> -----Message d'origine-----
> De : Lukas Theussl [mailto:triumf@triumf.ca] 
> Envoyé : jeudi 9 juin 2005 17:29
> À : Maven Developers List
> Objet : Re: pdf plugin: xsl transformation
> 
> 
> Still getting the same error as above
> (javax.xml.transform.TransformerFactory cannot be found).
> 
> However, it works if I put a xalan jar into 
> $MAVEN_HOME/lib/endorsed ???
> 
> Arnaud HERITIER wrote:
> > I published a snapshot.
> > 
> > You'll be able to test it with :
> > 
> > maven plugin:download 
> >     -Dmaven.repo.remote=http://cvs.apache.org/repository 
> >     -DgroupId=maven 
> >     -DartifactId=maven-pdf-plugin 
> >     -Dversion=SNAPSHOT
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


Re: pdf plugin: xsl transformation

Posted by Lukas Theussl <tr...@triumf.ca>.
Still getting the same error as above 
(javax.xml.transform.TransformerFactory cannot be found).

However, it works if I put a xalan jar into $MAVEN_HOME/lib/endorsed ???

Arnaud HERITIER wrote:
> I published a snapshot.
> 
> You'll be able to test it with :
> 
> maven plugin:download 
>     -Dmaven.repo.remote=http://cvs.apache.org/repository 
>     -DgroupId=maven 
>     -DartifactId=maven-pdf-plugin 
>     -Dversion=SNAPSHOT 
> 
> 


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
I published a snapshot.

You'll be able to test it with :

maven plugin:download 
    -Dmaven.repo.remote=http://cvs.apache.org/repository 
    -DgroupId=maven 
    -DartifactId=maven-pdf-plugin 
    -Dversion=SNAPSHOT 

Arnaud
 

> -----Message d'origine-----
> De : Arnaud HERITIER [mailto:aheritier@gmail.com] 
> Envoyé : jeudi 9 juin 2005 07:55
> À : 'Maven Developers List'
> Objet : RE: pdf plugin: xsl transformation
> 
> You're right. 
> 
> I fixed this problem of dependencies.
> 
> I also opened an issue to fix the navigation-pdf.xml file in 
> maven. ( http://jira.codehaus.org/browse/MAVEN-1615)
> 
> Your patch is applied and I'll try to release the pdf plugin 
> before the 1.1-beta1 release.
> 
> Thanks a lot for your work.
> 
> Arnaud
> 
> 
>  
> 
> > -----Message d'origine-----
> > De : Lukas Theussl [mailto:triumf@triumf.ca] Envoyé : 
> mercredi 8 juin 
> > 2005 21:53 À : Maven Developers List Objet : Re: pdf plugin: xsl 
> > transformation
> > 
> > Arnaud HERITIER wrote:
> > >>It will still be compatible with Maven 1.0 on JDK 1.4, though?
> > > 
> > > 
> > > Yes I think.
> > > 
> > > 
> > 
> > With this latest version of plugin.jelly fron svn I get the 
> following 
> > error when running fo:fo:
> > 
> > BUILD FAILED
> > File...... 
> > /home/lukas/.maven/cache/maven-pdf-plugin-2.2.1/plugin.jelly
> > Element... xslt
> > Line...... 128
> > Column.... 20
> > Provider for javax.xml.transform.TransformerFactory cannot be found
> > 
> > It works fine with the last version before this latest commit. Am I 
> > missing something? I am using maven-1.0.2 and java 1.4.2.
> > 
> > As a side remark: in the changelog you say you removed the 
> xerces and 
> > xalan dependencies, however, these still show up in the 
> pdf:pdf goal 
> > of plugin.jelly. I removed those dependencies (from my working 
> > version) and also the logkit and xml-apis deps, and all 
> seems to work 
> > as before.
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> > additional commands, e-mail: dev-help@maven.apache.org
> > 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
You're right. 

I fixed this problem of dependencies.

I also opened an issue to fix the navigation-pdf.xml file in maven. ( http://jira.codehaus.org/browse/MAVEN-1615)

Your patch is applied and I'll try to release the pdf plugin before the 1.1-beta1 release.

Thanks a lot for your work.

Arnaud


 

> -----Message d'origine-----
> De : Lukas Theussl [mailto:triumf@triumf.ca] 
> Envoyé : mercredi 8 juin 2005 21:53
> À : Maven Developers List
> Objet : Re: pdf plugin: xsl transformation
> 
> Arnaud HERITIER wrote:
> >>It will still be compatible with Maven 1.0 on JDK 1.4, though?
> > 
> > 
> > Yes I think.
> > 
> > 
> 
> With this latest version of plugin.jelly fron svn I get the 
> following error when running fo:fo:
> 
> BUILD FAILED
> File...... 
> /home/lukas/.maven/cache/maven-pdf-plugin-2.2.1/plugin.jelly
> Element... xslt
> Line...... 128
> Column.... 20
> Provider for javax.xml.transform.TransformerFactory cannot be found
> 
> It works fine with the last version before this latest 
> commit. Am I missing something? I am using maven-1.0.2 and java 1.4.2.
> 
> As a side remark: in the changelog you say you removed the 
> xerces and xalan dependencies, however, these still show up 
> in the pdf:pdf goal of plugin.jelly. I removed those 
> dependencies (from my working version) and also the logkit 
> and xml-apis deps, and all seems to work as before.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


Re: pdf plugin: xsl transformation

Posted by Lukas Theussl <tr...@triumf.ca>.
Arnaud HERITIER wrote:
>>It will still be compatible with Maven 1.0 on JDK 1.4, 
>>though? 
> 
> 
> Yes I think.
> 
> 

With this latest version of plugin.jelly fron svn I get the following 
error when running fo:fo:

BUILD FAILED
File...... /home/lukas/.maven/cache/maven-pdf-plugin-2.2.1/plugin.jelly
Element... xslt
Line...... 128
Column.... 20
Provider for javax.xml.transform.TransformerFactory cannot be found

It works fine with the last version before this latest commit. Am I 
missing something? I am using maven-1.0.2 and java 1.4.2.

As a side remark: in the changelog you say you removed the xerces and 
xalan dependencies, however, these still show up in the pdf:pdf goal of 
plugin.jelly. I removed those dependencies (from my working version) and 
also the logkit and xml-apis deps, and all seems to work as before.

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


Re: pdf plugin: xsl transformation

Posted by Brett Porter <br...@apache.org>.
Arnaud HERITIER wrote:

>Hi Brett,
>
>It's fixed if you want to re-add the pdf goal after the site generation.
>  
>
Thanks!

Already fixed the other problem, probably haven't remembered to commit it.


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
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:aheritier@gmail.com] 
> 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:brett@apache.org] 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:brett@apache.org] 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: dev-unsubscribe@maven.apache.org For 
> > >>>>additional commands, e-mail: dev-help@maven.apache.org
> > >>>>
> > >>>>   
> > >>>>
> > >>>>        
> > >>>>
> > >>>
> > >>>
> > >>>-----------------------------------------------------------
> > ----------
> > >>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For
> > >>>      
> > >>>
> > >>additional
> > >>    
> > >>
> > >>>commands, e-mail: dev-help@maven.apache.org
> > >>>
> > >>>
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>------------------------------------------------------------
> > ---------
> > >>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> > >>additional commands, e-mail: dev-help@maven.apache.org
> > >>
> > >>    
> > >>
> > >
> > >
> > >
> > >
> > 
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For
> > additional
> > >commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> > >  
> > >
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> > additional commands, e-mail: dev-help@maven.apache.org
> > 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
> 
> 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:brett@apache.org] 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:brett@apache.org] 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: dev-unsubscribe@maven.apache.org For 
> >>>>additional commands, e-mail: dev-help@maven.apache.org
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>
> >>>
> >>>-----------------------------------------------------------
> ----------
> >>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For
> >>>      
> >>>
> >>additional
> >>    
> >>
> >>>commands, e-mail: dev-help@maven.apache.org
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> >>additional commands, e-mail: dev-help@maven.apache.org
> >>
> >>    
> >>
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional 
> >commands, e-mail: dev-help@maven.apache.org
> >
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


Re: pdf plugin: xsl transformation

Posted by Brett Porter <br...@apache.org>.
It will still be compatible with Maven 1.0 on JDK 1.4, though? That way 
the release notes could easily just say that JDK5 users on Maven 1.0 
must stick with the previous version.

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:brett@apache.org] 
>>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:brett@apache.org] 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: dev-unsubscribe@maven.apache.org For 
>>>>additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
>>>      
>>>
>>additional 
>>    
>>
>>>commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>> 
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
>>additional commands, e-mail: dev-help@maven.apache.org
>>
>>    
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>  
>


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
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:brett@apache.org] 
> 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:brett@apache.org] 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: dev-unsubscribe@maven.apache.org For 
> >>additional commands, e-mail: dev-help@maven.apache.org
> >>
> >>    
> >>
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional 
> >commands, e-mail: dev-help@maven.apache.org
> >
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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


Re: pdf plugin: xsl transformation

Posted by Brett Porter <br...@apache.org>.
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:brett@apache.org] 
>>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: dev-unsubscribe@maven.apache.org For 
>>additional commands, e-mail: dev-help@maven.apache.org
>>
>>    
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>  
>


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


RE: pdf plugin: xsl transformation

Posted by Arnaud HERITIER <ah...@gmail.com>.
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:brett@apache.org] 
> 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: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 




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