updating Orbeon jars with all dependencies to fix FOP pdf problem

0 views
Skip to first unread message

lonetraveller

unread,
Apr 30, 2008, 1:00:53 PM4/30/08
to tempo-dev
Hi
We would like to integrate the latest version of Orbeon jars (ops)
because we want to fix our issue with generating a PDF.

I understand that the current dependencies list for orbeon is
available:
http://tempo.intalio.org/tempo/trunk/dependencies.rb
How can I proceed after this? Do I have to check out the entire tempo
source or is it just the dependencies related to jar files?
Do I need to check out things like: web.xml.
After checking out what is the procedure to merge the relevant files
like /WEB-INF/workflow/config/intalioForms.css,
/WEB-INF/workflow/config/services.xml,
- /WEB-INF/workflow/formManager/ , page-flow-xml

I would be grateful for instructions provided.

thanks
ilango

Nicolas Modrzyk

unread,
Apr 30, 2008, 2:00:18 PM4/30/08
to temp...@googlegroups.com
Hi,

This is pretty complex.
Ihab, who's working on the xforms-manager has well, has been asking
for an update, since it fixes quite a few things on his side as well.
If there is enough motivation, I can actually do it and integrate it
in the tempo trunk.

Could you ask the orbeon people for a CVS tag of a stable version of orbeon ?

Niko,

lonetraveller

unread,
Apr 30, 2008, 4:10:39 PM4/30/08
to tempo-dev
Hi
Sure. I will ask them for a CVS tag of a stable version of Orbeon.

thanks
ilango

On Apr 30, 2:00 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi,
>
> This is pretty complex.
> Ihab, who's working on the xforms-manager has well, has been asking
> for an update, since it fixes quite a few things on his side as well.
> If there is enough motivation, I can actually do it and integrate it
> in the tempo trunk.
>
> Could you ask the orbeon people for a CVS tag of a stable version of orbeon ?
>
> Niko,
>

lonetraveller

unread,
Apr 30, 2008, 4:25:16 PM4/30/08
to tempo-dev
Niko
Do you think Ihab would be a better person to to get this CVS tag
information from Orbeon faster or more efficiently than I. The reason
I say this is that, the only way I can contact the Orbeon people is
through a public question on their forums or an email to Erik.
Your opinion on what is a good option would be great.

thanks
ilango

On Apr 30, 2:00 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi,
>
> This is pretty complex.
> Ihab, who's working on the xforms-manager has well, has been asking
> for an update, since it fixes quite a few things on his side as well.
> If there is enough motivation, I can actually do it and integrate it
> in the tempo trunk.
>
> Could you ask the orbeon people for a CVS tag of a stable version of orbeon ?
>
> Niko,
>

Nicolas Modrzyk

unread,
Apr 30, 2008, 5:10:29 PM4/30/08
to temp...@googlegroups.com
Hi ilango,

I've asked on the public mailing list.
Let's see what's coming back.

If it looks good I will go and integrate it as soon as possible. So
this would be this week I guess.
I will also let you know the CVS tag. (last time it was embedeed in
the jar files, so I would do the same this time as well)

Regards,

Niko

On 4/30/08, lonetraveller <ilan...@gmail.com> wrote:
>

Nicolas Modrzyk

unread,
Apr 30, 2008, 7:12:56 PM4/30/08
to temp...@googlegroups.com
Hi again,

You can see it on the orbeon mailing list. They are going to release a
new orbeon within the next two weeks.
If that is according to your schedule, I would rather wait for them to
have a proper release.

Let us know,

Niko,

lonetraveller

unread,
May 1, 2008, 10:16:26 AM5/1/08
to tempo-dev
Hi Niko
We are grateful for your response. Our plan is to have to FOP printing
capability with the existing version of Orbeon. We are aiming for a
demo with the client early next week.So rather than wait two weeks for
a new Orbeon release we would like to have an earlier integration to
address our FOP issue.
I am very thankful to you for your patience.

thanks
ilango



On Apr 30, 7:12 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi again,
>
> You can see it on the orbeon mailing list. They are going to release a
> new orbeon within the next two weeks.
> If that is according to your schedule, I would rather wait for them to
> have a proper release.
>
> Let us know,
>
> Niko,
>
> On 4/30/08, Nicolas Modrzyk <hellon...@gmail.com> wrote:
>
> > Hi ilango,
>
> > I've asked on the public mailing list.
> > Let's see what's coming back.
>
> > If it looks good I will go and integrate it as soon as possible. So
> > this would be this week I guess.
> > I will also let you know the CVS tag. (last time it was embedeed in
> > the jar files, so I would do the same this time as well)
>
> > Regards,
>
> > Niko
>

Nicolas Modrzyk

unread,
May 2, 2008, 3:15:57 PM5/2/08
to temp...@googlegroups.com, Pascal Belloncle, Alex Boisvert
Hi ilango,

I've put some notes on how to update orbeon in the tempo xforms-manager:
http://www.intalio.org/confluence/display/TEMPO/FAQ#FAQ-orbeon

I don't think I will commit an update myself, next week.
As said, I will wait for their proper release first.

Let me know, if you need something else on the migration.

Regards,

Niko,

lonetraveller

unread,
May 4, 2008, 7:09:46 PM5/4/08
to tempo-dev
Thanks a lot, Niko. I will look at the instructions on how to update
Orbeon for now. I greatly appreciate your looking into this matter and
will wait for your update after Orbeon's release as well.

regards
ilango

On May 2, 3:15 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> I've put some notes on how to update orbeon in the tempo xforms-manager:http://www.intalio.org/confluence/display/TEMPO/FAQ#FAQ-orbeon
>
> I don't think I will commit an update myself, next week.
> As said, I will wait for their proper release first.
>
> Let me know, if you need something else on the migration.
>
> Regards,
>
> Niko,
>

lonetraveller

unread,
May 4, 2008, 8:05:29 PM5/4/08
to tempo-dev
I realized that I could place the ldap.properties anywhere and that is
configurable. This information was already there on the tempo site and
I was not reading it. Apologies for asking for information when it was
already available.

regards
ilango

On May 2, 3:15 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> I've put some notes on how to update orbeon in the tempo xforms-manager:http://www.intalio.org/confluence/display/TEMPO/FAQ#FAQ-orbeon
>
> I don't think I will commit an update myself, next week.
> As said, I will wait for their proper release first.
>
> Let me know, if you need something else on the migration.
>
> Regards,
>
> Niko,
>

lonetraveller

unread,
May 4, 2008, 8:35:08 PM5/4/08
to tempo-dev
Hi N
Just looked at the instructions on updating Orbeon.
Not being familiar with Ruby, is dependencies.rb like an executable
that I can download and run. How can I proceed?

thanks
ilango

On May 2, 3:15 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> I've put some notes on how to update orbeon in the tempo xforms-manager:http://www.intalio.org/confluence/display/TEMPO/FAQ#FAQ-orbeon
>
> I don't think I will commit an update myself, next week.
> As said, I will wait for their proper release first.
>
> Let me know, if you need something else on the migration.
>
> Regards,
>
> Niko,
>

Nicolas Modrzyk

unread,
May 5, 2008, 5:44:33 PM5/5/08
to temp...@googlegroups.com
Hi ilango,

dependendies,rb is our list of dependencies for the tempo project.
the Buildfile:
http://tempo.intalio.org/tempo/trunk/Buildfile
is making use of it.

The ruby script does absolutely nothing on its own, it just declare
the jar files used.

To update orbeon within the xforms-manager, the easier for you would
be to drop all the new jar files that orbeon is using (and remove the
old ones)

Or wait until they make a release, so I can perform the update.
But let me know if you need any more help.

Niko,

lonetraveller

unread,
May 6, 2008, 4:23:31 PM5/6/08
to tempo-dev
Hi Niko
At this point of time I would like to try the update myself.
How would I use the this buildfile now?

thanks
ilango

On May 5, 5:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> dependendies,rb is our list of dependencies for the tempo project.
> the Buildfile:http://tempo.intalio.org/tempo/trunk/Buildfile
> is making use of it.
>
> The ruby script does absolutely nothing on its own, it just declare
> the jar files used.
>
> To update orbeon within the xforms-manager, the easier for you would
> be to drop all the new jar files that orbeon is using (and remove the
> old ones)
>
> Or wait until they make a release, so I can perform the update.
> But let me know if you need any more help.
>
> Niko,
>

Nicolas Modrzyk

unread,
May 6, 2008, 4:45:03 PM5/6/08
to temp...@googlegroups.com
Hi ilango,

buildfile is the file used by buildr to build tempo.
then go to the xforms-manager subproject and use:
buildr clean install
it will create a war file in xforms-manager/target

that you can redeploy on your application server.

Makes sense ?
Let me know if you need more info. Also let me know if it makes sense
to add more info on the tempo website. (for other users to share)

Niko,

lonetraveller

unread,
May 6, 2008, 5:05:33 PM5/6/08
to tempo-dev
It is beginning to make sense. I ran buildr package inside the source
folder where I had the tempo checkout files although I knew I was
doing things wrong.
I will run the command
"buildr clean install" inside the xforms-manager subproject as you
instructed me to.
I will let you know how this went.

thanks
ilango

On May 6, 4:45 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> buildfile is the file used by buildr to build tempo.
> then go to the xforms-manager subproject and use:
> buildr clean install
> it will create a war file in xforms-manager/target
>
> that you can redeploy on your application server.
>
> Makes sense ?
> Let me know if you need more info. Also let me know if it makes sense
> to add more info on the tempo website. (for other users to share)
>
> Niko,
>

lonetraveller

unread,
May 6, 2008, 5:33:55 PM5/6/08
to tempo-dev
Hi Niko
I just managed to create the new war file tempo-xforms-
manager-5.2.0.19-SNAPSHOT.war thanks to your kind assistance.
Now in order to deploy this to my application server, can I just do it
from the console?

Please let me know how I can carry this out.

And yes, I agree with you that more information on this needs to be
there on the tempo website.

I can make a writeup for you and can assist you in this as far as
possible. Do let me know.

thanks
ilango


On May 6, 4:45 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> buildfile is the file used by buildr to build tempo.
> then go to the xforms-manager subproject and use:
> buildr clean install
> it will create a war file in xforms-manager/target
>
> that you can redeploy on your application server.
>
> Makes sense ?
> Let me know if you need more info. Also let me know if it makes sense
> to add more info on the tempo website. (for other users to share)
>
> Niko,
>

lonetraveller

unread,
May 6, 2008, 5:37:21 PM5/6/08
to tempo-dev
Hi Niko
So, after some thought:
Can I use the deployer tool as below?
java -jar deployer.jar <general_options> deploy <module>
<deployment_plan>
where I have xforms-manager-snapshot.war for 'module' and --user and
--password for <general options>

where user and password are system and manager( perhaps I am wrong)

thanks
ilango



On May 6, 4:45 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> Hi ilango,
>
> buildfile is the file used by buildr to build tempo.
> then go to the xforms-manager subproject and use:
> buildr clean install
> it will create a war file in xforms-manager/target
>
> that you can redeploy on your application server.
>
> Makes sense ?
> Let me know if you need more info. Also let me know if it makes sense
> to add more info on the tempo website. (for other users to share)
>
> Niko,
>

Nicolas Modrzyk

unread,
May 6, 2008, 5:44:53 PM5/6/08
to temp...@googlegroups.com
yes (for writing up some doc for other users), yes (for using the
deploy tool) , yes (you can use it for both command line and through
the web interface), and yes this would be the command line:
deploy.sh --user system --password manager redeploy <warfile>

Niko,

On 5/6/08, lonetraveller <ilan...@gmail.com> wrote:
>

lonetraveller

unread,
May 6, 2008, 9:55:21 PM5/6/08
to tempo-dev
Niko
I tried the redeploy option: This I tried with the existing war in
place. It failed. I then uninstalled the existing war from the
Geronimo console and decided to try the deploy option.I had copied the
new WAR file into C:\INTALIO\Intalio_Server\intalio-bpms-
server-5.1.0.020\repository\org\intalio\tempo and then tried the
following:
java -jar deployer.jar --user system --password manager deploy <path-
to-xforms-manager.war>

This seemed to work as I got the following:
C:\INTALIO\Intalio_Server\intalio-bpms-server-5.1.0.020\bin>java -jar
deployer.j
ar --user system --password manager deploy C:\INTALIO\Intalio_Server
\intalio-bpm
s-server-5.1.0.020\repository\org\intalio\tempo\xforms-
manager-5.1.0.12.war
Deployed org.intalio.tempo/xforms-manager/SNAPSHOT/war @
/xFormsManager

I saw the following new folder structure in Geronimo:
C:\INTALIO\Intalio_Server\intalio-bpms-server-5.1.0.020\repository\org
\intalio\tempo\xforms-manager\SNAPSHOT\xforms-manager-SNAPSHOT.war

I then restarted the server and found that the new WAR was deployed.

Am I missing something? Have I done something wrong?

thanks
ilango


thanks
ilango

On May 6, 5:44 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> yes (for writing up some doc for other users), yes (for using the
> deploy tool) , yes (you can use it for both command line and through
> the web interface), and yes this would be the command line:
> deploy.sh --user system --password manager redeploy <warfile>
>
> Niko,
>

Nicolas Modrzyk

unread,
May 6, 2008, 10:15:14 PM5/6/08
to temp...@googlegroups.com
It wasn't the "deploy" command for the geronimo script it was
"redeploy" that's the reason it complained :)

So now everything's good but you've only redeployed the current tempo
version of xforms-manager. I did not update the libs.
Now you would need to follow the instructions I put in the FAQ section.

Niko,

On 5/6/08, lonetraveller <ilan...@gmail.com> wrote:
>

lonetraveller

unread,
May 7, 2008, 9:26:05 AM5/7/08
to tempo-dev
Hi Niko
I think I should do the following:

"I've put some notes on how to update orbeon in the tempo xforms-
manager:
http://www.intalio.org/confluence/display/TEMPO/FAQ#FAQ-orbeon "

This is the FAQ I need to use, right?
I will get to this and let you know how it goes.

thanks
ilango


On May 6, 10:15 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> It wasn't the "deploy" command for the geronimo script it was
> "redeploy" that's the reason it complained :)
>
> So now everything's good but you've only redeployed the current tempo
> version of xforms-manager. I did not update the libs.
> Now you would need to follow the instructions I put in the FAQ section.
>
> Niko,
>

lonetraveller

unread,
May 7, 2008, 9:33:19 AM5/7/08
to tempo-dev
Niko
So..In order to update the libs I need to download the Orbeon war (the
latest stable version they have is from Dec 30, 2007) and go through
the instructions provided.

regards
ilango

On May 6, 10:15 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> It wasn't the "deploy" command for the geronimo script it was
> "redeploy" that's the reason it complained :)
>
> So now everything's good but you've only redeployed the current tempo
> version of xforms-manager. I did not update the libs.
> Now you would need to follow the instructions I put in the FAQ section.
>
> Niko,
>

lonetraveller

unread,
May 7, 2008, 9:59:53 AM5/7/08
to tempo-dev
This is what I put together in my head after going through the first
step in your FAQs.

1) I opened up dependencies.rb and drilled down to where references to
Orbeon live:

This is what I found:

ORBEON_AXIS = [
"orbeon:axis-orbeon:jar:1.2.1",
"orbeon:axis-jaxrpc:jar:1.2.1",
"orbeon:axis-saaj:jar:1.2.1",
"orbeon:axis-wsdl4j:jar:1.2.1-1.5.1"
]
ORBEON_XERCES = [
group("xerces-resolver", "xerces-serializer", "xerces-xml-apis",
"xerces-xercesImpl", :under => "orbeon" , :version =>
"2_9_orbeon_20070711")
]
ORBEON_CORE = [
group("orbeon", "orbeon-xforms-filter", "orbeon-resources-public",
"orbeon-resources-
private", :under=>"ops", :version=>"3.6.0.200712061930"),
]
ORBEON_CUSTOM = [
ORBEON_XERCES,
"orbeon:jakarta-oro-orbeon:jar:2.0.8",
#"orbeon:saxon-orbeon:jar:8_8_orbeon_20070817" is buggy,
# the saxon-orbeon jar below is a slightly modified version
# that works
"orbeon-saxon:orbeon-saxon:jar:8.8-intalio-2",
"orbeon:saxpath:jar:dev_orbeon",
"orbeon:xsltc-orbeon:jar:2.5.1",
"orbeon:xalan-orbeon:jar:2.5.1",

# Not needed unless we want to force server caching for xforms
# "orbeon:xmldb-exist:jar:1_1_1",
# "orbeon:exist:jar:1.1.1",
# "orbeon:xmlrpc:jar:1.2-patched-exist_1_1_1",
# "orbeon:antlr:jar:antlr-2.7.6-exist_1_1_1",
# "orbeon:exist-optional:jar:1.1.1"

------
My understanding so far is to:
1) open up the Orbeon War file and locate the relevant jar files
referenced in the dependencies.rb
2) I found that under C:\INTALIO\Intalio_Server\intalio-bpms-
server-5.1.0.020\repository\org\intalio\tempo\xforms-manager\SNAPSHOT
\xforms-manager-SNAPSHOT.war\WEB-INF\lib
there are orbeon-related jars like:
ops-3.6.0-cos-1.jar
ops-resources-private-3.6.0-cos-1.jar
ops-resources-public-3.6.0-cos-1.jar
orbeon-saxon-8.8-intalio-2.jar
xsltc-orbeon.jar

When you said replace/update what should I do with these jar files?
Do I just copy all the relevant jar files from my new orbeon\WEB-INF
\lib folder to Intalio lib folder under xFormsManager?

Thanks for helping me understand this step.

thanks
ilango





On May 6, 10:15 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> It wasn't the "deploy" command for the geronimo script it was
> "redeploy" that's the reason it complained :)
>
> So now everything's good but you've only redeployed the current tempo
> version of xforms-manager. I did not update the libs.
> Now you would need to follow the instructions I put in the FAQ section.
>
> Niko,
>

lonetraveller

unread,
May 7, 2008, 10:48:31 AM5/7/08
to tempo-dev
Hi Niko
I have copied over relevant jar files listed in dependencies.rb over
to my new lib folder under Intalio Server's xFormsManager. Many of the
new jar file now in place are new additions to the xFormsManager
though some of the jars listed in dependencies.rb were already present
like the ones under ORBEON_CORE and three files under ORBEON_CUSTOM-
[ORBEON_XERCES..

I have not been able to locate xerces-xercesimpl jar though.

thanks
ilango




Nicolas Modrzyk

unread,
May 7, 2008, 3:40:44 PM5/7/08
to temp...@googlegroups.com
well. You would need to update all the orbeon jar files in your local
maven repository as well, those jar files coming from the new orbeon
released war file.
If it gets too complicated for you, maybe it's better if you work
directly on your expanded version of xforms-manager ?

Niko,

lonetraveller

unread,
May 7, 2008, 4:15:11 PM5/7/08
to tempo-dev
Hi Niko
I will attempt it anyways.Does not hurt to try. I am trying all this
on a separate server..
Please let me know how I can update my local maven repository.


thanks
ilango

On May 7, 3:40 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> well. You would need to update all the orbeon jar files in your local
> maven repository as well, those jar files coming from the new orbeon
> released war file.
> If it gets too complicated for you, maybe it's better if you work
> directly on your expanded version of xforms-manager ?
>
> Niko,
>

lonetraveller

unread,
May 7, 2008, 4:20:22 PM5/7/08
to tempo-dev
Could you add a little more information on the following steps:
# Check the web.xml file for xforms-manager is still compatible. (And
probably same for the geronimo-web.xml)
# Check the page-flow.xml file is still compatible
# Replace the following folders with the new ones: config, context,
images
# We had a slightly modified properties.xml to avoid some persistence
features we don't use.
# We had a services.xml in that same properties folder, so need to
keep it
# Also, restore the intalio CSS file


thanks
ilango



On May 7, 3:40 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> well. You would need to update all the orbeon jar files in your local
> maven repository as well, those jar files coming from the new orbeon
> released war file.
> If it gets too complicated for you, maybe it's better if you work
> directly on your expanded version of xforms-manager ?
>
> Niko,
>

Nicolas Modrzyk

unread,
May 7, 2008, 4:28:46 PM5/7/08
to temp...@googlegroups.com
> Could you add a little more information on the following steps:
sure.

> # Check the web.xml file for xforms-manager is still compatible. (And
> probably same for the geronimo-web.xml)

Our version of web.xml is originally a custom version of the one from
orbeon. (Configuration of resources loaders, and removed some servlets
we don't use)
If they updated their web.xml file, we need to update ours, but still
keeping the configuration we want.

> # Check the page-flow.xml file is still compatible

Surely you can keep that one untouched.

> # Replace the following folders with the new ones: config, context,
> images

Copy/replace the 3 folders from orbeon to tempo.

> # We had a slightly modified properties.xml to avoid some persistence
> features we don't use.

same as web.xml, we have a slightly custom version of
config/properties.xml. Need to make sure we keep our config, while
keeping up with their updates.

> # We had a services.xml in that same properties folder, so need to
> keep it

config/services.xml is all ours.

> # Also, restore the intalio CSS file

config/intalio.css

It's not easy, but you've volunteered to do that by yourself :D
Good luck!

Niko

lonetraveller

unread,
May 7, 2008, 5:37:34 PM5/7/08
to tempo-dev
Hi Niko
I had posted a reply, but I do not see it yet on the forums, even 30
minutes later. Could you tell me how to update the local maven repo as
well?

thanks
(I do beg your pardon if my previous post has already appeared and you
have read it)

ilango

On May 7, 3:40 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> well. You would need to update all the orbeon jar files in your local
> maven repository as well, those jar files coming from the new orbeon
> released war file.
> If it gets too complicated for you, maybe it's better if you work
> directly on your expanded version of xforms-manager ?
>
> Niko,
>

Nicolas Modrzyk

unread,
May 7, 2008, 5:49:26 PM5/7/08
to temp...@googlegroups.com
we're using buildr as our building tool.
buildr has a utility method to install a jar file in your local repo:
http://incubator.apache.org/buildr/rdoc/classes/Buildr.html#M000073
basically, the ruby code is:
{code}
artifact(spec).from(from_file)
{code}
where the spec are written in the same way the depedencies.rb is using
them, and the from_file is the full path to the jar file you want to
put in your local repository.

or you can use the usual maven command:
http://maven.apache.org/plugins/maven-install-plugin/examples/specific-local-repo.html

You can notice that the buildr code is way easier to read :D

Niko,


On 5/7/08, lonetraveller <ilan...@gmail.com> wrote:
>

lonetraveller

unread,
May 8, 2008, 9:54:14 AM5/8/08
to tempo-dev
Thanks, Niko. It is not easy, but it seems to get less difficult after
trying.

ilango

lonetraveller

unread,
May 8, 2008, 5:43:55 PM5/8/08
to tempo-dev
Hi Niko
I think I go all the way through to the last step which is to update
my local repository:
Question:
My local repository is a Maven repository that is part of the Geronimo
Intalio Server install?

thanks
ilango

On May 7, 5:49 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> we're using buildr as our building tool.
> buildr has a utility method to install a jar file in your local repo:http://incubator.apache.org/buildr/rdoc/classes/Buildr.html#M000073
> basically, the ruby code is:
> {code}
> artifact(spec).from(from_file)
> {code}
> where the spec are written in the same way the depedencies.rb is using
> them, and the from_file is the full path to the jar file you want to
> put in your local repository.
>
> or you can use the usual maven command:http://maven.apache.org/plugins/maven-install-plugin/examples/specifi...
>
> You can notice that the buildr code is way easier to read :D
>
> Niko,
>

lonetraveller

unread,
May 8, 2008, 6:04:15 PM5/8/08
to tempo-dev
Hi Niko
My understanding so far is that I need to install Maven separately on
my machine,set up an internal repository, so that I can house a copy
of artifacts, and to publish private artifacts to.
Further my understanding is as following:To set up an internal
repository just requires that one has a place to put it, and then one
starts copying required artifacts there using the same layout as in a
remote repository such as repo1.maven.org .

My understanding also tells me that this 'local repository' has
nothing to do with any inbuilt repository inside Geronimo. (Well, I
know that Geronimo has its plugins repository and is this a Maven
repo?)

Please clarify. I am trying to get to the bottom of this matter.

thanks
ilango

On May 7, 5:49 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> we're using buildr as our building tool.
> buildr has a utility method to install a jar file in your local repo:http://incubator.apache.org/buildr/rdoc/classes/Buildr.html#M000073
> basically, the ruby code is:
> {code}
> artifact(spec).from(from_file)
> {code}
> where the spec are written in the same way the depedencies.rb is using
> them, and the from_file is the full path to the jar file you want to
> put in your local repository.
>
> or you can use the usual maven command:http://maven.apache.org/plugins/maven-install-plugin/examples/specifi...
>
> You can notice that the buildr code is way easier to read :D
>
> Niko,
>

Nicolas Modrzyk

unread,
May 8, 2008, 6:07:26 PM5/8/08
to temp...@googlegroups.com
Hi ilamgo,
No. Your local maven repository is located at:"/.m2/repository.

Geronimo is using an internal maven repository to manage dependencies,
but this is separate.

Regards,

Niko,

Nicolas Modrzyk

unread,
May 8, 2008, 6:09:32 PM5/8/08
to temp...@googlegroups.com
> My understanding so far is that I need to install Maven separately on
> my machine,set up an internal repository, so that I can house a copy
> of artifacts, and to publish private artifacts to.
No. If you use buildr, it's going to download and install everything you need.
If the jar are not hosted anywhere, then yes, you need to install then
using the command I sent yesterday, and this is the case for the new
orbeon jar files, not the dependencies, since they are most likely to
be hosted somewhere already, and in this case, you just add their
description in depedencies.rb

Regards,

Niko

lonetraveller

unread,
May 8, 2008, 8:41:49 PM5/8/08
to tempo-dev
Hi Niko
My local repository is located at:C:\Documents and Settings\gurusai
\.m2\repository
I find that there are folders "orbeon" and "orbeo-saxon" and if I
interpreted and read the instructions properly I should run the
following command for one particular jar (say, axis-orbeon-1.2.1.jar)

install artifact('group:id:jar:1.0').from('C:\INTALIO\Intalio_Server
\intalio-bpms-server-5.1.0.020\repository\org\intalio\tempo\xforms-
manager\SNAPSHOT\xforms-manager-SNAPSHOT.war\WEB-INF\lib\axis-
orbeon-1.2.1.jar')

1) I wish to confirm that this is the right command to use
2) should I run "buildr install " after I run the previous command
3) Where should I run these commands from?

thanks again
ilango
Where should I run this command

Nicolas Modrzyk

unread,
May 9, 2008, 2:00:38 AM5/9/08
to temp...@googlegroups.com
I would really recommend reading the great documentation that is
available on buildr.
Here's the link to the artifact section, that explains how to deal
with jar files for the project.
http://incubator.apache.org/buildr/artifacts.html

> 1) I wish to confirm that this is the right command to use

No. All the details for managing artifacts are in the link above.

> 2) should I run "buildr install " after I run the previous command
> 3) Where should I run these commands from?

Yes. In the form manager subproject:
buildr clean install

Niko,

lonetraveller

unread,
May 9, 2008, 10:41:28 AM5/9/08
to tempo-dev
After reading the documentations things are much clearer.
I wish to clarify one other thing:

Even if I do not include these artifacts in my Maven m2 repo today,
can I continue testing (for FOP capability and other issues) with my
expanded version of the xFormsManager war,
Of course the maven repo will have to be there, so that I can get use
this local repo to update my war folder in the future with the latest
jars and all that. (if my understanding is right?). I could directly
download into this local repo jar files from a remote repository, etc

But until then, I can continue to test with my newly built
xFormsManager War, right?

thanks
ilango
On May 9, 2:00 am, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> I would really recommend reading the great documentation that is
> available on buildr.
> Here's the link to the artifact section, that explains how to deal
> with jar files for the project.http://incubator.apache.org/buildr/artifacts.html

Nicolas Modrzyk

unread,
May 9, 2008, 1:31:09 PM5/9/08
to temp...@googlegroups.com
yes indeed. This is from my mail of May 5th:

"
To update orbeon within the xforms-manager, the easier for you would
be to drop all the new jar files that orbeon is using (and remove the
old ones)
"

Hope it works for you...

Niko,

lonetraveller

unread,
May 9, 2008, 9:57:57 PM5/9/08
to tempo-dev
Thanks very much.
Meanwhile I have been trying to integrate LDAP as well. I got to the
point where I have a modified ldap.properties file and a modified
securityConfig.xml.
Do you think LDAP can serve as a replacement for security.xml and the
way we are storing authentication informatiion in security.xml?
I am very new to LDAP and I have seen other references to Active
Directory/LDAP on this list but I did not quite understand
How would I be able to have a very simple LDAP configuration with
Apache DS that serves just a simple purpose?

I will read through the FAQs again and try to run through the steps
mentioned there.

thanks
ilango

On May 9, 1:31 pm, "Nicolas Modrzyk" <hellon...@gmail.com> wrote:
> yes indeed. This is from my mail of May 5th:
> "
> To update orbeon within the xforms-manager, the easier for you would
> be to drop all the new jar files that orbeon is using (and remove the
> old ones)
> "
>
> Hope it works for you...
>
> Niko,
>
> > In the > > > Niko
Reply all
Reply to author
Forward
0 new messages