[ 
http://jira.codehaus.org/browse/MOJO-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eirik Bjørsnøs closed MOJO-1403.
--------------------------------

    Resolution: Fixed

Bob

Thanks, patch applied with minor modifications. I made the parameter a Set, so 
the syntax is now:

<excludeArtifactIds>
   <artifactId>swt-win32</artifactId>
</excludeArtifactIds>

Please not that this does not work transitively, so dependencies of swt-win32 
will be included.

To make that work I recommend adding a profile that is activated only on the 
Mac and add the swt-mac dependency there.

See http://svnsearch.org/svnsearch/repos/MOJO/search?revision=11962 for details

> Add the ability to exclude artifacts from Resource Bundle
> ---------------------------------------------------------
>
>                 Key: MOJO-1403
>                 URL: http://jira.codehaus.org/browse/MOJO-1403
>             Project: Mojo
>          Issue Type: New Feature
>          Components: osxappbundle
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-4
>         Environment: N/A
>            Reporter: Bob Walker
>            Assignee: Eirik Bjørsnøs
>            Priority: Trivial
>         Attachments: CreateApplicationBundleMojo-ExcludedArtifacts.patch
>
>
> I'm trying to develop an SWT app to deploy to both OS X and Windows. I have 
> both swt jars as dependencies, but I'm creating two output assemblies, one 
> for each platform. I therefore need to exclude the Windows 32 bit jars from 
> the OS X apps classpath, and likewise the OS X 64 bit jars from the windows' 
> one.
> I guess modifying the classpath would be another way to tackle this, but this 
> seemed the most straightforward. 
> Usage: just requires the inclusion of a node like this:
> <excludeArtifactIds>swt-win32</excludeArtifactIds>

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