[ 
http://jira.codehaus.org/browse/MOJO-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137412#action_137412
 ] 

Oleksandr Maksymchuk commented on MOJO-943:
-------------------------------------------

I've checked out and built  latest snapshot version. There are some changes 
concerning including additional resources to the dmg/zip. 
Thats good but it is not possible say were those resources should be put to. 
E.g. I want to put them into different directory then Resources.
Could you please add additional element for that?

> Web applications and flexible relsources dependencies support with internet 
> enabling.
> -------------------------------------------------------------------------------------
>
>                 Key: MOJO-943
>                 URL: http://jira.codehaus.org/browse/MOJO-943
>             Project: Mojo
>          Issue Type: Improvement
>          Components: osxappbundle
>            Reporter: Oleksandr Maksymchuk
>            Assignee: Eirik Bjørsnøs
>         Attachments: osxappbundle-maven-plugin.patch
>
>
> I've used plugin you contributed to mojo and modified it greatly to be
> more flexible to package my web application having different structure
> from simple jar applications.
> Generealy I had issues running it and some confusion with version in
> svn and sources in repo, so I needed to change:
> -     * @component
> role="org.codehaus.plexus.velocity.VelocityComponent"
> role-hint="default"
> +        * @component role="org.codehaus.plexus.velocity.VelocityComponent"
>      * @readonly
>      */
>     private VelocityComponent velocity;
> +       // role-hint="default"
> Don't now how role-hint="default" is in effect but it were erroring
> when running maven with this plugin.
> Also I there were issue (which might be related) that velocity
> component looked at the template and needed relative path from
> _current_ directory, not the project base one.
> Were discovered as I have multiproject pom.
> Also I added:
> +       /**
> +        * Internet enables dmg files after one is created.
> +        *
> +        * @parameter expression="${internetEnable}"
> +        */
> +       private boolean internetEnable;
> -    /**
> +       /**
> +        * Is this webapp project. Default is [EMAIL PROTECTED] true} if 
> project
> packaging is 'war' and [EMAIL PROTECTED] false} otherwise.
> +        *
> +        * @parameter expression="${isWebapp}"
> +        */
> +       private boolean isWebapp = false;// 
> project.getPackaging().equals("war");
> +
> +       /**
> +        * The location of the produced Zip file containing the bundle.
> +        *
> +        * @parameter
> expression="${project.build.directory}/${project.build.finalName}"
> +        */
> +       private File resourcesDirectory;
> +
> +       /**
> +        * Web application directory to copy resources to. Used when [EMAIL 
> PROTECTED]
> isWebapp} set to [EMAIL PROTECTED] true}.
> +        * Default 'webapp'.
> +        *
> +        * @parameter expression="${webappDirectory}"
> +        */
> +       private String webappDirectory = "webapp";
> +
> +       /**
> +        * The comma separated list of tokens to include in the bundle.
> +        * Default is '**'.
> +        *
> +        * @parameter expression="${includes}"
> +        */
> +       private String includes = "**";
> +
> +       /**
> +        * The comma separated list of tokens to exclude from the bundle.
> +        *
> +        * @parameter expression="${excludes}"
> +        */
> +       private String excludes;
> for flexability to create web application.
> And fixed issue with command line that needed to have some wait time
> to execute before proceeding with the next command (so actually dmg
> command worked only on small build projects).
> One minus/todo I needed to use and build file to copy dependencies...
> wich might could be handled by plugin itself, ant were a quick
> solution here to exclude some not needed libraries and resources from
> final war.
> Thanks for your work,
> Oleksandr Maksymchuk,
> OMax

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to