How to install Javassist to an Ant project

461
March 19, 2017, at 07:22 AM

I'm trying to import javassist in one of my Ant projects, however, I'm finding it hard to be able to import the Javassist jars into my project. Here is my build.xml:

<target name="compile">
        <javac srcdir="src" destdir="classes" includeantruntime="false"/>
        <jar destfile="./KeyConstructors.jar" basedir="classes">
            <zipgroupfileset dir = "./lib" includes = "*.jar"/>
            <manifest>
                <attribute name="Main-Class" value="ist.meic.pa.KeyConstructor" />
            </manifest>
        </jar>
</target>

I have a "lib" folder in the root of the project, and inside I have a zipfile with Javassist downloaded from the official website. I tried placing the jar files on the lib folder, but nothing, I'm not able to import javassist from my project. Any ideas on what I'm doing wrong?

Thanks

Rent Charter Buses Company
READ ALSO
How to specify &ldquo;sources&rdquo; JAR for local JAR dependency?

How to specify “sources” JAR for local JAR dependency?

I have a *jar file in my Gradle / Buildship project that resides in a lib folder

362
Java: Efficient Integer Color Darkening

Java: Efficient Integer Color Darkening

So I am working on a program that requires darkening a color (represented in integer form) by a percentageThis process however I need to be relatively efficient; the process that I have already written works fine but I was wondering if I could refine...

466
How to correctly persist Java Beans?

How to correctly persist Java Beans?

TL;DR: Is putting persistence methods on the class declaration of a Java Bean wrong or just "ugly"? Also, if it's neither, can I use it with MVC?

470
Matrix multiplication using multiple threads parallel processing. Rotational or jump-p way [on hold]

Matrix multiplication using multiple threads parallel processing. Rotational or jump-p way [on hold]

I am trying to write up a code for matrix multiplicationI have been able to work through all the other parts except for the part to rotationally use the multiple threads for the multiplication process

368