Alex Karasulu wrote:
Sorry I'm confusing the system repo with the regular merlin repo. The jars I have for ldapd are in the ${merlin.home}/repository - this was the workaround that made everything work.
That's not a workaround - the what you should be doing. :-)
I put nothing into the ${merlin.home}/system/repository.
I'm presuming that you meant to say that you put nothing in the ${merlin.home}/system repository.
Now take a look at this from the maven 'merlin:simulate' run:
Cause: org.apache.avalon.repository.RepositoryException Message: Unknown group: 'ldapd-server' relative to the repository base: 'C:\Docu ments and Settings\Administrator\.maven\repository\repository'.
Do you see the double \repository\repository? I think this might be the problem. Do you think this is on my end some how i.e. did I misconfigure something possibly?
Here is a trace of what happens when I run merlin:simulate on helo demo:
merlin:simulate: merlin:prepare-context: [echo] merlin.repository.local = F:\system\maven/repository
${user.dir}: F:\dev\avalon-sandbox\merlin\merlin-platform\tutorials\hello
${merlin.home}: C:\WINNT\Profiles\mcconnell\.merlin
Version: Merlin SMP 3.0
Environment: Windows NT 4.0 Java 1.4.2
Deployment Home: ${user.dir}/home
System Repository: F:\system\maven\repository
Runtime Repository: F:\system\maven\repository
Library Anchor: ${user.dir}
Kernel Path: resource:/kernel.xml
Deployment Blocks: file:/${user.dir}/target/classes/
Override Path: file:/${user.dir}/conf/config.xml
Server Flag: true
Debug Flag: false<snip>
Do you get the same thing? If not, chanced are that you are redefinining the repository in a properties file.
(I think)
Steve.
-Alex
-----Original Message-----
From: Stephen McConnell [mailto:[EMAIL PROTECTED] Sent: Sunday, September 14, 2003 12:26 PM
To: Avalon framework users
Subject: Re: -repository not working like -system anymore
Alex Karasulu wrote:
Just a couple quick clarification points on behaviors seen:
1). When maven plugin goal merlin:simulate is used the $MAVEN_HOME/repository is used as the repo. Even though the jars for ldapd are in the merlin system repo they are not picked up.
The only resources that will be access from the merlin system repository are the system jar files. When using merlin:simulate the default user repository is %MAVEN_HOME%/repository (or %MAVEN_HOME_LOCAL%\repository if declared). If the dependencies used by the project are properly declared, then the resources will be included by Maven into the Maven repository - i.e. you don't need to do anything. If the resources are not available then you need to update the maven repository manually.
2). When merlin is run by hand and no system/repository switch is used then it all works fine since I copied the jars from the maven repo to the merlin repo as test and workaround.
Keep in mind that the system repository (the ${merlin.home}/system directory) is only used during bootstrap. Putting anything in there to do with user dependencies will not help. All user resources should go in ${merlin.home}/repository (if not available from a remote host).
Steve.
theHope this clarifies. Alex
-----Original Message-----
From: Alex Karasulu [mailto:[EMAIL PROTECTED] Sent: Sunday, September 14, 2003 12:05 PM
To: 'Avalon framework users'
Subject: RE: -repository not working like -system anymore
Yeah in fact I blew away the old plugins by hand just in case then added
new ones. I'll try it once more just to be sure though.
Alex
-----Original Message-----
From: Stephen McConnell [mailto:[EMAIL PROTECTED] Sent: Sunday, September 14, 2003 12:06 PM
To: Avalon framework users
Subject: Re: -repository not working like -system anymore
Quick question - did you replace the merlin plugin with the one in RC3?
Steve.
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
