Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Wiimote Project » Wiimote Projects » Wiimote Interactive Whiteboard » Wiimote Java Whiteboard » how can i compile Wiimote Whiteboard java on windows ^^?
Pages: [1]
  Print  
Author Topic: how can i compile Wiimote Whiteboard java on windows ^^?  (Read 8398 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +0/-0
Posts: 3
Offline Offline
View Profile Email
« on: October 01, 2008, 07:53:29 AM »

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
Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #1 on: October 01, 2008, 07:59:31 AM »

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 Smiley
Logged


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

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:
<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

Logged

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
*
Karma: +1/-0
Posts: 14
Offline Offline
View Profile Email
« Reply #3 on: August 09, 2009, 07:20:19 AM »

How do you use the Ant build-script?
Logged
*
Karma: +10/-0
Posts: 134
Offline Offline
View Profile WWW
« Reply #4 on: August 09, 2009, 07:54:29 PM »

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
Logged

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.
Pages: [1]
  Print  
 
Jump to:  

Clicky Web Analytics