Hi, thanks for your awnser. I want to create a script, that calls another binary (jsvc, that is also included in the assembly). That binary starts the actual java program as a service. But the binary needs special parameter. The classpath among other things. So I need to include the filename of all depending jar files, to be able to build a string for the classpath.
I'll check the plugins, you suggested greetings > Depending on what you want to do, you seem to want to use a dedicated > plugin, instead of what seems like hand-coding standard things? > You seem to want to create an executable jar? > What does your script contain, is it something very special or just a java > command for example? > > If so, there's many solutions for you (exec-maven-plugins, > maven-shade-plugin...). > > If you give more details, we'll be able to help you better. > > Cheers > > 2010/9/20 Iron Eagle <[email protected]> > > > Hi, > > > > I have a maven project, that includes an assembly step in its lifecycle > > (during package). I copy the dependencies of the project in a lib/ > > > > > folder. > > Additional, copy a script file into a bin/ folder. That scripts should > > start the jvm and the application later. > > > > Now, I want to include the filenames of the depdendencies into the script > > file in order to extend the classpath when starting the jvm. > > > > Is that possible? Can anyone help me? > > > > best regards > > Luis > > -- > > GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!* > > http://portal.gmx.net/de/go/dsl > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
