Results 1 to 1 of 1
Thread: genjar - "Unable to resolve:"
- 06-28-2009, 06:48 AM #1
genjar - "Unable to resolve:"
Hi all,
I just started using genjar to compact my jars and ran into a bit of a problem. It worked fine for test classes, but failed for this. I'm not sure what the problem is.
Here's a snippet of the build.xmlJava Code:B:\>ant genjar Buildfile: build.xml -init: compile: genjar: [genjar] Generating jar: B:\build\JavaCodeReformat.jar BUILD FAILED B:\build.xml:63: Unable to resolve: my/stuff/JavaCodeReformat.class Total time: 1 second
Any advice is appreciated.Java Code:<target name="-init"> <property file="build.properties"/> <path id="classpath.id"> <pathelement path="${classes.dir}"/> <pathelement path="${lib.dir}"/> </path> </target> <target name="genjar" depends="compile" description="Package into a jar file (using genjar)."> <taskdef resource="genjar.properties" classpath="GenJar.jar"/> <genjar jarfile="${build.dir}/${deploy.name}" classpathref="classpath.id"> <class name="${Main_Class}"/> <manifest> <attribute name="Main-Class" value="${Main_Class}"/> <attribute name="Class-Path" value="${Class_Path}"/> </manifest> </genjar> </target>USE CODE TAGS--> [CODE]...[/CODE]
Get NotePad++ (free)
Similar Threads
-
Java, Military Format using "/" and "%" Operator!!
By sk8rsam77 in forum New To JavaReplies: 11Last Post: 02-26-2010, 03:03 AM -
MoneyOut.println("It took you (whats wrong?>",year,"<WW?) years to repay the loan")
By soc86 in forum New To JavaReplies: 2Last Post: 01-24-2009, 06:56 PM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM -
<core:forEach var="" begin="+<%=j%>+">???
By freddieMaize in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 09-27-2008, 01:20 AM -
"Jumble" or "Scramble" Program
By Shadow22202 in forum Java AppletsReplies: 8Last Post: 04-30-2008, 03:42 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks