Hi Henrik,
I'm pretty sure the snapshot is available in the codehaus snapshot
repository. If so, you don't need to compile it yourself. Just add the
following to your pom.xml.
<repository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
Since you have the source code though, it would be a good idea to generate
the site because it contains instructions for the JnlpDownloadServletMojo
that are not yet available on the internet site.
So, for a bit more info on how I'm using webstart and proguard:
I have the following projects:
* client - A normal maven jar project.
* webstart - A normal maven war project.
There are also more projects that are transitive dependencies of the
client project.
The client project uses the proguard-maven-plugin to create a second,
obfuscated jar with a classifier, and the build-helper-maven-plugin to
attach the extra jar to the project and install it in my local repository.
It sounds like this is what you're already doing.
The war project uses the webstart plugin to add a jnlp bundle. I can
switch from using an obfuscated jars to a non-obfuscated jar just by
commenting a single line in the pom.xml, the <classifier>obf</classifier>.
Or I could have done it using profiles.
Hope this helps. Let me know if you need more info.
Cheers,
Kevin
"Henrik Dohlmann" <[EMAIL PROTECTED]>
18/10/2007 13:13
Please respond to
[email protected]
To
<[email protected]>
cc
Subject
RE: [mojo-user] Use webstart plugin with proguard
This could very well be an option for me J
I just recently got the 1.0-alpha2-SNAPSHOT compiled and installed
locally, by skipping tests. I think this is the reason since I am on a
windows box:
http://jira.codehaus.org/browse/SUREFIRE-117
So, having compiled the 1.0-alpha2-SNAPSHOT, I assume this should be
deployed to some intermediate repository to avoid getting in conflict with
a later release? How do you handle this?
I am in the process of modifying the pom for the syntax changes and would
very much like to get some input as to what you have done regarding
webstart and proguard.
Regards,
/Henrik
From: Kevin Stembridge [mailto:[EMAIL PROTECTED]
Sent: 18. oktober 2007 12:50
Hi Henrik,
I'm currently doing exactly what you would like to be able to do but it
requires the new JnlpDownloadServletMojo in 1.0-alpha2-SNAPSHOT. It gives
you more control what artifacts you deploy in your bundle. But of course
you must be deploying your bundle in a servlet container and serving it up
via Sun's JnlpDownloadServlet.
If this is an option for you I can give you more information if you'd
like.
---
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional
EU corporate and regulatory disclosures.