Hi,

thanks. Thats a good idea. I'll keep that in mind.

I am not very familiar with that package method. Are there any disadvantages? 
What about files, that have the same filename and are stored in the same folder 
in two or more dependencies. Won't one file overwrite the other?

-------- Original-Nachricht --------
> Datum: Mon, 20 Sep 2010 15:09:45 -0400
> Von: Ron Wheeler <[email protected]>
> An: [email protected]
> Betreff: Re: write dependencies into file during assembly

>   Can you not make your application program into a single jar 
> "jar-with-dependencies" and avoid all this?
> 
> That is much easier to make and distribute - maven assembly.
> 
> It looks a lot more polished than an application that sprays dozens on 
> files onto the disk.
> 
> Ron
> 
> 
> On 20/09/2010 2:52 PM, Iron Eagle wrote:
> > 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 !
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to