• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Maven Java CORBA source generation

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm new to Maven and I'm trying to work out how to get it to perform a pre-compilation step of turning IDL files into generated java files before compiling them. I can find virtually no documentation on it online so I'd appreciate some pointers.

I'm thinking I need a structure like...
/project
pom.xml
/src
/main
/java (my source code)
/idl (resource that I don't want copied to target)
/resources (files I do want copied to target)
/target
/classes
/generated
/src (where my generated source files will go)

I also want to use the JacORB compiler rather than the standard Sun compiler for the CORBA files. Other than it being "something" that I need to put in the build section of my pom.xml, I am clueless as to how I specify the order (i.e. generate java files first) and then configure where the target directory is and that I want to use TIE.

I think I need to use the "Maven CORBA IDL Compiler Plugin", idlj-maven-plugin-1.0. But I don't know how.

I have it working in Ant. Any help getting it working with Maven would be greatly appreciated.

PK
 
Paul Kelcey
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I still love you even if no-one else does.
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic