you need to extract your file first (perhaps with plexus-archiver) and then run your script with
Commandline
Wim Deblauwe a écrit :
What do you mean? I see the use of the Commanline class, but it calls an
executable that is on the PATH. I'm talking about running a bat file that is
delivered with my plugin (in the plugin jar).
2005/11/22, Emmanuel Venisse <[EMAIL PROTECTED]>:
look at release:perform goal.
Emmanuel
Wim Deblauwe a écrit :
Hi,
I would like to run a bat file from my plugin. I know that this will
make my
plugin very unportable to other platforms, but I only need to run on
windows. What would be the best way to do this? Since running a bat file
from within a jar is not supported, I guess the best way is to extract
that
bat file from the plugin jar to some temp directory and run it from
there.
Any other ideas?
regards,
Wim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]