View Issue Details

IDProjectCategoryView StatusLast Update
0000116Oberon PlatformPlatform functionalitiespublic2014-08-03 01:33
Reporterg_prajeesh Assigned Toadministrator  
PriorityhighSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version4.1 - DB build 0071 
Fixed in Version4.1 - DB build 0071 
Summary0000116: Need to specify separate folder path for Oberon Generated Java files
DescriptionTo 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
TagsNo tags attached.

Activities

g_prajeesh

2014-08-02 18:25

manager   ~0000179

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

administrator

2014-08-03 01:33

administrator   ~0000180

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

Issue History

Date Modified Username Field Change
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