View Single Post
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#230
Originally Posted by DavyP View Post
Hi Cristian,

Thanks for all these script updates. At the moment I cannot test
this on the emulator due to incompatibilities with a real device.

There is one thing I wanted to point out: you do not need to
generate the jad file if it does not exist. In such a case, you create
the sh file without the '-jadpath midlet.jad' parameters.

Also, you could argue if you create a desktop file, you can directly
put the startup command in the desktop file rather than in a
separate script.

Then there are a few minor other issues I have come across with
certain midlets (like wrong line endings and dangling spaces).

I will see how I can fix these issues and embed the script in my
next build. My plan was actually to build something directly within
the phoneME application in native Qt4 code in a similar way like
I did for my Android build, but for the time being I think you script
will do.

Cheers,
Davy
Yes. I'm not a bash expert, i added the lines without comments, i was in panic! ahahahah, i'll fix it soon

i can try with zenith for now, but first i remove $JAD and $SH variables, i made confusion! ahahhaah


** foe the lines, you say this or the other script? beccouse i changed sed lines here to use correct icon, names etc


edit:

Script is changed now, i fixed everything except it doesnt accept jar file names with spaces ( ex: ciao from the italy.jar )i'm tired, i go to sleep i see caracters everywhere..

changes

removed sh line
removed jad line
changed the echo >> to $MIDLET_NAME.desktop as u wrote

down here is the zip file with gtk-update-icon-cache and excalibur script, they must be on /usr/bin/ with rwx permissions.

Ciao dall'Italia

Cristian
Attached Files
File Type: zip files.zip (1.7 KB, 95 views)

Last edited by santiago; 2012-02-16 at 02:24.
 

The Following User Says Thank You to santiago For This Useful Post: