[EMAIL PROTECTED] wrote:

On Sun, Mar 13, 2005 at 04:34:33PM -0700, Chad Brandon wrote:


[EMAIL PROTECTED] wrote:


By the way, I have to add a jar in the classpath for the compilation
of a few Impl classes. I tried to add a pathelement to maven.xml and
to core/maven.xml but I still get "package does not exist" at compile
time. So I wonder where is the right location to add a jar to the compile
classpath.



Is it a versioned jar? If so you should add it to the core/project.xml and the dependency will be added to the classpath.



In fact, it is not a versioned jar, but since I could not add it otherwise, I copied it to a location in my local maven repository and faked a versioned dependency in core/project.xml and the compilation went further.

It's not very elegant, but it's ok.



You can do something like this with unversioned jars: http://maven.apache.org/reference/user-guide.html#Overriding_Stated_Dependencies

Oh, I just noticed that the attribute of a modeled stateful session bean
do not get generated, which makes the compilation abort with a
"cannot resolve symbol", the symbol being the name of an attribute. Since
the compilation error occured in the target/src part of the .java files,
I wonder how to have the attributes generated.



What cartridge are you using to model your services?

Regards,






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to