Pages: [1]   Go Down
Author Topic: Hacking the IDE: Help with Ant  (Read 2290 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been trying to add some GIT functionality to the IDE the last few days. I have created a working test project that runs fine.

I have added the classes i created that implement the jgit library then added jgit  to the lib folder and modified the build.xml classpath for the javac on the app directory
Code:
classpath="../core/core.jar; lib/jgit-0.10.1.jar; etc etc

My code compiles FINE! But when i go to execute the produced windows executable it pops up the splash using launch4j then the actual java app dies/never appears.

I know the output is missing a reference or something but i can't work out how to resolve this at all  smiley-eek

Any help would be appreciated.

*edit*
I have been able to load the ant project into eclipse and provide my modifcations there and it compiles and works! But i would like to get it generating the correct output without the need for eclipse  smiley-mad
« Last Edit: February 04, 2011, 09:23:46 pm by effection » Logged

Christchurch
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Launch4j provides some debug options, these may help track down your problem:

http://launch4j.sourceforge.net/docs.html#Runtime_options

Chris
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Worked a treat! Found my problem  smiley
Logged

Sacramento, CA
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm summarizing the research I did to fix this error.

Disable/delete unnecessary COM ports.
http://www.arduino.cc/en/Guide/Troubleshooting#toc14

Unplug Bluetooth adapter (worked for me).
Close/Disable Bluetooth software, e.g. Bluesoleil.exe and btntservice.exe
http://arduino.cc/forum/index.php/topic,49236.msg351901.html#msg351901
http://arduino.cc/forum/index.php/topic,49117.msg351086.html#msg351086

Delete preferences.txt
Windows 7: C:\Users\<user>\AppData\Roaming\Arduino\preferences.txt
Windows XP: C:\Documents and Settings\<user>\Application Data\Arduino\preferences.txt.
http://arduino.cc/forum/index.php/topic,48241.msg345604.html#msg345604

Edit the file outside of a version control system.
Subversion: http://arduino.cc/forum/index.php/topic,52152
Git: http://arduino.cc/forum/index.php/topic,51135
Logged

Pages: [1]   Go Up
Jump to: