Wiimote Project » Wiimote Projects » Wiimote Interactive Whiteboard » Wiimote Java Whiteboard » how can i compile Wiimote Whiteboard java on windows ^^?
: [1]
   
: how can i compile Wiimote Whiteboard java on windows ^^?  ( 11068 )
0 and 1 Guest are viewing this topic.
*
Karma: +0/-0
: 3
Offline Offline
« : September 30, 2008, 10:53:29 PM »

thats all, how can i compile the entire source  , and what i need ^^... because i want to traslate to other languages, is a powerfull tool for students and teachers ...

sorry for the bad english ^^... hii to everyone and thanks
Support Admin
*
Karma: +49/-0
: 1178
Offline Offline
MSN Messenger - benpaddlejones@live.com.au
« #1 : September 30, 2008, 10:59:31 PM »

kurizuto
Rather than reinventing the wheel, I suggest you work with Uwe the Java author, Wiimote Project user ujs. He may be able to allow for easy translations. I.e. tranlations in a text file that is loaded as the language.

This has the advantage of maintaining stability and improvements.

Benpaddlejones :)


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +10/-0
: 134
Offline Offline
« #2 : October 01, 2008, 11:15:52 AM »

Hi kurizuto,

thats all, how can i compile the entire source  , and what i need ^^...

you need to add all jar files in the lib-folder to your classpath in order to compile the software.

The following ant build-script will compile and run the software:
Code: [Select]
<project name="WiimoteWhiteboard" default="run" basedir=".">

  <property name="src" location="src"/>
  <property name="lib" location="lib"/>
  <property name="bin" location="bin"/>

  <target name="init">
    <mkdir dir="${bin}"/>
  </target>

  <target name="compile" depends="init">
    <javac srcdir="${src}" destdir="${bin}">
      <classpath>
        <fileset dir="${lib}" includes="*.jar"/>
        <pathelement path="${java.class.path}/"/>
      </classpath>
    </javac>
  </target>

  <target name="run" depends="compile">
    <java dir="${bin}" fork="true" classname="org.uweschmidt.wiimote.whiteboard.WiimoteWhiteboard">
      <classpath>
        <pathelement path="${bin}"/>
        <pathelement path="${src}"/>
        <fileset dir="${lib}" includes="*.jar"/>
        <pathelement path="${java.class.path}/"/>
      </classpath>
    </java>
  </target>

  <target name="clean">
    <delete dir="${bin}"/>
  </target>

</project>

because i want to traslate to other languages, is a powerfull tool for students and teachers ...

Support for other languages besides English is planned for the next version.
You can even change most of the interface right now: http://www.wiimoteproject.com/wiimote-whiteboard/java-version-developed-under-mac-os-x/msg3794/#msg3794

Uwe


Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
*
Karma: +1/-0
: 14
Offline Offline
« #3 : August 08, 2009, 10:20:19 PM »

How do you use the Ant build-script?
*
Karma: +10/-0
: 134
Offline Offline
« #4 : August 09, 2009, 10:54:29 AM »

Hi KE7JLM,

How do you use the Ant build-script?

you first need to install Ant on your machine: http://en.wikibooks.org/wiki/Apache_Ant/Getting_Started/Installation
Then just run the command "ant" at the command line in the folder where you've extracted my source code to.

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
: [1]
   
 
:  

Clicky Web Analytics