Evening All-
why not compile and include the java source files in jar?
Tak/
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: Source and byte code in one single jar file
> Date: Fri, 15 Aug 2008 11:08:28 +1200
> 
> On Fri, 15 Aug 2008 11:02:41 Kalle Korhonen wrote:
> > Haven't tried but if you just claim the java dir as a custom resource
> > directory as well, what happens? I.e.:
> >         <resources>
> >             <resource>
> >                 <directory>src/main/java</directory>
> >             </resource>
> >         </resources>
> >
> > Kalle
> >
> > On Thu, Aug 14, 2008 at 3:38 PM, Mads Pultz <[EMAIL PROTECTED]> wrote:
> > > I would like to attach .java files to the jar file produced by the jar
> > > plugin. Is this possible and if so how?
> > >
> > > I know that I can produce a separate source jar file, but I would like to
> > > produce one single jar file consisting of both .class files and .java
> > > files.
> > >
> > > /Mads
> watch out for a feature/bug that means the source in that jar will be 
> compiled 
> when ever its included in a compile scope... i never figured out whether it 
> was javac or the compiler plugin...
> 
> -- 
> Michael McCallum
> Enterprise Engineer
> mailto:[EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/

Reply via email to