I am using the command line. I didn't tried eclipse:eclipse. I will tray and see.
tibi wrote: > > compile command line or in eclipse? > > if in eclipse did you do an mvn eclipse:eclipse?? > > lounnaci wrote: >> Hi tibi >> >> I have added the following lines to POM file: >> <dependency> >> <groupId>eracom</groupId> >> <artifactId>jcprov</artifactId> >> <version>1.0-0</version> >> </dependency> >> >> My jar lib file is located in the path: >> \.m2\repository\eracom\jcprov\1.0-0\jcprov-1.0-0.jar >> >> When i compile, the same exception persists!!! >> >> >> >> tibi wrote: >> >>> add it to the pom file as dependencie as all other jar files? >>> >>> >>> tibi >>> >>> lounnaci wrote: >>> >>>> Hello >>>> >>>> My appfuse project has a reference to a jar file that i created. Waht >>>> is >>>> the >>>> best way to make a dependency with my library?. I simply added the >>>> dependency from the project java build path of eclipse prefs, it is not >>>> able >>>> to compile this way -> "cannot find symbol.." exception. >>>> >>>> Thanks >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >>> >>> >>> >>> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > > -- View this message in context: http://www.nabble.com/Add-a-dependency-with-an-external-jar-file-tp25103494s2369p25103786.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net