issue compiling source

23 views
Skip to first unread message

nickd

unread,
Sep 23, 2011, 2:20:58 PM9/23/11
to Fitnium
This is a question to the devs / anyone compiling their own
fitnium2.jar

i'm trying to add to the basefitniumfixture in order to pass in
saucelabs user/pass/key for running selenium stuff there.
i've added the code, eclipse says that it's fine.
eclipse does create a jar for me, but fails to compile the .java
to .class...it's just a jar full of java files

javac whatever.java throws a whoooole lot of symbol not found errors
i've got the classpath pointing to fitlibrary.jar, fitnium2.jar and
the libs folder

it's been a while since i last visited java-land, so things look a
little alien to me (working in a python shop)
openjdk6
ubuntu 10.10
latest source for fitnium
eclipse gallileo up and running, but possibly not set up properly
(have all the jars showing up in the lib tab of properties)

Goal:
looking to be able to edit a java file, then recompile the whole src/
com/ folder into a jar full of classes ready for use.

please instill your wisdom on this humble qa, oh mighty gurus of
infinite java knowledge

-brian

Keith Sterling

unread,
Sep 24, 2011, 3:52:11 AM9/24/11
to Fitnium
You have 2 options

a) Send me the source code that you want adding and I will add it
trying to make it generic enough that it doesn't cause any problems

b) Create the jar file in eclipse, following these instructions

1) Right click on the project and select Export
2) From the dialog box select Java, then JAR File
3) Click Next
4) The next dialog box has 2 windows in it, in the left hand side
one, click Fitnium and you will then see
> src
> settings
> data
> libs
Unselect everything but src
6) Make sure that "Export generated class files and resources" is
checked
5) Click Finish

Jar file duely created

K
Reply all
Reply to author
Forward
0 new messages