Rufen Sie uns an: Deutschland +49 30 23320715 - Österreich +43 1 3059571 | E-Mail: sales@creativeworkline.com
0

CreateProcess error 87 with bb-ant-tools | BlackBerry development

Posted Oktober 7th, 2010 in Blog by Klemens

We are using BlackBerry Ant Tools (bb-ant-tools) and Eclipse to compile and package apps for RIM BlackBerry. The bb-ant-tools are like a wrapper for the rapc command and allow for a nice integration in Ant build scripts. It took some time to have a more or less good running build environment – but in the end it somehow works.

Then one day “out of nowhere” this error came up: “I/O Error: Cannot run program “javac”: CreateProcess error=87, Falscher Parameter” (wrong parameter). But we haven’t changed anything in the development enviroment or build scripts!? The paramter “generatesourcelist” is alread set to true in our case. You probably get another error if it set to false – assuming that you are working on Windows.

What did we do?
Well, we added some new Java classes and this broke the RIM’s rapc compiler. It seems to have a length restriction for the sum of input source file paths.

So what can you do as a workaround?

  • Set verbose=”true” in the rapc task to get the full command line that is used. Beware, this might be reall long.
  • Set generatesourcelist=”true” and look at the sources.txt to remove unused classes/resources.
  • Shorten the project path. If your path is
    C:\work\development\projects\my_cool_app_project_that_will_bring_me_millions\
    try moving it to
    C:\my_cool_app\
    to see if it works.

I hope that this helps some of you out there struggling with the daily obstacles of mobile development.

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
CreateProcess error 87 with bb-ant-tools | BlackBerry development , 5.0 out of 5 based on 1 rating

Comments are closed.

Share:  
Mobile App Entwicklung und App Programmierung in Deutschland und Österreich. © App Agentur creative workline GmbH 2016
  App Entwicklung Berlin App Entwicklung Köln App Entwicklung München App Entwicklung Frankfurt App Entwicklung Hamburg App Entwicklung Hannover App Entwicklung Bremen App Entwicklung Düsseldorf App Entwicklung Deutschland App Entwicklung Wien App Entwicklung Österreich In Berlin App erstellen lassen
  App Programmierung Berlin App Programmierung Köln App Programmierung München App Programmierung Hamburg App Programmierung Hannover App Programmierung Bremen App Programmierung Deutschland App Programmierung Wien App Programmierung Österreich