Le mardi 7 août 2007, Some user a écrit : > Hi, > I'm using applescript in my application that's being built using maven. I'm > developing on a mac os x. To compile applescript code (I wrote a couple of > proof-of-concept classes outside the project just to test things out), I > had to run javac -classpath /System/Library/Java Test.java > > How/where would I modify my pom files to handle this? > > > Thanks!
You'll have to declare a dependency on the library you're using to compile your classes: see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html The best would be to have a jar in your repository for your dependency. But if you really need your dependency to stay in /System/Library/Java, just use a system dependency: that's less portable, but should work for your personal work. Hervé --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
