<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Slashdev Support Forum &#187; Recent Posts</title>
		<link>http://forum.slashdev.ca/</link>
		<description>A place to ask questions about projects and posts on the Slashdev blog.</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Feb 2012 23:36:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forum.slashdev.ca/search.php</link>
		</textInput>
		<atom:link href="http://forum.slashdev.ca/rss/" rel="self" type="application/rss+xml" />

		<item>
			<title>jiggak on "Running your PS3 Gamepad code on Arduino Uno"</title>
			<link>http://forum.slashdev.ca/topic/42#post-104</link>
			<pubDate>Mon, 14 Nov 2011 02:07:08 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">104@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Feel free to post questions if you run into any snags. I will try and offer any help I can.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>madmalkav on "Running your PS3 Gamepad code on Arduino Uno"</title>
			<link>http://forum.slashdev.ca/topic/42#post-103</link>
			<pubDate>Sun, 13 Nov 2011 18:10:15 +0000</pubDate>
			<dc:creator>madmalkav</dc:creator>
			<guid isPermaLink="false">103@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Thanks for the tip. I have a free week near and will try what you recommended .
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Running your PS3 Gamepad code on Arduino Uno"</title>
			<link>http://forum.slashdev.ca/topic/42#post-102</link>
			<pubDate>Sun, 13 Nov 2011 16:52:08 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">102@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I'm afraid I don't have any direct experience in this area.&#60;/p&#62;
&#60;p&#62;For starters you will need to set the MCU type in the &#60;a href=&#34;http://git.slashdev.ca/ps3-teensy-hid/tree/src/Makefile&#34;&#62;Makefile&#60;/a&#62; (line 58) to &#60;strong&#62;at90usb82&#60;/strong&#62; for the UNO's USB chip. You will also need an AVR programmer to flash via ICSP interface.&#60;/p&#62;
&#60;p&#62;In my &#60;a href=&#34;http://git.slashdev.ca/ps3-teensy-hid/tree/src/gamepad.c&#34;&#62;gamepad.c&#60;/a&#62; file you will need modify all the &#60;em&#62;if&#60;/em&#62; statements. They currently sample the digital inputs on the teensy board and set values in the USB report accordingly.&#60;/p&#62;
&#60;p&#62;I believe the UNO uses a serial interface between the Atmega8U2 and the ATmega328. So all of the &#60;em&#62;if&#60;/em&#62; statements would be replaced with code that samples the Atmega8U2 serial port.&#60;/p&#62;
&#60;p&#62;My recommendation would be to make a sketch that reads digital pins on the Arduino and writes out a series of bytes to the serial port that matches the &#60;em&#62;gamepad_state_t&#60;/em&#62; struct (see &#60;a href=&#34;http://git.slashdev.ca/ps3-teensy-hid/tree/src/usb_gamepad.h&#34;&#62;gamepad.h&#60;/a&#62; line 9). The digital pins you choose is up to you just don't use pin zero or one since those are used by the serial port. Write and test the sketch by watching the serial monitor in the Arduino software on your PC.&#60;/p&#62;
&#60;p&#62;Then in your gamepad.c file you need to read from the Atmega8U2 serial port. I'm not sure what the exact code would look like, but here is some pseudo code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// read from serial port directly to USB report buffer
read_serial((uint8_t*)gamepad_state, sizeof(gamepad_state_t));&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>madmalkav on "Running your PS3 Gamepad code on Arduino Uno"</title>
			<link>http://forum.slashdev.ca/topic/42#post-101</link>
			<pubDate>Sun, 13 Nov 2011 13:52:19 +0000</pubDate>
			<dc:creator>madmalkav</dc:creator>
			<guid isPermaLink="false">101@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I have been looking for documentation about adapting teensy projects to run on arduino but haven't find anything. What considerations must I take in order to adapt the code, and also to make the proper physical equivalent connections on my Arduino?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>socaldt on "Scrolling text"</title>
			<link>http://forum.slashdev.ca/topic/38#post-97</link>
			<pubDate>Sat, 17 Sep 2011 22:27:33 +0000</pubDate>
			<dc:creator>socaldt</dc:creator>
			<guid isPermaLink="false">97@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;#include &#38;lt;Lcd.h&#38;gt;&#60;br /&#62;
#include &#38;lt;ShiftOut.h&#38;gt;&#60;br /&#62;
int i = 0;&#60;br /&#62;
char msg[] = &#34;Happy Birthday Joanna Woo!&#34;;&#60;/p&#62;
&#60;p&#62;ShiftOut sOut(8, 12, 11, 1);&#60;br /&#62;
Lcd lcd = Lcd(16, FUNCTION_4BIT &#124; FUNCTION_1LINE &#124; FUNCTION_5x11, &#38;amp;sOut);&#60;/p&#62;
&#60;p&#62;void setup()&#60;br /&#62;
{&#60;br /&#62;
  lcd.set_ctrl_pins(CTRLPINS(1,2,3)); // RS-&#38;gt;1, RW-&#38;gt;2, E-&#38;gt;3&#60;br /&#62;
  lcd.set_data_pins(_4PINS(4,5,6,7)); // D4-&#38;gt;4, D5-&#38;gt;5, D6-&#38;gt;6, D7-&#38;gt;7&#60;/p&#62;
&#60;p&#62;  lcd.setup();&#60;br /&#62;
  //lcd.display(DISPLAY_ON &#124; DISPLAY_NOCURSOR &#124; DISPLAY_NOBLINK);&#60;br /&#62;
  //lcd.entry_mode(ENTRY_CURSOR_DEC &#124; ENTRY_SHIFT);&#60;br /&#62;
  lcd.entry_mode(ENTRY_SHIFT);&#60;br /&#62;
  //lcd.shift(SHIFT_SCREEN &#124; SHIFT_LEFT);&#60;br /&#62;
  //lcd.shift(SHIFT_LEFT);&#60;/p&#62;
&#60;p&#62;  lcd.clear();&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;void loop()&#60;br /&#62;
{&#60;br /&#62;
    lcd.move_to(17,1);       // Start from right most position&#60;br /&#62;
    i=0;&#60;br /&#62;
    while (msg[i]!=''){&#60;br /&#62;
      lcd.print(msg[i++]);&#60;br /&#62;
      delay(300);            // If I don't have this delay, the delay scrolls really fast&#60;br /&#62;
    }&#60;br /&#62;
    delay(1000);&#60;br /&#62;
    lcd.clear(); // Clear LCD&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;The code works, but like I have described, the transition while scrolling is very illegible.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Scrolling text"</title>
			<link>http://forum.slashdev.ca/topic/38#post-96</link>
			<pubDate>Sat, 17 Sep 2011 14:56:53 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">96@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;Can you post your code so I can have a look?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>socaldt on "Scrolling text"</title>
			<link>http://forum.slashdev.ca/topic/38#post-95</link>
			<pubDate>Sat, 17 Sep 2011 07:42:52 +0000</pubDate>
			<dc:creator>socaldt</dc:creator>
			<guid isPermaLink="false">95@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hey Jiggak,&#60;/p&#62;
&#60;p&#62;I know you have stop updating your library, but hopefully you still check this forum.&#60;br /&#62;
I found your library and it works for me.&#60;br /&#62;
However, I tried to scroll my text but no luck.&#60;br /&#62;
It scrolls but it appears pixelated.&#60;br /&#62;
If I do not use any delays, the the message would just flash by the LCD.&#60;br /&#62;
It looks like it is not fast enough. I can see the old character before it gets update with the new one.&#60;/p&#62;
&#60;p&#62;Has this happened before? I tried it on both of my LCD but it is the same.&#60;/p&#62;
&#60;p&#62;I used lcd.entry_mode(ENTRY_SHIFT); and tried to display it using lcd.print(msg);. I also tried for-looping it, but neither mode can display the message without distorting. &#60;/p&#62;
&#60;p&#62;Any suggestions would be appreciated.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;David
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-40</link>
			<pubDate>Wed, 23 Mar 2011 19:02:40 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">40@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;If you surround the literal &#34;xxx&#34; with double quotes string comparison is (*should*) be performed.&#60;/p&#62;
&#60;p&#62;Also to overcome the issue with a property being undefined you don't even need to give it a value in Ant. Something like ACTIVE_PROJECT= would suffice.&#60;/p&#62;
&#60;p&#62;There should be section in the &#60;a href=&#34;http://git.slashdev.ca/javapp/plain/README&#34;&#62;README&#60;/a&#62; regarding the types of comparisons available and the syntax for the literal values inside expressions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-39</link>
			<pubDate>Wed, 23 Mar 2011 15:13:32 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">39@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Great, Thanks&#60;br /&#62;
I resolved the PROJ1 and PROJ2 by defining a seperate control property ACTIVE_PROJECT.&#60;br /&#62;
I also discovered that using the #if ${prop} == xxx, that xxx must be a numeric value.&#60;br /&#62;
if you make changes in the future, a string based comparison would be useful too.&#60;/p&#62;
&#60;p&#62;ACTIVE_PROJECT=MyProject vs. ACTIVE_PROJECT=1234&#60;/p&#62;
&#60;p&#62;Thanks for the help, I have a working ant script and controls now
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-38</link>
			<pubDate>Tue, 22 Mar 2011 16:30:30 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">38@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;The behavior with PROJ1 and PROJ2 properties is most certainly a bug (or more appropriately something I didn't consider closely enough while developing javapp).&#60;/p&#62;
&#60;p&#62;Regarding the property changes in the build.xml file not causing a re-compile, yes I think this is really better left up to the ant script itself. For example use the &#38;lt;uptodate&#38;gt; task to check if build related files are newer than pre-processor output.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;target name=&#38;quot;clean&#38;quot; if=&#38;quot;buildxml_is_newer&#38;quot;&#38;gt;
   &#38;lt;delete dir=&#38;quot;staging&#38;quot; /&#38;gt;
&#38;lt;/target&#38;gt;

&#38;lt;target name=&#38;quot;preprocess&#38;quot; depends=&#38;quot;check-build-files,clean&#38;quot;&#38;gt;
   ...
&#38;lt;/target&#38;gt;

&#38;lt;target name=&#38;quot;check-build-files&#38;quot;&#38;gt;
   &#38;lt;uptodate srcfile=&#38;quot;build.xml&#38;quot; property=&#38;quot;buildxml_is_newer&#38;quot;&#38;gt;
      &#38;lt;srcfiles dir=&#38;quot;staging&#38;quot; includes=&#38;quot;**/*&#38;quot; /&#38;gt;
   &#38;lt;/uptodate&#38;gt;
&#38;lt;/target&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-37</link>
			<pubDate>Mon, 21 Mar 2011 08:36:57 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">37@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I found another oddity - perhaps you could comment on.&#60;/p&#62;
&#60;p&#62;If I change the property definitions in ant's build.xml file, this does not cause a new preprocess to occur, I believe because the src files did not change.  That it turn does not cause a recompile of the files.&#60;br /&#62;
The result is the build does not match the required definitions.&#60;/p&#62;
&#60;p&#62;If I clean and and run again, I get what I expected.&#60;/p&#62;
&#60;p&#62;Is there a way to force the preprocess to occurs based on the change of the build.xml file? - This may be more of an ant question than javapp question.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Adam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-36</link>
			<pubDate>Mon, 21 Mar 2011 08:04:00 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">36@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Success - the fundamental problem was the //#ifdef, this does not seemed to be supported.  I changed it to //#if defined(PROJ1) and that works&#60;br /&#62;
This was an assumption on my part - I'll read the syntax doc a little closer.&#60;/p&#62;
&#60;p&#62;One oddity:&#60;br /&#62;
If I defined PROJ1 and PROJ2 in build.xml - the preprocess works, PROJ1 is printed out&#60;/p&#62;
&#60;p&#62;If I defined ONLY PROJ1 - it fails, stating: property 'PROJ2' not defined&#60;/p&#62;
&#60;p&#62;If I ONLY define PROJ2 - it works, PROJ2 is printed out&#60;/p&#62;
&#60;p&#62;Am I missing something here - It seems the code would be VERY dependant on how the&#60;br /&#62;
&#34;if defined() is used/ordered and how the properties are declared.&#60;/p&#62;
&#60;p&#62;If I defined only PROJ1, I would expect the PROJ2 to be preprocessed out and no error to be thrown?&#60;/p&#62;
&#60;p&#62;Thanks for the help. I appreciate it.&#60;br /&#62;
Adam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-35</link>
			<pubDate>Fri, 18 Mar 2011 12:55:31 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">35@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Strange. I don't seem to have the same problem in my tests. I did however get an error due to the PROJ2 property being undefined. Here is my test files:&#60;/p&#62;
&#60;p&#62;# build.xml&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;project default=&#38;quot;preprocess&#38;quot;&#38;gt;
   &#38;lt;taskdef resource=&#38;quot;javapp-defs.xml&#38;quot; /&#38;gt;

   &#38;lt;target name=&#38;quot;preprocess&#38;quot;&#38;gt;
      &#38;lt;javapp destdir=&#38;quot;staging&#38;quot; prefix=&#38;quot;//#&#38;quot;&#38;gt;
         &#38;lt;fileset dir=&#38;quot;src&#38;quot; includes=&#38;quot;**/*.java&#38;quot; /&#38;gt;
         &#38;lt;property name=&#38;quot;PROJ1&#38;quot; value=&#38;quot;SC650&#38;quot; /&#38;gt;
         &#38;lt;property name=&#38;quot;PROJ2&#38;quot; value=&#38;quot;SC750&#38;quot; /&#38;gt;
      &#38;lt;/javapp&#38;gt;
   &#38;lt;/target&#38;gt;
&#38;lt;/project&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;# HelloWorld.java&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;public class HelloWorld
{
   public static void main(String args[])
   {
      //#if defined(PROJ1)
      System.out.println(&#38;quot;Hello Project 1: ${PROJ1}&#38;quot;);
      //#else
      System.out.println(&#38;quot;Hello Project 2: ${PROJ2}&#38;quot;);
      //#endif
   }
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-34</link>
			<pubDate>Fri, 18 Mar 2011 12:38:53 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">34@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I also added this to supress an ant warning: includeantruntime=&#34;false&#34;&#60;br /&#62;
and the dependancy for preprocess&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;compile&#34; depends=&#34;preprocess&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;mkdir dir=&#34;${classes.dir}&#34;/&#38;gt;&#60;br /&#62;
        &#38;lt;javac srcdir=&#34;${src.dir}&#34; destdir=&#34;${classes.dir}&#34; includeantruntime=&#34;false&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-33</link>
			<pubDate>Fri, 18 Mar 2011 12:36:20 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">33@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Here you go&#60;/p&#62;
&#60;p&#62;public class HelloWorld&#60;br /&#62;
{&#60;br /&#62;
    public static void main(String args[])&#60;br /&#62;
    {&#60;br /&#62;
	//#if defined(PROJ1)  &#38;lt;&#38;lt;fails right here&#60;br /&#62;
	System.out.println(&#34;Hello Project 1: ${PROJ1}&#34;);&#60;br /&#62;
	//#else&#60;br /&#62;
	System.out.println(&#34;Hello Project 2: ${PROJ2}&#34;);&#60;br /&#62;
	//#endif&#60;br /&#62;
    }&#60;br /&#62;
}
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-32</link>
			<pubDate>Fri, 18 Mar 2011 12:24:24 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">32@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Can you post your .java file as well?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-31</link>
			<pubDate>Fri, 18 Mar 2011 08:50:05 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">31@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;OK, I built a simple ant build.xml file and inserted the referenced code from the slashdev website (At end of this post), but Get an error - Not sure what I am missing here.&#60;br /&#62;
I can call any just fine and compile java directly - just failing to successfully preprocess&#60;br /&#62;
Any input would be greatly appreciated.&#60;br /&#62;
Adam&#60;/p&#62;
&#60;p&#62;preprocess:&#60;br /&#62;
BUILD FAILED&#60;br /&#62;
C:\FOUO_SC650\java\build.xml:21: 'HelloWorld.java', line 5, char 6: Token not recognised in state 'ifcond'&#60;/p&#62;
&#60;p&#62;complete build.xml file&#60;br /&#62;
&#38;lt;project name=&#34;HelloWorld&#34; basedir=&#34;.&#34; default=&#34;main&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;property name=&#34;src.dir&#34;     value=&#34;src&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;property name=&#34;build.dir&#34;   value=&#34;build&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;property name=&#34;classes.dir&#34; value=&#34;${build.dir}/classes&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;property name=&#34;jar.dir&#34;     value=&#34;${build.dir}/jar&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;property name=&#34;main-class&#34;  value=&#34;HelloWorld&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;clean&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;delete dir=&#34;${build.dir}&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;taskdef resource=&#34;javapp-defs.xml&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;property name=&#34;os_version&#34; value=&#34;4.2&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;preprocess&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;javapp destdir=&#34;build\staging&#34; prefix=&#34;//#&#34;&#38;gt;&#60;br /&#62;
            &#38;lt;fileset dir=&#34;src&#34; includes=&#34;**/*.java&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;property name=&#34;PROJ1&#34; value=&#34;SC650&#34; /&#38;gt;&#60;br /&#62;
        &#38;lt;/javapp&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;compile&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;mkdir dir=&#34;${classes.dir}&#34;/&#38;gt;&#60;br /&#62;
        &#38;lt;javac srcdir=&#34;${src.dir}&#34; destdir=&#34;${classes.dir}&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;jar&#34; depends=&#34;compile&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;mkdir dir=&#34;${jar.dir}&#34;/&#38;gt;&#60;br /&#62;
        &#38;lt;jar destfile=&#34;${jar.dir}/${ant.project.name}.jar&#34; basedir=&#34;${classes.dir}&#34;&#38;gt;&#60;br /&#62;
            &#38;lt;manifest&#38;gt;&#60;br /&#62;
                &#38;lt;attribute name=&#34;Main-Class&#34; value=&#34;${main-class}&#34;/&#38;gt;&#60;br /&#62;
            &#38;lt;/manifest&#38;gt;&#60;br /&#62;
        &#38;lt;/jar&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;run&#34; depends=&#34;jar&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;java jar=&#34;${jar.dir}/${ant.project.name}.jar&#34; fork=&#34;true&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;clean-build&#34; depends=&#34;clean,jar&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;main&#34; depends=&#34;clean,run&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/project&#38;gt;&#60;br /&#62;
&#38;lt;project name=&#34;HelloWorld&#34; basedir=&#34;.&#34; default=&#34;main&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;property name=&#34;src.dir&#34;     value=&#34;src&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;property name=&#34;build.dir&#34;   value=&#34;build&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;property name=&#34;classes.dir&#34; value=&#34;${build.dir}/classes&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;property name=&#34;jar.dir&#34;     value=&#34;${build.dir}/jar&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;property name=&#34;main-class&#34;  value=&#34;HelloWorld&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;clean&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;delete dir=&#34;${build.dir}&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;taskdef resource=&#34;javapp-defs.xml&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;property name=&#34;os_version&#34; value=&#34;4.2&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;preprocess&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;javapp destdir=&#34;build\staging&#34; prefix=&#34;//#&#34;&#38;gt;&#60;br /&#62;
            &#38;lt;fileset dir=&#34;src&#34; includes=&#34;**/*.java&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;property name=&#34;PROJ1&#34; value=&#34;SC650&#34; /&#38;gt;&#60;br /&#62;
        &#38;lt;/javapp&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;compile&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;mkdir dir=&#34;${classes.dir}&#34;/&#38;gt;&#60;br /&#62;
        &#38;lt;javac srcdir=&#34;${src.dir}&#34; destdir=&#34;${classes.dir}&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;jar&#34; depends=&#34;compile&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;mkdir dir=&#34;${jar.dir}&#34;/&#38;gt;&#60;br /&#62;
        &#38;lt;jar destfile=&#34;${jar.dir}/${ant.project.name}.jar&#34; basedir=&#34;${classes.dir}&#34;&#38;gt;&#60;br /&#62;
            &#38;lt;manifest&#38;gt;&#60;br /&#62;
                &#38;lt;attribute name=&#34;Main-Class&#34; value=&#34;${main-class}&#34;/&#38;gt;&#60;br /&#62;
            &#38;lt;/manifest&#38;gt;&#60;br /&#62;
        &#38;lt;/jar&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;run&#34; depends=&#34;jar&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;java jar=&#34;${jar.dir}/${ant.project.name}.jar&#34; fork=&#34;true&#34;/&#38;gt;&#60;br /&#62;
    &#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;clean-build&#34; depends=&#34;clean,jar&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;target name=&#34;main&#34; depends=&#34;clean,run&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/project&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-30</link>
			<pubDate>Thu, 17 Mar 2011 14:05:55 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">30@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I'm afraid there is currently no way to invoke this from the command line without using Ant. You can find some sample Ant scripts &#60;a href=&#34;http://www.slashdev.ca/javapp/&#34;&#62;here&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-29</link>
			<pubDate>Thu, 17 Mar 2011 09:51:34 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">29@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I think I just need how to load the xml definition files that has the preprocessing info and defines and the syntax for the input and output java files
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abell@safenet-inc.com on "How to invoke the preprocessor"</title>
			<link>http://forum.slashdev.ca/topic/9#post-28</link>
			<pubDate>Thu, 17 Mar 2011 08:53:15 +0000</pubDate>
			<dc:creator>abell@safenet-inc.com</dc:creator>
			<guid isPermaLink="false">28@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I downloaded then javapp.zip file, extracted and have the jar.&#60;br /&#62;
I also have a verysimple javac HelloWorls.java ready to test.&#60;br /&#62;
I can not find exactly how to use this wonderful tool - I am not using ANT at the moment.  Can anyone point me to a list of instructions on what to do to invoke the preprocessor from the command line?&#60;br /&#62;
Thanks,&#60;br /&#62;
Adam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>benvd on "Trouble with bjdwp (jdb connects, eclipse doesn&#039;t)"</title>
			<link>http://forum.slashdev.ca/topic/8#post-27</link>
			<pubDate>Tue, 21 Dec 2010 13:08:28 +0000</pubDate>
			<dc:creator>benvd</dc:creator>
			<guid isPermaLink="false">27@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Oops, kind of lost track of this for a while.&#60;/p&#62;
&#60;p&#62;Apparently you can add commands to ~/.jdbrc which will be automatically executed when starting jdb. So I just did &#60;code&#62;echo &#34;resume&#34; &#38;gt;&#38;gt; ~/.jdbrc&#60;/code&#62; and this minor annoyance was gone.&#60;/p&#62;
&#60;p&#62;OK, so my assumptions were wrong and barry just doesn't support step-by-step debugging. Ah well, I never got that to work reliable in Windows (with official tools) either, so just having stdout is not that bad. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Trouble with bjdwp (jdb connects, eclipse doesn&#039;t)"</title>
			<link>http://forum.slashdev.ca/topic/8#post-26</link>
			<pubDate>Mon, 06 Dec 2010 20:51:11 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">26@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Unfortunately I haven't used bjdwp at all. You might try emailing the &#60;a href=&#34;http://sourceforge.net/mail/?group_id=153722&#34;&#62;Barry list&#60;/a&#62;. The folks there are very receptive and helpful.&#60;/p&#62;
&#60;p&#62;Nicolas is the guy who created bjdwp and as far as I know it's unfinished. Breakpoints won't work neither will inspecting object references. I think about the only thing this would be useful for is seeing the standard output (ie: System.out.println() output).&#60;/p&#62;
&#60;p&#62;I wouldn't be surprised if adding this feature to auto-resume would be a simple thing to add so if you ask nicely Nicolas might be able to knock it out pretty quick. Or you can dig into the barry code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>benvd on "Trouble with bjdwp (jdb connects, eclipse doesn&#039;t)"</title>
			<link>http://forum.slashdev.ca/topic/8#post-25</link>
			<pubDate>Mon, 06 Dec 2010 11:20:48 +0000</pubDate>
			<dc:creator>benvd</dc:creator>
			<guid isPermaLink="false">25@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi. This is not directly related to your blogposts (since you use virtualised jdwp, and not bjdwp (i.e. the Barry implementation of jdwp)), but I figured I'd ask it here anyway, since you seem to know a lot about BlackBerry development on non-Windows OSes.&#60;/p&#62;
&#60;p&#62;After I run my app on a (physical) device, I start &#34;bjdwp localhost 8000&#34;. After that, I can connect to this using &#34;jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000&#34;. After connecting, though, nothing seems to happen until I enter the resume command in jdb. Then it's smooth sailing.&#60;/p&#62;
&#60;p&#62;I'd love to be able to debug using eclipse since it's a much more comfortable environment. I created a new debug configuration for this, as follows: a Remote Java Application with connection type = &#34;Socket Attach&#34;, host = &#34;localhost&#34; and port = &#34;8000&#34;. In other words, the same kind of connection as the jdb command. This doesn't work, however -- it keeps trying to connect.&#60;/p&#62;
&#60;p&#62;Now, I assume this is because I need to do a resume, like I needed to do with jdb, but I can't do that from within eclipse (the resume button is greyed out).&#60;/p&#62;
&#60;p&#62;Any suggestions?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amsiddh on "Getting error on Hello world dependency project"</title>
			<link>http://forum.slashdev.ca/topic/7#post-24</link>
			<pubDate>Thu, 25 Nov 2010 03:15:37 +0000</pubDate>
			<dc:creator>amsiddh</dc:creator>
			<guid isPermaLink="false">24@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi Jiggak,&#60;/p&#62;
&#60;p&#62;Thanks for your reply,&#60;/p&#62;
&#60;p&#62;I will try this things and get back if i stuck anywhere.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
siddh
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Getting error on Hello world dependency project"</title>
			<link>http://forum.slashdev.ca/topic/7#post-23</link>
			<pubDate>Wed, 24 Nov 2010 16:01:04 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">23@http://forum.slashdev.ca/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;During OTA intallation or App World do i need both project and library cod files or Only project cod file will do.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;I don't know how App World works. But for regular OTA you need your .cod file (or multiple files) and a .jad file with references to the .cod files. BB-ant-tools comes with an ant task to help generate an OTA ready .jad file. It's called &#60;a href=&#34;http://bb-ant-tools.sourceforge.net/docs#jadtool&#34;&#62;jadtool&#60;/a&#62;.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;One more thing i would like to know using ant tool can i have only one cod file for my application.&#60;br /&#62;
(my application - which is having a dependency on other jar) Where as your Helloworld dependency example is generating the two cod files.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;I think you can tell rapc to compile from .java source files AND a .jar file containing already compiled .class files. Try searching &#60;a href=&#34;http://supportforums.blackberry.com/&#34;&#62;the official forums&#60;/a&#62; for details on compiling a .cod from .jar file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amsiddh on "Getting error on Hello world dependency project"</title>
			<link>http://forum.slashdev.ca/topic/7#post-22</link>
			<pubDate>Wed, 24 Nov 2010 07:07:42 +0000</pubDate>
			<dc:creator>amsiddh</dc:creator>
			<guid isPermaLink="false">22@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi Jiggak,&#60;/p&#62;
&#60;p&#62;One more thing i would like to know using ant tool can i have only one cod file for my application.&#60;br /&#62;
(my application - which is having a dependency on other jar) Where as your Helloworld dependency example is generating the two cod files.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amsiddh on "Getting error on Hello world dependency project"</title>
			<link>http://forum.slashdev.ca/topic/7#post-21</link>
			<pubDate>Wed, 24 Nov 2010 04:34:46 +0000</pubDate>
			<dc:creator>amsiddh</dc:creator>
			<guid isPermaLink="false">21@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi Jiggak,&#60;/p&#62;
&#60;p&#62;Thanks for your reply, &#60;/p&#62;
&#60;p&#62;The problem got solved with your suggestion. Actually the jde.home i was entered is C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0 instead of C:/Program Files/Research In Motion/BlackBerry JDE 5.0.0.&#60;br /&#62;
The problem is with the slash(/).&#60;/p&#62;
&#60;p&#62;I need to ask one more thing:&#60;br /&#62;
During OTA intallation or App World do i need both project and library cod files or Only project cod file will do.&#60;/p&#62;
&#60;p&#62;Thnaks,&#60;br /&#62;
Siddh
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Getting error on Hello world dependency project"</title>
			<link>http://forum.slashdev.ca/topic/7#post-20</link>
			<pubDate>Tue, 23 Nov 2010 12:39:33 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">20@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;That's strange. Are you positive you have entered the JDE directory path correctly?&#60;/p&#62;
&#60;p&#62;Try using the &#38;lt;echo&#38;gt; ant tag to verify that it is set inside the build task, for example:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;echo&#38;gt;${jde.home}&#38;lt;/echo&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amsiddh on "Getting error on Hello world dependency project"</title>
			<link>http://forum.slashdev.ca/topic/7#post-19</link>
			<pubDate>Tue, 23 Nov 2010 03:59:45 +0000</pubDate>
			<dc:creator>amsiddh</dc:creator>
			<guid isPermaLink="false">19@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I got successful in building the Hello world application with BB ant tool with the help of your blog steps. But I am getting error which building the Hello world dependency example here are details.&#60;/p&#62;
&#60;p&#62;1. I have created common project with build.xml and common.properties file in it.&#60;br /&#62;
2. I have not changed anything in build.xml.&#60;br /&#62;
3. In common.properties i have just changed the jde.home. i.e C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0&#60;br /&#62;
3. Created the libHello project and followed further steps.&#60;br /&#62;
4. Run the clean target for libHello&#60;br /&#62;
5. Run the build target in HelloWorld&#60;/p&#62;
&#60;p&#62;i am getting the following error:&#60;br /&#62;
Buildfile: D:\BB_Eclipse_Wrokspace\Helloworld\build.xml&#60;br /&#62;
deps:&#60;br /&#62;
deps:&#60;br /&#62;
build:&#60;/p&#62;
&#60;p&#62;BUILD FAILED&#60;br /&#62;
D:\BB_Eclipse_Wrokspace\common\build.xml:34: The following error occurred while executing this line:&#60;br /&#62;
D:\BB_Eclipse_Wrokspace\common\build.xml:25: jde home must be a directory&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-18</link>
			<pubDate>Mon, 28 Jun 2010 20:22:31 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">18@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;Good to hear you got it working.&#60;/p&#62;
&#60;p&#62;Currently there isn't any sort of support for comments in the pre-processor grammar or expressions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Reza on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-17</link>
			<pubDate>Mon, 28 Jun 2010 19:10:44 +0000</pubDate>
			<dc:creator>Reza</dc:creator>
			<guid isPermaLink="false">17@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;JDK 1.6 works. &#60;/p&#62;
&#60;p&#62;A minor thing I noticed (that maybe you are already aware of):&#60;/p&#62;
&#60;p&#62;//#if ${USEROBJ_ASM_ELEMENT_SIZE} == 4&#60;br /&#62;
System.err.println(&#34;4 &#34;);&#60;br /&#62;
//#else&#60;br /&#62;
System.err.println(&#34;no 4 &#34;);&#60;br /&#62;
//#endif&#60;/p&#62;
&#60;p&#62;is good.&#60;/p&#62;
&#60;p&#62;//#if ${USEROBJ_ASM_ELEMENT_SIZE} == 4 /* test */&#60;br /&#62;
System.err.println(&#34;4 &#34;);&#60;br /&#62;
//#else&#60;br /&#62;
System.err.println(&#34;no 4 &#34;);&#60;br /&#62;
//#endif&#60;/p&#62;
&#60;p&#62;gives this error:&#60;/p&#62;
&#60;p&#62;C:\Projects\Application\v1.0\System&#38;gt;ant preprocess&#60;br /&#62;
Buildfile: C:\Projects\Application\v1.0\System\build.xml&#60;/p&#62;
&#60;p&#62;preprocess:&#60;/p&#62;
&#60;p&#62;BUILD FAILED&#60;br /&#62;
C:\Projects\Application\v1.0\System\build.xml:95: 'CUserobj.java',&#60;br /&#62;
 line 685, char 44: Token not recognised in state 'ifcond'&#60;/p&#62;
&#60;p&#62;Total time: 2 seconds&#60;br /&#62;
C:\Projects\Application\v1.0\System&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-16</link>
			<pubDate>Thu, 24 Jun 2010 22:36:17 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">16@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;You don't need to install jython (it's bundled into javapp.jar) but it also &#34;shouldn't&#34; hurt if it is installed.&#60;/p&#62;
&#60;p&#62;I might have compiled javapp with JDK 1.6 (I don't remember). Is it possible for you to upgrade the java 1.6 and try again? If not, let me know. I should be able to recompile javapp against java 1.5.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Reza on "Cannot get javaPP to work"</title>
			<link>http://forum.slashdev.ca/topic/6#post-15</link>
			<pubDate>Thu, 24 Jun 2010 12:51:09 +0000</pubDate>
			<dc:creator>Reza</dc:creator>
			<guid isPermaLink="false">15@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I upgraded my ant to version 1.8.1 from binary distribution and added javapp.jar (extracted from javapp-0.4.zip) under /lib directory. I installed jython using jython_installer-2.5.0.jar under my jdk1.5.0_05. I added the following lines to my build.xml:&#60;/p&#62;
&#60;p&#62;&#38;lt;?xml version=&#34;1.0&#34; standalone=&#34;yes&#34;?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;project name=&#34;Application&#34; default=&#34;compile&#34; basedir=&#34;.&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;...&#60;br /&#62;
	&#38;lt;!-- to use javaPP --&#38;gt;&#60;br /&#62;
	&#38;lt;taskdef resource=&#34;javapp-defs.xml&#34; /&#38;gt;&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;	&#38;lt;target name=&#34;preprocess&#34;&#38;gt;&#60;br /&#62;
		&#38;lt;javapp destdir=&#34;staging&#34; prefix=&#34;//#&#34;&#38;gt;&#60;br /&#62;
			&#38;lt;fileset dir=&#34;src&#34; includes=&#34;**/*.java&#34; /&#38;gt;&#60;br /&#62;
		&#38;lt;/javapp&#38;gt;&#60;br /&#62;
	&#38;lt;/target&#38;gt;&#60;/p&#62;
&#60;p&#62;...&#60;/p&#62;
&#60;p&#62;I typed ant preprocess and received the following error message:&#60;/p&#62;
&#60;p&#62;BUILD FAILED&#60;br /&#62;
C:\Projects\R&#38;amp;D\Sole\Application\v1.0\System\build.xml:5: java.lang.UnsupportedC&#60;br /&#62;
lassVersionError: Bad version number in .class file&#60;br /&#62;
        at java.lang.ClassLoader.defineClass1(Native Method)&#60;br /&#62;
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)&#60;br /&#62;
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12&#60;br /&#62;
4)&#60;br /&#62;
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)&#60;br /&#62;
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)&#60;br /&#62;
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)&#60;br /&#62;
        at java.security.AccessController.doPrivileged(Native Method)&#60;br /&#62;
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#60;br /&#62;
        at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java&#60;br /&#62;
:1383)&#60;br /&#62;
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:106&#60;br /&#62;
0)&#60;br /&#62;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)&#60;br /&#62;
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)&#60;br /&#62;
        at java.lang.Class.forName0(Native Method)&#60;br /&#62;
        at java.lang.Class.forName(Class.java:242)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594)&#60;/p&#62;
&#60;p&#62;        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:239)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:177)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:443)&#60;br /&#62;
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:292)&#60;br /&#62;
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)&#60;br /&#62;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.&#60;br /&#62;
java:39)&#60;br /&#62;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces&#60;br /&#62;
sorImpl.java:25)&#60;br /&#62;
        at java.lang.reflect.Method.invoke(Method.java:585)&#60;br /&#62;
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav&#60;br /&#62;
a:106)&#60;br /&#62;
        at org.apache.tools.ant.Task.perform(Task.java:348)&#60;br /&#62;
        at org.apache.tools.ant.Target.execute(Target.java:390)&#60;br /&#62;
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:&#60;br /&#62;
179)&#60;br /&#62;
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav&#60;br /&#62;
a:82)&#60;br /&#62;
        at org.apache.tools.ant.Main.runBuild(Main.java:786)&#60;br /&#62;
        at org.apache.tools.ant.Main.startAnt(Main.java:218)&#60;br /&#62;
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)&#60;br /&#62;
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)&#60;/p&#62;
&#60;p&#62;Total time: 0 seconds&#60;/p&#62;
&#60;p&#62;Any idea?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Reza.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiggak on "arduino 0018 and keywords.txt"</title>
			<link>http://forum.slashdev.ca/topic/5#post-14</link>
			<pubDate>Tue, 15 Jun 2010 20:08:36 +0000</pubDate>
			<dc:creator>jiggak</dc:creator>
			<guid isPermaLink="false">14@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;As far as I know, the keywords.txt file is only to provide syntax highlighting in the arduino editor and isn't required (I could be wrong though).&#60;/p&#62;
&#60;p&#62;I just tried arduino 0018 for Linux and my library is recognized just fine. Note: a few versions back, the preferred location for user supplied libraries changed in the arduino IDE. On linux, the location is ~/sketchbook/libraries/. I'm not sure where the sketchbook directory is located on Windows.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>maujabur on "arduino 0018 and keywords.txt"</title>
			<link>http://forum.slashdev.ca/topic/5#post-13</link>
			<pubDate>Tue, 15 Jun 2010 13:19:24 +0000</pubDate>
			<dc:creator>maujabur</dc:creator>
			<guid isPermaLink="false">13@http://forum.slashdev.ca/</guid>
			<description>&#60;p&#62;I've tried to use your library with arduino 0018 on a PC but it seems to be missing a file named keywords.txt. This way it is not regocnized as a library&#60;br /&#62;
Am I doing something wrong?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

