compilation - missing function - CommonConnectorFunctions

3 views
Skip to first unread message

Ashok Hariharan

unread,
Jan 8, 2013, 2:25:04 AM1/8/13
to bungeni...@googlegroups.com
ActSource and JudgmentMetadataExtra refer to the following API -which is not there in commonconnectorfunctions ... can you commit an updated CommonCOnnectorFunctions ?

ResultSet rs = CommonConnectorFunctions.ConnectMMSM(dbName, sqlStm);


Ashok
           

Ashok Hariharan

unread,
Jan 8, 2013, 2:31:50 AM1/8/13
to bungeni...@googlegroups.com
Also JudgementMetadataModel seems out of date on svn

Ashok Hariharan

unread,
Jan 8, 2013, 2:32:45 AM1/8/13
to bungeni...@googlegroups.com
All of these imports are currently missing on svn :

import org.bungeni.editor.metadata.CaseType;
import org.bungeni.editor.metadata.Category;
import org.bungeni.editor.metadata.City;
import org.bungeni.editor.metadata.Domains;
import org.bungeni.editor.metadata.JudgementFamily;

Samar Ayesh

unread,
Jan 8, 2013, 9:11:39 AM1/8/13
to bungeni...@googlegroups.com, Ahmad Hammo
Just committed the files


On Tue, Jan 8, 2013 at 9:32 AM, Ashok Hariharan <as...@parliaments.info> wrote:
import org.bungeni.editor.metadata.Category;
import org.bungeni.editor.metadata.City;
import org.bungeni.editor.metadata.Domains;
import org.bungeni.editor.metadata.JudgementFamily;



--
 ___________________________
 Samar Ayesh

Ashok Hariharan

unread,
Mar 8, 2013, 4:27:24 AM3/8/13
to bungeni...@googlegroups.com
Somethings are still missing ..compilation errors :

This API does not exist .. :
CommonConnectorFunctions.ConnectMMSM(dbName);

THere is one in commonconnectorfunctions which takes 2 parameters not one...

Also I noticed you have used the unconvention "_" in class names this can cause some problems as some java programs use this naming convention to mean something .. I would suggest you rename them and place them in a package hierarchy if you want longer names

instead of : "CourtJudgement_HighCourtofJustice_Constitutional_AntiCorruption" ... you could put it in a package called "courtjudgement"

and then layer them as subpackages /courtjudgement/highcourtofjustic/constitution/AntiCorruption.java

I am moving all your code into a separate package within the metadata folder so you can restructure accordingly...

Also I will move out the existing ConnectMMSM function into its own utitly class since the place where you have put is utitlties for the generic connector ... while you have used your own custom implementation ...

Ashok

--
You received this message because you are subscribed to the Google Groups "bungeni-editor" group.
To post to this group, send email to bungeni...@googlegroups.com.
To unsubscribe from this group, send email to bungeni-edito...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bungeni-editor?hl=en.

Samar Ayesh

unread,
Mar 9, 2013, 2:28:47 AM3/9/13
to bungeni...@googlegroups.com
I just tried to commit CommonConnectorFunctions.java .. but it failed >>
please tell me where it is now ??

and for th long name :  "CourtJudgement_HighCourtofJustice_Constitutional_AntiCorruption"
I put it like this temporary tell they give me a shorter name .. I'll rename it now any thing else ..

Samar Ayesh

unread,
Mar 9, 2013, 4:51:24 AM3/9/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo
I'm getting the last updates and separating birzeit folder alone ..
but I didn't find the package import nl.jj.swingx.gui.modal.JModalFrame;

where it should be?

Ashok Hariharan

unread,
Mar 11, 2013, 3:53:02 AM3/11/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo
Hi --

You need to update the lib folder in the editor.

this library was added as a dependency sometime ago .. its the one right at the bottom of :

http://bungeni-editor.googlecode.com/svn/BungeniEditor/trunk/BungeniEditorClient/lib/EXTERNALS.txt

To unsubscribe from this group and stop receiving emails from it, send an email to bungeni-edito...@googlegroups.com.

To post to this group, send email to bungeni...@googlegroups.com.

Samar Ayesh

unread,
Mar 11, 2013, 4:07:10 AM3/11/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo
yes Ashok, 
lib folder was updated .. but I added the new and updated jar files there to the bungeniEditor libraries and it worked ..

Ashok Hariharan

unread,
Mar 11, 2013, 6:28:52 AM3/11/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo
You also have to update your nbproject/project.properties file so the lib is added to your project ...

Samar Ayesh

unread,
Mar 11, 2013, 6:53:09 AM3/11/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo
Every thing worked fine with out updating .. when I updated project.properties every thing crashed !!
even though I edited the paths as required !! 

Samar Ayesh

unread,
Mar 11, 2013, 7:00:55 AM3/11/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo
Sorry I correct it by modifying the breaking libraries
Reply all
Reply to author
Forward
0 new messages