I used the site:stage-deploy command. Looking at the source code, I will
probably need to tell the webstart plugin to deploy to target/staging/jnlp.
I will try this after the weekend.
If this should work, I need a way to tell the webstart plugin if I'm doing a
staging or a real site. Is this somehow possible?
regards,
Wim
Jerome Lacoste-2 wrote:
>
> On 4/6/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Jerome Lacoste-2 wrote:
>> >
>> > have you tried to tell the webstart plugin to generate the files
>> > inside target/site/jnlp by modifying the workDirectory variable ?
>> >
>> > add something like
>> > <configuration>
>> > <workDirectory>${project.build.directory}/site/jnlp</workDirectory>
>> > </configuration>
>> >
>> > then try something like
>> >
>> > mvn site webstart:jnlp
>> >
>> >
>>
>> Yes, I have tried that. It is then ok in the target directory on my local
>> harddisk, but as soon as I try to the deploy that to the (sourceforge)
>> server, that jnlp directory is not deployed along.
>
> Are you 100% sure of that ? Did you run a mvn -X and check the results ?
>
> Looking at the deploy mojo code, I think it deploys the whole target/site
>
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteDeployMojo.java?revision=519777&view=markup
>
> Look for:
>
> wagon.putDirectory( inputDirectory, "." );
>
> and the definition of inputDirectory.
>
> So what are you doing exactly to deploy ?
>
> Cheers,
>
> Jerome
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
--
View this message in context:
http://www.nabble.com/Webstart-and-site-plugin-tf3536755.html#a9881725
Sent from the mojo - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email