|
Sascha
|
|
Post:
Nov 28th 2007 at 12:37 PM |
|
|
Hi experts,
I need help, thanks in advance. My aim is to build the TuxGuitar from file. I tried but I loosed. I downloaded ant, TuxGuitar sources, iTEXT an SWT. I set the pathes and configured the file build.properties. After the command "ant" I got after some warnings the message "BUILD SUCCESSFUL". Now, I don't know how to start the application. My questions are:
1. which command ist necessary ot start the application? Where is the main?
2. in the file build.properties I didn't set janel-ant-01.jar, because I do not have this file. Can you tell me where I can get this? I didn't found it in my ant-files I downloaded.
Thank you
|
|
|
Julian
|
|
Post:
Nov 29th 2007 at 9:29 AM |
|
|
Hi,
if you saw the "BUILD SUCCESSFUL" message,
you should have a new file script called: "tuxguitar.bat"
just make 2 click to that file.
>in the file build.properties I didn't set janel-ant-01.jar
Janel, is a project to make excecutable files for java (e.g: tuxguitar.exe )
janel-ant, is an ant task, to make the janel file when you build the sources..
that's only to see the .exe ( to replace by the .bat ) but is not obligatory.
where did i found it ?? well i don't remember.. and now, after your question i try found it at google and i don't have results :p.. curioslly..
however the file is at "TuxGuitar/lib" on CVS version.
|
|
|
Sascha
|
|
Post:
Nov 29th 2007 at 7:01 PM |
|
|
Hallo Julian,
thank you for your help. Unfortunately it doesn't work, so I ask you for more details. I think I have generally problems. The first expirence I made was after downloading the source to see, that after extrakting the file TuxGuitar-0.9.1-src.tar the folder "lib" does not appear. I generate it, and copied into the files "iTEXT-2.0.6.jar" and "swt.jar". I then modified the file "build.properties". I changed the line "#lib.itext.jar=lib/itext-1.4.5.jar" in "#lib.itext.jar=lib/itext-2.0.6.jar". I also changed the line "#lib.janel-ant.jar=lib/janel-ant-0.1.jar" in "#lib.janel-ant.jar=lib/", because I don't have the file "janel-ant.jar". After the command "ant", I get after some warnings an 7 seconds the message "BUILD SUCCESSFUL" and see one new generated folder "build" and two new files "tuxguitar" and "TuxGuitar.jar". Unfortunatelly there is no file "tuxguitar.bat", and I still don't have an idea how to start the application.
Please help me, I'm not a good programer, and guess, I have generally problems and hope you to help me detailed. Thank you and greetings from Germany.
|
|
|
Julian
|
|
Post:
Nov 30th 2007 at 8:00 AM |
|
|
wait, i don't know why i assumed you was builing it under windows.. is that true ??
the "tuxguitar.bat" file ( and tuxguitar.exe if you have janel ) is only generated for "windows" releases...
if you build tuxguitar for GNU/Linux, a launcher file called "tuxguitar" will be created.
So i think you builded the GNU/Linux version, and that's why you see "tuxguitar" and not "tuxguitar.bat"
Take a look to build.properties,
all lines start with " # " are comments ( lines NOT readed by ant )
if you take a look, there are commented config for different OS on the file
if you want build the windows version, you need "uncomment" ( remove "#" ) lines after:
########## WINDOWS BUILD PROPERTIES ############
and make sure all lines NOT on this section are commented.( or removed )
|
|