<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear list and developers,<br>
<br>
I've got one fast question (as I am still not completely familar
with the whole source code respectevely with the steps to set up the
source code) <br>
<br>
<br>
There is a difference between the folders of the source code which
can be downloaded from <b>SVN</b>
(<a class="moz-txt-link-freetext" href="http://subversion.gvsig.org/gvSIG-mobile/pilots/branches/pilot2">http://subversion.gvsig.org/gvSIG-mobile/pilots/branches/pilot2</a>)
and in the <b>ZIP </b>(<a class="moz-txt-link-freetext" href="http://forge.osor.eu/frs/download.php/1041/gvSIG_Mobile_Pilot-0.3-src.zip">http://forge.osor.eu/frs/download.php/1041/gvSIG_Mobile_Pilot-0.3-src.zip</a>)<br>
<br>
The libraries differ and I just want to know why, especially because
the<b> <u>INSTALL.txt</u></b> still says:<br>
<br>
<blockquote>
<blockquote><i>Checkout as different projects the following
folders from the pilot2 branch:<br>
</i>
<blockquote><i> - appGvsigMobile<br>
- boot<br>
- customForms<br>
- DefaultIcons<br>
- deploy_Lin_X86<br>
- deploy_Win_X86<br>
- deploy_WM5_ARM<br>
- deploy_WM5_ARM_RXTX<br>
- libFMap<br>
- libFmapGpeMobile<br>
- libGPE<br>
- libInternationalization<br>
- libLocation<br>
- resources<br>
- rxtx<br>
- rxtx_gnuio</i><br>
</blockquote>
</blockquote>
</blockquote>
<br>
Would be nice, if anybody could just tell which folders are needed
necessarily and which are optionally added or would be replaced
after build or something and which are not needed anymore.<br>
<br>
<br>
<br>
Additionally, I would like to know if anybody could explain the <u><b>INSTALL.txt</b></u>
- some things I already know, with others I am not quite sure:<br>
<br>
<blockquote>
<blockquote><i>1) Set workspace Java VM to j2sdk1.4 compliant VM
(Window->Preferences->Java->Installed JREs).<br>
</i><b>does this mean: <br>
install JDK 1.4 and choose the folder here?</b> <b>do I need
to set up an execution environment?</b> <b>I've installed JDK
1.4 and 1.5, but used 1.6 so far</b>...<b>and the program
starts without errors.</b><br>
<i><br>
2) Set workspace JDK compliance level to 1.4
(Window->Preferences->Java->Compiler).<br>
</i><b>I've set it and use the default compliance settings,
right? and did not change any other settings. </b><b>but
there is still a warning </b>"make sure to have a compatible
JRE installed and activated (currently 1.6)<b>" ----> what is
the consequence? I would like to use 1.6 if it's possible. <br>
I think </b><b>I've already asked what the compliance is set
for and I remember that it is needed by the mobile device,
isn't it? But if I am using it on Windows only (RunConfig =
Win_X86), do I still need to set it to 1.4?</b><br>
<i><br>
3) Build boot project (build.xml->right click->Run
As->Ant Build)<br>
</i><b>I could use the old one, too, couldn't I? But I've built
it and it worked...no problem.</b><br>
<i><br>
4) Add generated boot/deploy/boot.jar to the JRE
(Window->Preferences->Java->Installed
JREs->Edit->Add External JARs...).<br>
</i><b>What will happen if it is missing?</b> <b>Do I need to
add it to the JRE or would it be ok to add it to the Java
Build Path of the appGvsigMobile project? what's the
difference?</b><br>
<i><br>
5) Select all projects and clean (Project->Clean).<br>
</i><b>That will delete old built files, right? What's the
purpose?</b><i><br>
<br>
6) Now you should be able to build appGvsigMobile project
(build.xml->right click->Run As->Ant Build).<br>
</i><b>All files will be created again, right? I've done it so
far, and it worked..</b><b>.just would like to know :)</b><br>
<i><br>
7) Create a new Run configuration for a Java Application
(Run->Run...->Java Application). Select project
appGvsigMobile and class Launcher. In the Arguments tab add:<br>
- Program arguments: m=J9 s=480x600 l=es p="${workspace_loc}"<br>
- VM arguments: -Xmx256M
-Djava.library.path=${workspace_loc}/resources/lib/Lin_X86<br>
<b>My run config is different as I am using Windows...but
that's self explaining. Eclipse has to know the start
parameters.<br>
<br>
</b></i><b>What do I have to do to start it on a Windows
Mobile Emulator?<br>
</b><i><br>
Change the following values according to your targeted
configuration:<br>
- m: virtual machine, J9 or PMEA (Phone ME Advance)<br>
- s: window size, in pixels, in the example above 480x600<br>
- l: language, in the example above spanish (es)<br>
- Djava.library.path: should point to the native libraries
-.dll or .so files- for your OS, it can be Lin_X86 (Linux),
Win_X86 (Windows) or WM5_ARM (Windows Mobile)<br>
<br>
Run this configuration. Done!</i><br>
</blockquote>
</blockquote>
<br>
<br>
Thank you in advance.<br>
<br>
Regards,<br>
<br>
Marcel Schoolmeesters<br>
</body>
</html>