On 6/9/05, Nathan Sowatskey (nsowatsk) <[EMAIL PROTECTED]> wrote:
> 1 - I would normally (I think) wanted to have been able to refer to the file
> called jboss-j2ee.jar in the $JBOSS_HOME/server/all/lib dir. Of course I can
> copy and rename as I have below, but that doesn't seem right. What do other
> people do here?

You have a few options:
- install in the local repo, as you have
- use a reference implementation - j2ee from sun for compilation
- use geronimo-spec for compilation (it is available in the repo already)

> 2 - It seems as though the relationship between a dependency and a jar is
> 1:1. If I wanted to just add all of the jars in a given directory, how would
> I do that?

Create another dependency with packaging = pom, say j2ee-all, that
declared dependencies on all the others, then refer to that from your
projects.

> [INFO]
> G:\nm_poc\ejb\jar\src\main\java\com\cisco\nm\poc\inventory\ejb\Inventory
> ession.java:[125,15]  InventoryQueryResponse(java.util.Collection) in
> com.cisco
> nm.poc.inventory.util.InventoryQueryResponse cannot be applied to ()

This appears to me to be a compile error in your code.

Cheers,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to