Documentation/Compiling: Unterschied zwischen den Versionen

Aus OpenDino
Wechseln zu: Navigation, Suche
(Developing and Compiling OpenOpal)
Zeile 3: Zeile 3:
 
== Using an IDE ==
 
== Using an IDE ==
  
OpenOpal is currently developed with [http://www.netbeans.org/ NetBeans], as many windows are generated with the Swing framework.
+
OpenDINO is currently developed with [http://www.netbeans.org/ NetBeans], as many windows are generated with the Swing framework.
  
 
However, other platforms such as Eclipse [http://www.eclipse.org/ Eclipse] can also be used.
 
However, other platforms such as Eclipse [http://www.eclipse.org/ Eclipse] can also be used.
Zeile 15: Zeile 15:
 
<ul>
 
<ul>
 
<li><b>Linux: </b>
 
<li><b>Linux: </b>
A typical standard implementation of Linux with a Java JDK should contain all required programs for compiling and running OpenOpal.
+
A typical standard implementation of Linux with a Java JDK should contain all required programs for compiling and running OpenDINO.
 
</li>
 
</li>
 
<li><b>Windows: </b>
 
<li><b>Windows: </b>
[http://www.cygwin.com/ Cygwin (R)] is used to compile OpenOpal on Windows(R) platforms.
+
[http://www.cygwin.com/ Cygwin (R)] is used to compile OpenDINO on Windows(R) platforms.
 
</li>
 
</li>
 
</ul>
 
</ul>
Zeile 26: Zeile 26:
  
 
The Makefile is automatically generated by the script <tt>createMakefile</tt>.
 
The Makefile is automatically generated by the script <tt>createMakefile</tt>.
In a shell, go to the subfolder <tt>openopal/trunk</tt> and execute:  
+
In a shell, go to the subfolder <tt>opendino/trunk</tt> and execute:  
 
<pre>$ ./createMakefile</pre>
 
<pre>$ ./createMakefile</pre>
  
Zeile 33: Zeile 33:
 
to list the possible actions.
 
to list the possible actions.
  
=== Compiling the Source Code & Executing OpenOpal ===
+
=== Compiling the Source Code & Executing OpenDINO ===
  
 
For Linux systems enter
 
For Linux systems enter
 
<pre>$ make javac
 
<pre>$ make javac
 
$ make gui</pre>
 
$ make gui</pre>
to compile and start OpenOpal in GUI mode.
+
to compile and start OpenDINO in GUI mode.
  
 
For Windows systems enter
 
For Windows systems enter
 
<pre>$ make javac_cygwin
 
<pre>$ make javac_cygwin
 
$ make gui</pre>
 
$ make gui</pre>

Version vom 12. September 2013, 21:21 Uhr

Check the software requirements first! Then download the source code.

Using an IDE

OpenDINO is currently developed with NetBeans, as many windows are generated with the Swing framework.

However, other platforms such as Eclipse Eclipse can also be used.

Compiling and executing the software in a shell is also supported using Makefiles as build system.

Compiling in a Shell

Two platforms are currently tested:

  • Linux: A typical standard implementation of Linux with a Java JDK should contain all required programs for compiling and running OpenDINO.
  • Windows: Cygwin (R) is used to compile OpenDINO on Windows(R) platforms.

Compiling on other platforms has not been tested.

Creating the Makefile

The Makefile is automatically generated by the script createMakefile. In a shell, go to the subfolder opendino/trunk and execute:

$ ./createMakefile

Enter

$ make

to list the possible actions.

Compiling the Source Code & Executing OpenDINO

For Linux systems enter

$ make javac
$ make gui

to compile and start OpenDINO in GUI mode.

For Windows systems enter

$ make javac_cygwin
$ make gui