Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Compile the code source ELAN

Compile the code source ELAN

Up one level

Compile the code source ELAN

Posted by hanoimuathu at 2009-11-29 16:12  
I downloaded the code source ELAN version 3.7.2. I modified the file "build.xml" in the code ELAN ( and insert the code follow in tag and ) Then I compiled with "Ant" and the file "build.xml" by command line. I received an java executable "ELAN.jar" in the folder "dist". But ELAN.jar doesn't work well (for exemple I can't open a audio file, close the interface ). May anyone help me? Thank you very much!

Re: Compile the code source ELAN

Posted by hasloe at 2009-12-03 17:18  

I think there are two possible approaches.

- running ELAN with your code using the Ant build file, by means of the default target "start". I don't think an "elan.jar" is created in that case. And, you might have to change the "java.library.path", depending on your platform.

- creating a new "elan.jar" using the "jar" target and replacing the original "elan.jar" of an installed ELAN by the one that you have build. The versions should match, i.e. if you downloaded the sources of 3.7.2 you should test in an installed 3.7.2. etc.

This last option might be the easiest since you likely don't have to change library path settings etc.

Hope this helps.
-Han

Re: Compile the code source ELAN

Posted by hanoimuathu at 2009-12-22 09:46  

Thanks you!

 

Powered by Plone

This site conforms to the following standards: