08-26-2008 05:41 PM
Hi,
I'm working on a native blackberry applicaiton using the plugin for Eclipse. After I checked in my application into subversion, I noticed that the size of the cod file increased significantly. I looked inside the jar generated the plugin and I saw that all my SVN files were there.
Has any one run into this problem? Is there a way to exclude all the SVN files?
I've tried using the exclusion pattern in Eclipse under Properties > Java Build Path >Source but that doesn't seem to work.
Thanks.
Solved! Go to Solution.
08-27-2008 09:20 AM - edited 08-27-2008 09:21 AM
The beta release of the BlackBerry JDE Plug-in for Eclipse does not respect Eclipse exclusion rules (Properties > Java Build Path >Source).
Currently all files in the project are built. You can remove the files from the project before building to exclude them from the cod file.
08-27-2008 06:04 PM
Thanks, Mark. I think I found a work around.
1. Exit Eclipse, if running.
2. Open the .jdp file for your project in a text editor and remove the files you want to exclude.
3. Restart Eclipse and build your app.
The files you removed should no longer be added the cod.
09-17-2008 05:29 PM
When can we expect a release which fixes this issue?
This makes the software essentially useless. Or noone uses SVN around here? Most popular VCSes use similar techniques to store their data together with the checked out files, so this should cause problems to basically everyone, who wants to use the tool. The "workaround" is simply not acceptable.
Best Regards,
Gergely
09-18-2008 04:09 AM
05-27-2009 12:00 AM
05-27-2009 01:01 PM
The plug-in is nice and is good for testing purposes. But due to a few issues like this, I've made to switch to using ANT with the BlackBerry Ant Tools. If you're not familiar with ANT, it's a little more work to get started but it's worth it. Here's a couple of links, if you're interested....
http://bb-ant-tools.sourceforge.net/docs
http://www.slashdev.ca/2007/05/30/blackberry-devel
07-08-2009 02:54 PM
You can also do this by modifying the build path in Eclipse.
right-click on project | Configure Build Path | Source | Edit folder properties | Exclude Multiple and control-click on all the .svn folders.
10-08-2010 09:37 AM
I didn't see a final answer on this post, so did a little more investigation. Using the techniques on the reply previous to mine, but instead used used "Add" with **/.svn/* as the pattern (as referenced here: http://stackoverflow.com/questions/225375/in-eclip
The technique works on both the Eclipse 1.0 plugin in Eclipse v3.4 (Ganymede) and in the Eclipse 1.1 plugin in Eclipse 3.5 (Galileo). Though my experience with the 1.0 plugin is that I had to add the Exclusion filter every time I opened the project in Eclipse, while in the 1.1 plugin, the setting would survive a relaunch.
03-28-2011 07:46 AM
I have a similar issue... The cod is including all .svn files.
I tried things mentioned in this thread like adding **/SVN/ and excluded Thumbs.db from the build path etc.
The problem in my case is the .svn folders do not appear in the included list at all, but the final cod that is generated has the .svn files
Any solutions for this?