Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 65
Registered: ‎12-16-2009
My Device: Not Specified

Eclipse wont build

seems like i reached a point in my code where if i add more classes or files to my project, it wont build anymore. Which means any new changes just wont compile and copy over to the simulator. There are no errors in my project, but i think Eclipse just wont show them. I'm not sure what to do,  i have redone the proejct 4 or 5 times and added all the files back to new empy projects, same issue. It simply gets to the point where if i add an emply class with any name, it just stops building from that point forward. Has anyone expierence this and could lend some tips to discover the problem?

 

 

New Developer
Posts: 65
Registered: ‎12-16-2009
My Device: Not Specified

Re: Eclipse wont build

seems simialr to this issue

http://www.blackberryforums.com/developer-forum/204810-maximum-number-java-classes-eclipse.html

 

but i cant sovle it, 71 class files is OK, 72 wont build, no matter which ones i delete or add.

 

 

New Developer
Posts: 65
Registered: ‎12-16-2009
My Device: Not Specified

Re: Eclipse wont build

Kept researching the problem, even tried to rebuild the app in the RIM JDE with no success.... I kept finding more people with issues relating to I/O errors that pertained to an environment variable that was not set correctly called "PATH" and the value should point to the java bin dir. Of course i did not even have that variable set in Windows, much less the correct value. I added it with the dir "C:\Program Files\Java\jdk1.5.0_22\bin" which seemed to work. I can compile and run past my arbitrary 72 class file limit now. The interesting thing now is if i remove the path, Eclipse wont even start, it just gives me an error, so its a mystery as to how it worked before.

In any event, granted, microsoft might be proprietary, but man o man is Visual Studio ever less frustrating to work in.

Developer
Posts: 168
Registered: ‎11-22-2009
My Device: 9000 Bold, 8300 Curve

Re: Eclipse wont build

[ Edited ]

Not sure if this helps but I've run into two things that have caused similar types of "roadblocks".

 

1) cod size - I had issues before when a large cod gets past a certain size (around 5 megs). I ended up just removing some stuff that I didn't really need to get around it.

 

2) xml files - I've found in some cases if I have an xml file that didn't have a dtd or was otherwise not validatable, that my project won't build, I just get a NullPointerException out of nowhere in the log and that's it. What's even worse is that an xml file doesn't even have to end in .xml for it to automatically try to validate. Even in some cases where I forced xml validation off, it still wouldn't let me build.

Developer
Posts: 29
Registered: ‎03-10-2011
My Device: Not Specified

Re: Eclipse wont build

I also experienced similar build problem ... I added PATH variable in environment variables of Right click on MyComputer>Properties>Advanced>Environment Variables Hope this will help you..