The source is in \src
the dependent JARS are in \libs
When I compile using SLC everything works out fine, BUT: the resulting JAR (that is put in my libraries folder) only contains the compiled classes in \src. It does not contain any code of the referring jars in the libs folder.
This results in ClassDefNotFounds in runtime.
PS: I also added the @BA.DependsOn(values={...}) to no avail.
This is how it works. SLC does not add any additional jars in.
You can add the jars sources and add them to the SRC folder. You can can define a ignore-entry in the b4aignore line in SLC
In the early days I used Eclipse to both compile the libraries and generate the XML using the B4Adoclet plugin. Now that my library set is mature I occasionally use Notepad++ and SLC to update them although I did do the CodeEditorView in BasicIDE from scratch this latter way - though I did miss the the Intellisence that Eclipse provides.
I don't really understand: if SLC never includes the depending JARS in the generated JAR file, and you are using it for updates on your own libraries. How do you make sure the JAR of you latest library version includes the depending JARS/classes ?
This is how it works. SLC does not add any additional jars in.
You can add the jars sources and add them to the SRC folder. You can can define a ignore-entry in the b4aignore line in SLC
It doesn't. Any dependant jars are included in a posted library archive together with the compiled library jar and xml files. All those files should be copied together to the additional libraries folder and #AdditionalJar: entries for them made in the application code.
I used IntelliJ to create a JAR file with all my compiled code + the needed classes from imported libraries (jars)
Then I used the SLC for the XML description file of the library
Now I have a single JAR file for my library containing all code needed (no extra JAR's needed).