Re: [Informa-developer] Including sources in the jar file
Status: Beta
Brought to you by:
niko_schmuck
From: <it...@gm...> - 2007-07-01 13:23:28
|
Hi Nilesh! Some reasons to keep as it was: - The source is not necessary while running the application, only while developing/debugging. - Eclipse offers a good way to attach source code to jars ( http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/tasks-115.htm). That is the common way to have the source information while developing and debugging. - Source information increases the jar file size. Consequently, the time of deployment is increased, what is not good. See http://java.sun.com/docs/books/performance/1st_edition/html/JPDeployment.fm.html Another solution is to have 2 distributions: with and without code. Regards, Italo On 6/30/07, Nilesh Bansal <nil...@gm...> wrote: > > Hi all, > > Informa jar file does not include java sources. This means that the > IDE (eclipse) can not display javadoc comments for Informa library's > methods. It is very convenient to have source information the the jar > file, and therefore I have done a small change to the build file. > > Please let me know if you believe that including sources in the jar is > not a good idea, in which case we can revert the change. > > Index: build.xml > =================================================================== > RCS file: /cvsroot/informa/informa/build.xml,v > retrieving revision 1.69 > diff -u -p -r1.69 build.xml > --- build.xml 6 Jan 2007 22:54:23 -0000 1.69 > +++ build.xml 30 Jun 2007 20:50:32 -0000 > @@ -178,6 +178,7 @@ > <fileset dir="${build.classes}" > excludes="log4j.properties, hibernate.properties"> > </fileset> > + <fileset dir="${src.dir}" /> > </jar> > </target> > > > > thanks > Nilesh > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Informa-developer mailing list > Inf...@li... > https://lists.sourceforge.net/lists/listinfo/informa-developer > |