idlj-maven-plugin FileNotFoundExceptions
----------------------------------------

         Key: MOJO-380
         URL: http://jira.codehaus.org/browse/MOJO-380
     Project: Mojo
        Type: Bug

 Environment: maven 4.0.4
    Reporter: Corridor Software Developer
    Priority: Critical


The idlj-maven-plugin yields FileNotFoundExceptions when compiling idl's with 
both the idlj and jacorb compilers.

I'm only able to get the idlj compiler (default) to move forward by passing the 
location of the tools.jar file on the command line:

mvn -Djava.class.path=C:\Programs\development\java\jdk\1.4.2_07\lib\tools.jar 
install

adding it as a dependency, either for the plugin or the project, doesn't work.

Once I do this, I get to the same error which I get when trying the jacorb 
compiler instead:

[jacorb.idl] ERROR : 
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\orb.idl,
 line: 7(19): File orb.idl not found in include path
Can't recover from previous error(s), giving up.
        #include "orb.idl"
[jacorb.idl] ERROR : 
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\orb.idl,
 line: 7(19): Parse error
        #include "orb.idl"

Here is the idlj error:

[INFO] [idlj:generate {execution: default}]
[INFO] Processing: 
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\
main\idl\com\attws\it\wamw\psi\ProvisioningAction.idl
[INFO] main -i 
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector/src/main
/idl -td 
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\target/generat
ed-sources/idl -fall 
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\sr
c\main\idl\com\attws\it\wamw\psi\ProvisioningAction.idl
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\ProvisioningAction.idl (line 7):  java.io.FileNotFoundException: 
orb.idl
#include "orb.idl"

....

C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\ProvisioningAction.idl (line 21):  CORBA/WStringValue is an 
undeclared type.
        ::CORBA::WStringValue requeue(
                              ^
....

C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 51):  Expected one of `typedef' `struct' `union' 
`enum' `const' `exception
' `interface' `valuetype' `module'; encountered `<identifier>'.
    local interface PollableSet;         // Chapter  7, CORBA_Pollable.idl
    ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 94):  java.io.FileNotFoundException: 
CORBA_StandardExceptions.idl
#include <CORBA_StandardExceptions.idl>
                                      ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 97):  java.io.FileNotFoundException: CORBA_Current.idl
#include <CORBA_Current.idl>
                           ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 98):  java.io.FileNotFoundException: CORBA_Policy.idl
#include <CORBA_Policy.idl>
                          ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 99):  java.io.FileNotFoundException: 
CORBA_DomainManager.idl
#include <CORBA_DomainManager.idl>
                                 ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 102):  java.io.FileNotFoundException: 
CORBA_Pollable.idl
#include <CORBA_Pollable.idl>
                            ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 105):  java.io.FileNotFoundException: 
CORBA_InterfaceRepository.idl
#include <CORBA_InterfaceRepository.idl>
                                       ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 109):  java.io.FileNotFoundException: 
CORBA_TypeCode.idl
#include <CORBA_TypeCode.idl>
                            ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 112):  java.io.FileNotFoundException: 
CORBA_CustomMarshal.idl
#include <CORBA_CustomMarshal.idl>
                                 ^
C:\data\user\bravo\projects\Clarify\working\cfy\interfaces\snooper-connector\src\main\idl\com\attws\
it\wamw\psi\orb.idl (line 113):  java.io.FileNotFoundException: CORBA_Stream.idl
#include <CORBA_Stream.idl>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to