geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenji Nakamura" <nakamura.kenji...@gmail.com>
Subject Absolute file path as dependency in plan
Date Thu, 23 Mar 2006 20:39:04 GMT
Hi,

I'm working on upgrading from M5 to 1.0 release.

For development, I used absolute file URI for dependencies in plans. It
worked well in M5, but got the following error when I deploy in 1.0 release.


deployGBean:
    [java]     No ModuleID or TargetModuleID provided.  Attempting to guess
based
    [java]     on the content of the plan.
    [java]
    [java]     Attempting to use ModuleID 'com/palamida/ipamp/Dispatcher'
    [java]
    [java]     Stopped com/foo/ibar/Dispatcher
    [java]
    [java]     Unloaded com/foo/bar/Dispatcher
    [java]
    [java]     Uninstalled com/foo/bar/Dispatcher
    [java]
    [java]     Error: Operation failed:
    [java]
org.apache.geronimo.kernel.repository.MissingDependencyException:
    [java]     uri
    [java]
file:/Users/kenjin/foo/dev1/engineering/sandbox/kenjin/bar/trunk/modules//dispatcher/target/eclipse-classes/
    [java]     not found in repository
    [java]
    [java]         uri
    [java]
file:/Users/kenjin/foo/dev1/engineering/sandbox/kenjin/bar/trunk/modules//dispatcher/target/eclipse-classes/
    [java]     not found in repository

It was VERY useful with the combination of Eclipse's dynamic code
replacement to reduce the frequency of bouncing Geronimo.
Is it no longer supported?? Is there any other way to specify a directory on
file system as a dependency instead of jars in respository?

The flagment of the plan file looks like this;

<configuration configId="com/foo/bar/Dispatcher" inverseClassloading="false"
xmlns="http://geronimo.apache.org/xml/ns/deployment-1.0">
  <import>
    <uri>geronimo/j2ee-security/1.0/car</uri>
  </import>

  <dependency>

<uri>file:/Users/kenjin/foo/dev1/engineering/sandbox/kenjin/bar/trunk/modules//dispatcher/target/eclipse-classes/</uri>
  </dependency>
  <dependency>

<uri>file:/Users/kenjin/foo/dev1/engineering/sandbox/kenjin/bar/trunk/modules//dispatcher-api/target/eclipse-classes/</uri>
  </dependency>
  <dependency>

<uri>file:/Users/kenjin/foo/dev1/engineering/sandbox/kenjin/bar/trunk/modules//security/target/eclipse-classes/</uri>
  </dependency>
  <dependency>

<uri>file:/Users/kenjin/foo/dev1/engineering/sandbox/kenjin/bar/trunk/modules//util/target/eclipse-classes/</uri>
  </dependency>
  <dependency>
    <uri>foo/ant-patch/1.5.4-1.0/jar</uri>
  </dependency>

Thanks in advance,


--
Kenj Nakamura

Mime
View raw message