0

I tried to create a project in WTK which I'm using for SVN commits. My problem is that every time I create the .jar package those .svn/ directories appear in it...

Is there any build script the Wireless Toolkit uses that I could modify to avoid including .svn folders to the packages? Or maybe better solution?

Cœur
  • 37,241
  • 25
  • 195
  • 267
cbix
  • 490
  • 1
  • 8
  • 15
  • how do you build , which platform ? , I have used NB with SVN project it never do this for me !! – jmj Dec 09 '10 at 11:33
  • linux ubuntu 32 bit desktop 10.10 and I build using the ktoolbar. But I'm now working on a command line based solution like this one: http://www.torsten-horn.de/techdocs/jme.htm#MIDlet-WTK-Kommandozeile – cbix Dec 09 '10 at 15:29

1 Answers1

1

You can build an Ant script to package explicitly the directories you need using the jar task. Ant also includes an SVN extension to allow exporting a clean tree without the .svn files. Ant by default excludes .svn directories as noted here.

whatnick
  • 5,400
  • 3
  • 19
  • 35