dev@javaserverfaces.java.net

RE: Container dependencies downloading

From: Anthony <info_at_aplossystems.co.uk>
Date: Mon, 1 Jul 2013 17:30:28 +0100

I have the container.home directoy set to C:\glassfish3\glassfish which just
contains the folders, bin, config, databases, docs, domains, icons, legal,
lib, modules, osgi if this is what you mean. There is an ant property
called glassfish.home which equates to the folder which I'm saying doesn't
exist which is in the {jsf.home}/dependencies/glassfish.

 

I did have a look at the lines that you were suggesting, however from
searching about it seemed that update.containers is only called from the
injectionproviders.xml which I couldn't find being called from anywhere
else. I also tried running the ant task on it's own and making sure that it
downloaded the jar but then it had issues actually unpacking the jar so I
thought that this might have been the wrong course of action. Now that
you've confirmed that this is the right place I'll spend a little more time
looking into it, maybe I need to do a separate command to 'clean main
container.test.with.refresh' to get this target called.

 

From: Manfred Riem [mailto:manfred.riem_at_oracle.com]
Sent: 01 July 2013 17:13
To: dev_at_javaserverfaces.java.net
Cc: Anthony
Subject: Re: Container dependencies downloading

 

Can you tell me what the directory contents is of the directory you have
configured as your glassfish.home?

Note line 741-759 in the dependencies.xml file where it will create the
directory you mentioned.

Hope that helps,
Manfred

On 7/1/2013 9:48 AM, Anthony wrote:

Hi Manfred,

 

Any chance you might know where, as mentioned I've already been working in
the dependencies.xml file quite a bit but I can't find where it does this,
it's not just a jar it downloads it's a whole file structure but I just
can't find out how it's doing it (or not doing it in my case J),


All the best,


Anthony.

 

From: Manfred Riem [mailto:manfred.riem_at_oracle.com]
Sent: 01 July 2013 15:27
To: dev_at_javaserverfaces.java.net
Cc: Anthony
Subject: Re: Container dependencies downloading

 

Hi Anthony,

That should be common/ant/dependencies.xml

Manfred

On 7/1/2013 9:15 AM, Anthony wrote:

Hi Manfred,

 

Could you point me in the direction of where the ant file creates and
populates the dependencies/glassfish folder so that I can debug it myself.
I've been trying to look for it but there's a lot of ant files and variables
and I haven't had any luck so far,

 

All the best,

 

Anthony.

 

From: Manfred Riem [mailto:manfred.riem_at_oracle.com]
Sent: 01 July 2013 15:10
To: dev_at_javaserverfaces.java.net
Cc: Anthony
Subject: Re: Container dependencies downloading

 

Hi Anthony,

I am afraid that I don't know how Eclipse deals with it then. Note that the
ant
build file relies on those properties so if in Eclipse they are not used
then it
could show the problem you are seeing.

Manfred