Now on to your question. The compiler error indicates compile-test can't find the main code. That compiles uses a classpath of classpath.test. Which has classpath.base in the classpath which is blank. So which line of code do you think includes the GSTCalcFrame class?
Joined: Dec 01, 2009
Jeanne Boyarsky thanks for you help. to tell you the truth i didn't write the build.xml from scratch I kind of copy from a tutorial and did some modifications according to my need. I knew the problem was in the target compile test. I just don't know what should i put in it. especially in the parameter srcdir and in refid? i tried putting the location of my javac.exe in the srcdir and leaving the refid the same but i got an error. In the image i attached you can see my folder structure. I dont really know why they define their path id to be classpath.base and their classpath ref id to be classpath.test. Are these packages?
I think you'd have a little better luck if you took a step back, as opposed to putting random things in attributes (like the Java compiler path into an attribute meant to indicate the Java source directory).
As Jeanne said, you don't reference your non-test code (package) in your build file.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com