Tux Guitar

Help

  Forums : Help
Subject Button Graphics and Release   Post Reply Post New Topic



Author Message
Chris
Post: Mar 21st 2007 at 7:01 PM   Post Reply

Hello,
I am having trouble still getting the button graphics to show up. They are still white boxes. I also am having trouble creating some sort of executable, when I do a source-package build I get messages like this:
Warning: orgheractuxguitarguiSongTableViewer.java modified in the future.

and this error:
BUILD FAILED
C:TuxGuitarTux Guitarbuild.xml:90: C:TuxGuitarTux Guitarxml not found.

Any help would be appreciated thanks.


Back to Top
 
Julian
Post: Mar 21st 2007 at 7:27 PM   Post Reply

Hi,

>I am having trouble still getting the button graphics to
>show up. They are still white boxes.
this is because "share/" folder is not at java classpath.
the question is why isn't it?
check at the launcher script.. if the paths are correct.

>Warning: orgheractuxguitarguiSongTableViewer.java modified
>in the future.
yes.. i did know that after upload the file releases.. it was a date problem with my PC

>BUILD FAILED
>C:TuxGuitarTux Guitarbuild.xml:90: C:TuxGuitarTux Guitarxml not found.
this target is deprecated.. i forgot remove from build.xml.


Back to Top
 
Anonymous
Post: Mar 21st 2007 at 10:25 PM   Post Reply

Hello thanks for the help. Sorry, but what is the launcher script called.
Thanks.


Back to Top
 
Julian
Post: Mar 22nd 2007 at 11:06 AM   Post Reply

the name of the launcher is "tuxguitar".

you should run the app with that script.


Back to Top
 
Chris
Post: Mar 22nd 2007 at 4:16 PM   Post Reply

Cool Thanks, got the graphics going. Now my only problem is running it without the IDE. You said to use a scipt called tuxguitar to run the app, but I did a search and I only found tuxguitar.java

What is the procedure to get the app running without the eclipse IDE?

Thanks.


Back to Top
 
Julian
Post: Mar 22nd 2007 at 4:26 PM   Post Reply

if you found any *.java file.. if because you have source files..
you should download (or build) binary files to see the launcher script


Back to Top
 
Anonymous
Post: Mar 22nd 2007 at 4:58 PM   Post Reply

I see, I've been building with eclipse. If I use the ant file I get this error:
BUILD FAILED
C:ProjectsTux Guitarbuild.xml:37: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Sorry, I am just trying to understanding java now.


Back to Top
 
Julian
Post: Mar 22nd 2007 at 5:06 PM   Post Reply

the error is saying. ant can't found JDK...
i don't know why.. because you can run eclipse..
try export JAVA_HOME before do ant.

why don't you want download a builded version ?


Back to Top
 
Anonymous
Post: Mar 22nd 2007 at 5:11 PM   Post Reply

Hello,
I want to modify the app. I'm putting colors on the notes, cause it helps me read the music better. I have already done that. I guess I need to know how to set JAVA_HOME.

thanks.


Back to Top
 
Julian
Post: Mar 22nd 2007 at 5:22 PM   Post Reply

hi..
about your paths ( C: ) i asume you are under windows
i don't use that OS from some years.. so i don't remember how export env vars... (i suggest you search on google)

i think if you open a windows terminal (start menu -> execute -> "cmd")
and you type:

export JAVA_HOME=C:where_is_java
cd where_are_tuxguitar_sources
ant

it should works...
but before.. you need edit the "build.properties" file.
uncommend all windows section.. and commend or remove other.


Back to Top
 
Anonymous
Post: Mar 22nd 2007 at 10:11 PM   Post Reply

Hello Thanks. Now when I run the TuxGuitar launch I get this on the console

C:ProjectTuxGuitarTux Guitar>cd "."

C:ProjectTuxGuitarTux Guitar>javaw -cp ;TuxGuitar.jar;libswt.jar;libitext-1
.4.5.jar;share -Djava.library.path=lib org.herac.tuxguitar.gui.TuxGuitar
0

and the Java Virtual Machine Launcher says cannot find main class.

I think this is the last problem I will have. Is there a configuration that I have to set the main class at.
Thanks


Back to Top
 
Julian
Post: Mar 22nd 2007 at 10:24 PM   Post Reply

Hi,

the main class is setted "org.herac.tuxguitar.gui.TuxGuitar".. this is not the problem.

check the classpath, all files must exists:
TuxGuitar.jar;libswt.jar;libitext-1.4.5.jar;share

-Djava.library.path=lib also must exists

try edit the .bat file, and replace "cd ." to "cd C:correct_path"


Back to Top
 
Anonymous
Post: Mar 22nd 2007 at 11:03 PM   Post Reply

What does this mean?
-Djava.library.path=lib


Back to Top
 
Julian
Post: Mar 22nd 2007 at 11:11 PM   Post Reply

java.library.path is the property where are native libraries
(*.dll in windows)

tuxguitar needs that property, to know where are SWT jni libraries.

if that property isn't setted, you'll see an error like "java.lang.UnsatisfiedLinkError"


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 5:14 PM   Post Reply

Hi,
I still get the error that it cannot find the main class.

You said this:
check the classpath, all files must exists:
TuxGuitar.jar;libswt.jar;libitext-1.4.5.jar;share

-Djava.library.path=lib also must exists

I have libswt.jar, libitext-1.4.5.jar, and share on the class path. I do not have TuxGuitar.jar because it wasn't there to after I built the program. Do I add it later? Also what should be in the java.library.path. Just the 4 swt dll files?
Thanks.
I plan to write a doc on getting this up and running on windows once I get it working.


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 5:22 PM   Post Reply

I also noticed that java.library.path also has a reference to lib.swt.jni
What is lib.swt.jni, and how do I set that?
Thanks


Back to Top
 
Julian
Post: Mar 23rd 2007 at 5:24 PM   Post Reply

Hi...

try don't confuse... build and run are 2 different steps.

to build tuxguitar, you don't need tuxguitar.jar at path because at that moment the .jar file doesn't exists.

to run tuxguitar, TuxGuitar.jar must be at CLASSPATH.. is the only way for java to know where is the main class.

in the java.library.path. Just the 4 swt dll files?
that property set only the folder (not files as in classpath)..
for example:
if you have that libs:
/library/lib1.dll
/library/lib2.dll
/library/lib3.dll

the property must be:
-Djava.library.path=/library


Back to Top
 
Julian
Post: Mar 23rd 2007 at 5:32 PM   Post Reply

we post at same time...

>I also noticed that java.library.path also has a reference
>to lib.swt.jni
>What is lib.swt.jni, and how do I set that?
wait...
lib.swt.jni.. is only a property to build.xml (called by ant)
with that property, -Djava.library.path is setted..
so the lib.swt.jni must be the same as library path.

but wait.. if you are using ant file.. the .bat file should be OK..
so maybe the problem is you have wrong properties at build.properties..


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 5:49 PM   Post Reply

my build.properties is this

My root is this path C:/Projects/Tux Guitar

########## WINDOWS BUILD PROPERTIES ############
lib.swt.jni=lib
lib.swt.jar=libswt.jar
lib.itext.jar=libitext-1.4.5.jar
lib.janel-ant.jar=libjanel-ant-0.1.jar
build.version=0.9
build.dist=windows
build.jar.dir=
build.bin.dir=
build.share.dir=share
build.doc.dir=doc
build.manifest.classpath=${lib.swt.jar} ${lib.itext.jar} ${build.share.dir}


and my classpath is this











Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 5:50 PM   Post Reply

Actually what should the syntax look like to add tuxguitar.jar to the class path. I couldnt display my classpath file on here.
Thanks.


Back to Top
 
Julian
Post: Mar 23rd 2007 at 6:02 PM   Post Reply

show me your .bat file..
and show me the list of your files at: C:/Projects/Tux Guitar


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 6:18 PM   Post Reply

Bat file is:
cd "."
javaw -cp;TuxGuitar.jar;libswt.jar;libitext-1.4.5.jar;share -Djava.library.path=lib org.herac.tuxguitar.gui.TuxGuitar %1 %2 %3 %4 %5 %6 %7 %8 %9 %10

Folders within Tux Guitar Folder
.metadata
bin
build
doc
lib
share
src

Files within Tux Guitar Folder
.classpath
.project
build.properties
build.xml
build-linux.xml
build-mac.xml
build-ubuntu.xml
buld-windows.xml
tuxguitar.bat
tuxguitar.jar


Back to Top
 
Julian
Post: Mar 23rd 2007 at 6:38 PM   Post Reply

Well...

your classpath is wrong:
>-cp;TuxGuitar.jar;libswt.jar;libitext-1.4.5.jar;share
TuxGuitar.jar --> in your folder is "tuxguitar.jar" (lower case)

libswt.jar and libitext-1.4.5.jar --> i don't see at your folder... (i'm not sure if is because the web page hidden the "/" )


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 7:46 PM   Post Reply

I moved the swt and text .jars into the lib folder and now the splash screen comes up, but then it just hangs. I am working on looking at the console to see whats happening but I can't see it.


Back to Top
 
Julian
Post: Mar 23rd 2007 at 8:03 PM   Post Reply

at .bat file ... replace javaw to java.. to see exceptions.


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 8:09 PM   Post Reply

Heres what it says
Im trying to understand it


C:ProjectsTux Guitar>cd "."

C:ProjectsTux Guitar>java -cp ;TuxGuitar.jar;libswt.jar;libitext-1.4.5.jar;s
hare -Djava.library.path=lib org.herac.tuxguitar.gui.TuxGuitar 0
Exception in thread "main" java.lang.NoClassDefFoundError: com/lowagie/text/BadE
lementException
at org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout.makeScoreNoteIm
age(ViewLayout.java:281)
at org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout.initScoreNotes(
ViewLayout.java:196)
at org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout.(ViewLayo
ut.java:89)
at org.herac.tuxguitar.gui.editors.tab.layout.LinearViewLayout.(Li
nearViewLayout.java:28)
at org.herac.tuxguitar.gui.editors.tab.Tablature.reloadViewLayout(Tablat
ure.java:546)
at org.herac.tuxguitar.gui.editors.TablatureEditor.showTablature(Unknown
Source)
at org.herac.tuxguitar.gui.TuxGuitar.createComposites(TuxGuitar.java:255
)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(TuxGuitar.java:189)
at org.herac.tuxguitar.gui.TuxGuitar.main(TuxGuitar.java:124)


Back to Top
 
Julian
Post: Mar 23rd 2007 at 8:18 PM   Post Reply

com.lowagie.* are itext classes...
so there is something wrong at the classpath with itext-[version].jar...


Back to Top
 
Anonymous
Post: Mar 23rd 2007 at 8:32 PM   Post Reply

I finally got it. The version of the itext in the build.properties file didnt match the itext i actually had. Everything seems good now. Thanks for all the help so far. I may need more help when it comes to getting cvs going, but that won't be for a little while. I'll make a document so other people can have some sort of reference and don't have to go through the same problems I had.


Back to Top
 
Anonymous
Post: Mar 26th 2007 at 5:45 PM   Post Reply

Here is the procedure that I used.

Using Guitartux in eclipse under Window Xp

-Move the root folder(the one with folders src, share, and the build. of guitartux to the elipse workspace.

-Rename the Root Folder to "Tux Guitar" -this makes things alot easier.

-Open the build.properties file remove or comment out(comment with '#') all of the build properties except for windows.

-Add a folder called "lib" so it is under C:....Tux Guitarlib

-Put swt.jar and itext-[ver].jar in the lib folder

-Make sure the lines that point to jar's in build.properties has the correct names. eg. make sure lib.itext.jar=libitext-[ver].jar has the correct version.

-Put the swt.dll files in windows->system32 folder

-Open Eclipse.

-Create a new project by going to File->New->Project

-Select Java Project form Existing Ant Buildfile

-Click Browse to look for the xml build file

-Select C:....tux guitarbuild.xml

-Click finish

-Add tools.jar for Ant Build by going to Window->Preferences

-Go to Ant->Runtime

-Under Classpath tab in the Global Entries field.

-If jdk tools.jar file is not there(under global entries) add it by clicking Add External JARs

-Add tools.jar in the Javajdk(ver)lib directory

-Click Apply then Ok

-To build select Window->Show View->Ant

-On that view click on Add Buildfiles

-Add Tux Guitarbuild.xml

-Setup Class path by right clicking on the ant build file and select Run As->2 Ant Build…

-Select the Classpath tab

-Click Add JARs

-Add Lib/swt.jar and Lib/itext-[ver].jar if they are not there just use add external JARs instead

-Click Add Folder

-Add Tux Guitarshare folder

-Click Apply

-Run the build file.


Back to Top
 
Johnny
Post: Mar 26th 2007 at 5:57 PM   Post Reply

-Put the swt.dll files in windows->system32 folder

I don't like this step.
You can add a Native Library folder in Eclipse, and it's done the same way in Windows and in Linux. I don't remember correctly, but it's something like Project->Properties, Libraries, Add library folder. Than you add a folder where your SWT native files are (projectlib probably).
Then select that folder you added, right click for popup or something and select Add Native Library files. You select the same folder and you're done.



-Rename the Root Folder to "Tux Guitar" -this makes things alot easier.

LOL


Back to Top
 
Julian
Post: Mar 26th 2007 at 6:30 PM   Post Reply

Hi,

yes.....but!!
SWT-3.3 will not need that anymore.. native libraries will included at and readed from jarfile...
it works under current version.


Back to Top
 
Jeff
Post: Jul 18th 2007 at 12:55 AM   Post Reply

Hi Anonymous

I just want to say excellent instructions, worked like a charm, you are the man and this is a very good product everyone. Thanks for all the help everyone, I just wanted to add a few functions.

Jeff


Back to Top
 
Masta
Post: Feb 17th 2012 at 7:02 PM   Post Reply

Hi Florian, nice saaiurmzmtion.Mac OS isn't supported platform yet. Main reason is we don't expect that too many people are using it for j2me development. Convince us and


Back to Top
 
jsxwkly
Post: Feb 19th 2012 at 8:35 AM   Post Reply

VmRw4W koxksbuzbdxw


Back to Top
 
Anonymous
Post: Feb 22nd 2012 at 3:24 AM   Post Reply

LF-The christian shoes is an insanely popular brand. It is why many online retailers the famous genuine ugg boots and selling them at incredibly low prices. It has become a problem for Winter boots. These cheap Christian lacroix are made with synthetic materials. I recommend carries christian shoe in all sizes, they offer free shipping. womens edmonton ugg requires. Ugg boots do cost more, but they are of much higher quality. ugg boots still turn heads. If you are wearing Authentic Christian louboutin online.


Back to Top
 
Annabomm
Post: Feb 23rd 2012 at 2:56 AM   Post Reply

NOVEMBER 19TH!!!The Tower Group's MONTHLY SOBRIETY DANCE!! 7pm till ??Food and DJ Entertainment!! It's going to be a great night and we look forward to seeing you there!! God Bless!

tramadol free auto insurance quotes


Back to Top
 
Anonymous
Post: Feb 29th 2012 at 8:07 AM   Post Reply

Template Monster website templates, Flash templatesmonster beats studio and web design products of the highest quality with fast, easy, and affordablebeats pro by dre website and other famous for the production of solutions. The best part about thelady gaga heartbeats template simple-template customize a little bit, then you buy the package, upload it to a host. There-when your site some time in the selected web site from the moment the template! TemplateMonster design, selecting the Web provider every time products, basic and monster beats turbine propremium quality products and services, so that a large set of secure, immediate.


Back to Top
 
Shanna
Post: Mar 8th 2012 at 6:59 AM   Post Reply

especially because we can confirm some awesome names speaking that weekend! Evo Terra, the fabulous Amy Donohue, and we even have some local TV news fame speaking- 3-TV?s Carey Pena!  Who would want to miss

cheap auto insurance quotes cheapest cialis


Back to Top
 
Caro
Post: Mar 8th 2012 at 10:32 AM   Post Reply

Kevin was very special to Elaine and me from the first sesshin we attended 6 or 7 years ago to the most recent a few weeks ago, when he came in during an evening sitting walking slowly with his cane and friends in support. I'll miss his humor and his dedication.

ultram for pain control online auto insurance


Back to Top
 
weining
Post: Mar 8th 2012 at 1:25 PM   Post Reply

Why do Goyard tote bags we go goyard bags to these goyard tote for sale lengths goyard tote replica for you? Simple. goyard handbags Over goyards the goyard tote replica past 15 goyard tote bags buy years we’goyard tote bags for sale ve seen goyard tote bags st louis changes goyard tote bags barneys in this goyard tote bags price industry goyard st louis tote replica that would goyard bags replica knock goyard bag online your goyard tote bags white socks goyard pairs off – both sac goyard good goyard barneys and bad. In goyard price our goyard online business, we goyard need to goyard tote be on goyard handbags online top of goyard bags online every goyard.com change Christian Louboutin replica out Fake christian Louboutin there to Faux Chrisitan Louboutin ensure Christian Louboutin replica boots our Replica christian Louboutin customers red bottom shoes are well Christian louboutin imitation taken knock off christian louboutin bootscare of christian louboutin replica handbags and christian louboutin boots 2011completely louboutin shoes satisfied. christian louboutin sale shoes That’s christian louboutin for less our shoes christian louboutin promise christian louboutin on sale to you – buy christian louboutin complete christian louboutin shoes cheap satisfaction christian louboutin discount shoes or your christian louboutin daffodile money back christian louboutin replica daffodile when you Designer handbagsbuy replica Replica Handbags watches.And Louis Vuitton replica for over Replica Bags 20 years Replica bags uk we’ve pioneered designer handbags purses unbelievable designer handbags for cheap advances in designer wholesale handbags an industry designer handbags discount that’s been designer handbags for sale tainted by designer handbag sale the phrase top designer handbags fake watches.Why best designer handbags do we say designer handbag online tainted? Because designer leather handbag the term fake designer bags for less almost always discount designer handbags outlet mean “junk.” And designer handbags discounted we never accept junk here.Rolex is a world famous Watch company, but not every one has got the money to buy Rolex watch, so for them there is the option of Rolex Watch Replicas. For buying Rolex Watch Replicas it is necessary to go to a good and reputed shop as they can offer such Rolex Watch Replicas that are quality wise sound.


Back to Top
 
Anonymous
Post: Mar 10th 2012 at 7:07 AM   Post Reply

Justin Bieber Purple
Justin Bieber Shoes
Supra Skytop Shoes
New Supra Shoes
2011 Supra Shoes
Supra TK Society Purple
zbbbbhwshjhdd3.10.2012


Back to Top
 
Retta
Post: Mar 16th 2012 at 2:46 AM   Post Reply

Paki, aunque con retraso, te comunico que todos los que lo solicist teis a trav s de los coemntarios est is admitidos/as

tramadol cheap auto insurance online


Back to Top
 
Katty
Post: Mar 18th 2012 at 2:42 AM   Post Reply

Paki, aunque con retraso, te comunico que todos los que lo solicist teis a trav s de los coemntarios est is admitidos/as

online car insurance cheap health insurance


Back to Top
 
Anonymous
Post: Mar 23rd 2012 at 6:45 AM   Post Reply

Naturally, heels work quite buy christian louboutin in making the legs look longer, however nude heels really go above cheap toms shoes and beyond. This is simply because the nude shoes "christian louboutin shoes" the human eye into believing the legs are longer than louboutin shoes actually are.This is very important because the comfort and weight of the shoe play a big toms shoes coupon in your footwork on the tennis court.A new shoe should really last you about 3-4 weeks christian louboutin sales if you're playing a whole lot.When you are shopping seriously for toms shoes women, you'll find different christian louboutin outlet available. Some offer light weight, others are a little heavier made for


Back to Top
 
Anonymous
Post: Apr 5th 2012 at 4:00 AM   Post Reply

Mother's day is coming ,why not to buy a Louis Vuitton

Handbags
for the gift, they are such beautiful and increditable. You can find a cheap one from the
Louis Vuitton Outlet Store if you would like to save your money,because it is not a little. And most the louis vuitton items from
Louis Vuitton Outlet are up to save 70%,but the same qualith.


Back to Top
 
Cheap Christian Louboutin
Post: Apr 17th 2012 at 7:46 AM   Post Reply

What should you look for when buying sexy high heels? If you work at a desk job, wear business attire all day and the extent of your walking consists of walking to the copier Cheap Christian Louboutin and back then four inch heels are perfect. One suggestion is to buy a closed toe shoe with a two and at most three inch heel that will look great with slacks Christian Louboutin Asteroid Pumps giving Christian Louboutin Booties you a polished look without the discomfort of wearing high heels all day long. Platforms add height in the sole reducing the angle your foot Cheap Louboutins rests at and makes the shoe more comfortable, like wedges and other platform type shoes. Many women mistakenly think platform shoes are only those stripper shoes that have the Christian Louboutin Sandals three, four and five inch platforms that make Louboutin Shoes Sale you look like a stripper when you wear them



Back to Top
 

Post Reply