confusion regarding .class file locations and the jar command.
By default, FFJ puts the compiled .class files into the same directory as the .java files. If I have a package(directory) tree that I want to turn into a JAR file, is there an easy way to do this in forrte or by using the command-line jar command? I just want the class files, not the java files or any other miscellaneous files that may reside in the package directories.
Currently, I've got a batch files that copies only the class files into a duplicate directory structure, and then I JAR that. My gut feeling is that there has to be an easier way to do this - hopefully within the Forte IDE.
Thanks for any help,
Will
# 1
Sure, there is a JAR packager in the IDE.
Select New in the File menu, then JAR Packager -> New Recipe. A wizard lets
you specify name, directory with classes, manifest (and maybe something
else) and then you only need to execute this JAR recipe.
Standa
"Will Rogers" <wrogers@ingenico-us.com> wrote in message
news:ee81411.-1@WebX.sykNm9Id...
By default, FFJ puts the compiled .class files into the same directory as
the .java files. If I have a package(directory) tree that I want to turn
into a JAR file, is there an easy way to do this in forrte or by using the
command-line jar command? I just want the class files, not the java files or
any other miscellaneous files that may reside in the package directories.
Currently, I've got a batch files that copies only the class files into a
duplicate directory structure, and then I JAR that. My gut feeling is that
there has to be an easier way to do this - hopefully within the Forte IDE.
Thanks for any help, Will
# 2
u may use Ant to compile jar file easily, by simply a click.
check out the Ant module
~manchi
> Will Rogers wrote:
> By default, FFJ puts the compiled .class files into the same directory as the .java files. If I have a package(directory) tree that I want to turn into a JAR file, is there an easy way to do this in forrte or by using the command-line jar command? I just want the class files, not the java files or any other miscellaneous files that may reside in the package directories.
>
> Currently, I've got a batch files that copies only the class files
> into a duplicate directory structure, and then I JAR that. My gut
> feeling is that there has to be an easier way to do this - hopefully
> within the Forte IDE.
>
> Thanks for any help,
> Will
>