OBEROn - Bug Trace - Oberon Platform
Viewing Issue Advanced Details
116 Platform functionalities feature have not tried 2014-08-02 15:50 2014-08-03 01:33
g_prajeesh  
administrator  
high  
closed 4.1 - DB build 0071  
fixed  
none    
none 4.1 - DB build 0071  
0000116: Need to specify separate folder path for Oberon Generated Java files
To integrate Oberon with other type of Java Projects such as web projects, it will be nice to specify the following environment/ properties

1. java.source.folder=<Directory> where <Directory> will be the folder where oberon will create the java files

2. oberon.java.pacakge = <Package Name> the package name so that customer can use their package name convention and will not conflict each others
Issue History
2014-08-02 15:50 g_prajeesh New Issue
2014-08-02 17:27 administrator Status new => assigned
2014-08-02 17:27 administrator Assigned To => administrator
2014-08-02 18:25 g_prajeesh Note Added: 0000179
2014-08-03 01:33 administrator Note Added: 0000180
2014-08-03 01:33 administrator Status assigned => closed
2014-08-03 01:33 administrator Resolution open => fixed
2014-08-03 01:33 administrator Fixed in Version => 4.1 - DB build 0071
2016-12-23 09:45 satish Issue Monitored: satish

Notes
(0000179)
g_prajeesh   
2014-08-02 18:25   
when java file is created by Oberon, place the package from the property entry.


Also create the java file will be generated in

<java.source.folder>/ <oberon.java.pacakge> directory.

Assume the values of the properties are as below

<java.source.folder>=C:\oberon4.1\src
<oberon.java.pacakge>=com.eplm.program

then the java files should be created under

C:\oberon4.1\src\com\eplm\program directory
(0000180)
administrator   
2014-08-03 01:33   
1. Java source folder can be specified with "tmpdir" in the oberon.ini file (CONNECTION section)

http://www.oberonplatform.com/configure.php [^]

The source folder is: <tmpdir>/source/
The folder for compiled classes is: <tmpdir>/classes/

2. Package name is not required because the Oberon program names are unique and you cannot set the same name for 2 programs and for the releated java classes
You if set different <tmpdir> in the oberon.ini file, it is not possible to have conflicts.

3. Java code should be stored inside the DB (programs / webservices), it is strongly recommended to avoid external classes for triggers.
You can debug the code by using the remote debug through a JPDA port:

http://www.oberonplatform.com/tutorial/debug_source_code.php [^]