You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/08 00:28:53 UTC
[jira] Created: (MPJNLP-18) Add support for os version and arch
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJNLP-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJNLP-18
Summary: Add support for os version and arch
Type: New Feature
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-jnlp-plugin
Assignee: Emmanuel Venisse
Reporter: Darren Bell
Created: Thu, 7 Oct 2004 6:27 PM
Updated: Thu, 7 Oct 2004 6:27 PM
Description:
We have a growing number of projects that rely on SWT/JFACE from eclipse that we need to distribute via JNLP. At the moment we hand code the JNLP file because we want to use a single file for multiple platforms/os's.
Would it be possible to add 2 properties to each dependency, such as:
<property key="jnlp.resource.os" value="SunOs" />
<property key="jnlp.resource.arch" value="SPARC" />
The plugin could then generate multiple <resource></resource> blocks for each combination of os/arch.
This would enable this plugin to build a project targeted at multiple platforms, but with a single jnlp file and code base.
If i decided to attempt this, what files should i post (in what format) and where?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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
[jira] Commented: (MPJNLP-18) Add support for os version and arch
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Emmanuel Venisse
Created: Fri, 15 Oct 2004 10:29 AM
Body:
Can you post a patch?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPJNLP-18?page=comments#action_25428
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJNLP-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJNLP-18
Summary: Add support for os version and arch
Type: New Feature
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-jnlp-plugin
Assignee: Emmanuel Venisse
Reporter: Darren Bell
Created: Thu, 7 Oct 2004 6:27 PM
Updated: Fri, 15 Oct 2004 10:29 AM
Description:
We have a growing number of projects that rely on SWT/JFACE from eclipse that we need to distribute via JNLP. At the moment we hand code the JNLP file because we want to use a single file for multiple platforms/os's.
Would it be possible to add 2 properties to each dependency, such as:
<property key="jnlp.resource.os" value="SunOs" />
<property key="jnlp.resource.arch" value="SPARC" />
The plugin could then generate multiple <resource></resource> blocks for each combination of os/arch.
This would enable this plugin to build a project targeted at multiple platforms, but with a single jnlp file and code base.
If i decided to attempt this, what files should i post (in what format) and where?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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
[jira] Updated: (MPJNLP-18) Add support for os version and arch
Posted by "Jason Mac (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPJNLP-18?page=all ]
Jason Mac updated MPJNLP-18:
----------------------------
Attachment: jnlpOS.patch
I use SWT and jnlp together quite a bit. The Maven JNLP plug-in wasn't very useful to me because it didn't support the 'OS' and 'ARCH' attributes.
http://lopica.sourceforge.net/ref.html#resources
I put together a patch to support these two elements.
I created the two new properties Darren Bell suggested.
jnlp.resource.os
jnlp.resource.arch
So to use this patch with SWT, I setup my project.xml like this:
<dependency>
<groupId>swt</groupId>
<artifactId>swt-win32</artifactId>
<version>3138</version>
<properties>
<jnlp.jar>true</jnlp.jar>
<jnlp.resource.os>Windows</jnlp.resource.os>
<jnlp.resource.arch>x86</jnlp.resource.arch>
</properties>
</dependency>
<dependency>
<groupId>swt</groupId>
<artifactId>swt-linux</artifactId>
<version>3138</version>
<properties>
<jnlp.jar>true</jnlp.jar>
<jnlp.resource.os>Linux</jnlp.resource.os>
<jnlp.resource.arch>i386</jnlp.resource.arch>
</properties>
</dependency>
Jå§òÑ M@¢þhè®$Øñ
> Add support for os version and arch
> -----------------------------------
>
> Key: MPJNLP-18
> URL: http://jira.codehaus.org/browse/MPJNLP-18
> Project: maven-jnlp-plugin
> Type: New Feature
> Reporter: Darren Bell
> Assignee: Emmanuel Venisse
> Attachments: jnlpOS.patch
>
>
> We have a growing number of projects that rely on SWT/JFACE from eclipse that we need to distribute via JNLP. At the moment we hand code the JNLP file because we want to use a single file for multiple platforms/os's.
> Would it be possible to add 2 properties to each dependency, such as:
> <property key="jnlp.resource.os" value="SunOs" />
> <property key="jnlp.resource.arch" value="SPARC" />
> The plugin could then generate multiple <resource></resource> blocks for each combination of os/arch.
> This would enable this plugin to build a project targeted at multiple platforms, but with a single jnlp file and code base.
> If i decided to attempt this, what files should i post (in what format) and where?
--
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
[jira] Commented: (MPJNLP-18) Add support for os version and arch
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Darren Bell
Created: Thu, 7 Oct 2004 6:45 PM
Body:
Oops, properties should be
<jnlp.resource.os>SunOS</jnlp.resource.os>
<jnlp.resource.arch>SPARC</jnlp.resource.arch>
.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPJNLP-18?page=comments#action_25096
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJNLP-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJNLP-18
Summary: Add support for os version and arch
Type: New Feature
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-jnlp-plugin
Assignee: Emmanuel Venisse
Reporter: Darren Bell
Created: Thu, 7 Oct 2004 6:27 PM
Updated: Thu, 7 Oct 2004 6:45 PM
Description:
We have a growing number of projects that rely on SWT/JFACE from eclipse that we need to distribute via JNLP. At the moment we hand code the JNLP file because we want to use a single file for multiple platforms/os's.
Would it be possible to add 2 properties to each dependency, such as:
<property key="jnlp.resource.os" value="SunOs" />
<property key="jnlp.resource.arch" value="SPARC" />
The plugin could then generate multiple <resource></resource> blocks for each combination of os/arch.
This would enable this plugin to build a project targeted at multiple platforms, but with a single jnlp file and code base.
If i decided to attempt this, what files should i post (in what format) and where?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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