How to reference/link another project in grails workspace without using jar files?

Posted by Ivan Alagenchev on Stack Overflow See other posts from Stack Overflow or by Ivan Alagenchev
Published on 2012-10-05T20:14:44Z Indexed on 2012/12/18 11:03 UTC
Read the original article Hit count: 118

I have a Grails website that references a java core application. I have been successful in adding a .jar dependency to that project; however the java project is in the same workspace as my grails project and I would ultimately like to reference that project directly. I don't want to deal with the added step of creating a new jar file every time that there is a modification to the java project, cleaning and updating my dependencies. I added the java project to my grails' project "Java Build Path" and at first everything seemed to work fine, but when I run grails>compile, the compiler fails to resolve all imports that point to the java project.

I am using Spring Source Toolsuite as my IDE.

© Stack Overflow or respective owner

Related posts about grails

Related posts about sts-springsourcetoolsuite