Re: [jnc-users] Help with figuring out additional Jars referenced by the Third-Party Jars included
Status: Beta
Brought to you by:
soapy
From: Marco T. <ma...@mt...> - 2011-10-27 08:37:22
|
Dear Hirak You can try two things: - Don't compile the complete jar (step 1). - Add "-findirect-dispatch" as custom GCJ flag (step 3). This way you don't have to provide the missing jars. Hope that helps Marco On 27.10.2011 00:19, Hirak Banerjee wrote: > Hi, > I'm attempting to generate an executable for a Spring application. I am > packaging my compiled source code into a jar. This jar along with the > spring jars are added to the JNC project. However, when I try to > compile, it throws an error trying to process the spring.jar. > It appears as though the compiler requires additional jars(like > aspectjrt) that Spring references in its source, but those are not > required if I simply run my application as a Java application. Can > someone please confirm if this is expected? > If so, then is there a way to compute the complete list of referenced jars? > Just trying to find out if there's any way, other than trying to compile > repeatedly and adding jars one at a time. > Thanks, > Hirak > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > > > > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |