You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/08/05 20:47:57 UTC

[jira] Commented: (MPPDF-8) add support for external imaging libraries like jimi and jai

    [ http://jira.codehaus.org/browse/MPPDF-8?page=comments#action_44021 ] 

Lukas Theussl commented on MPPDF-8:
-----------------------------------

An alternative that does not need the additional properties:

        <pathelement location="${pom.getContext().getMavenRepoLocal()}/jimi/jars/jimi.jar"/>
        <pathelement location="${pom.getContext().getMavenRepoLocal()}/jai/jars/jai_core.jar"/>
        <pathelement location="${pom.getContext().getMavenRepoLocal()}/jai/jars/jai_codec.jar"/>

(not sure about the naming conventions, the three jars should also be added at http://maven.apache.org/reference/standard-sun-jar-names.html)

ie, the jars get automatically picked up if they are present in the local repository.


> add support for external imaging libraries like jimi and jai
> ------------------------------------------------------------
>
>          Key: MPPDF-8
>          URL: http://jira.codehaus.org/browse/MPPDF-8
>      Project: maven-pdf-plugin
>         Type: Improvement
>  Environment: maven-1.0rc2, maven-pdf-plugin 2.1
>     Reporter: Fábio Franco Uechi
>     Assignee: Arnaud Heritier
>     Priority: Minor

>
>
> Problems with the insertion of PNG image files.
> JIMI/JAI libraries needed for handling them.
> How I've solved it:
> I created 3 new properties in my project.properties. Each of
> them just pointing to its respective library location. 
> maven.pdf.jimi.jar=${maven.repo.local}/jimi/jars/jimi-1.0.jar
> maven.pdf.jaicore.jar=${maven.repo.local}/jai/jars/jai_core-1.1.2.jar
> maven.pdf.jaicodec.jar=${maven.repo.local}/jai/jars/jai_codec-1.1.2.jar
> After that I've inserted the following lines to the plugin.jelly
> script file:
> <pathelement location="${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.jimi.jar')}"/>
> <pathelement location="${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.jaicore.jar')}"/>
> <pathelement location="${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.jaicodec.jar')}"/>

-- 
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