Hello All,
As a new comer to jabaco, I am trying to setup the jabaco framework. I have followed instructions on the articles related to the framework. I managed to create a project in Netbeans for the VBA part of the framework, and that part seems to compile fine with the exception of a warning:
Compiling 45 source files to C:\Documents and Settings\nbarakat\java\jabaco\build\classes
D:\SVNJabacoFW\Framework\src\VBA\JabacoEventQueue.java:36: warning: sun.awt.SunToolkit is Sun proprietary API and may be removed in a future release
SunToolkit.flushPendingEvents();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\SVNJabacoFW\Framework\src\VBA\VBVariant.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
compile-single:
BUILD SUCCESSFUL (total time: 2 seconds)
Unfortuanatly, the VB part of the framework seem to have a problem compiling. Using ant to build the project (build.bat), I get the following build.log (I am just including the error):
2010-06-04 Compile error. Class: 'Global' line: 681 => Function or variable not defined!
So I loaded the framework in jabaco, and the compiler produces an error on the following statement:
Public Function VBMousePointerToJCursor(v As MousePointerConstants) As #Cursor
...
Dim cur = New Cursors() <<=== causes the error
remarking this part produces errors in other parts ...
Even though build.bat produces a jabaco.jar in the bin directory, I believe such a jar is missing the VB framework. It is also 236KB which is in line with the
Jabaco201003160500.jar released on March 16th but much smaller then
Jabaco200910070500.jar of October 7, which is in the 515KB.
I don't know if something got broken along the way or the SVN got messed up or Iam doing something wrong (which is most probably the case since Iam new to this and to Java ...)
Any help is appreciated.