Re: Dependencies question.

2004-01-03 Thread Jason van Zyl
On Sat, 2004-01-03 at 18:43, Alex Shneyderman wrote:
> I am new to maven and was going thru the User's Guide, that puzzled me a
> bit.
> I am not sure how to define dependence on a package as a whole.
> Documentation
> says that dependence element is constructed by the following pattern:
> 
> ${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}
> 
> Suppose, I am developing a project and I use hibernate to help out
> with persistence. Hibernate is versioned and has multiple jars
> in its package. Ideally I would only want to say that my project
> depends on hibernate version so and so, and not list every single
> jar of hibernate as dependence of my project. From what it looks like
> from the docs and by trying it is impossible to rely on a versioned
> package, or am I missing something? 

Maven doesn't handle transitive dependencies yet but it's planned,
currently you will have to list each of the hibernate JARs. We're aware
of the problem.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



XDoclet plugin strange behavior

2004-01-03 Thread Aleksandr Shneyderman
As you have probably noticed for the last couple of days I was 
struggling with XDoclet plugin.
What I did is I downloaded their 1.2 version, created xdoclet/jars 
directory in my local repository,
copied over the jars that come with the xdoclet. I then copied xdoclet's 
maven-plugin jar to my plugins
directory. 

I created project.xml and maven.xml (they are both pasted at the end of 
this message). The problem
I am having has something to do with the  xjavadoc dependency. Right now 
xjavadoc-1.0.2.jar is
in my ${maven.repo.local}/xdoclet/jars/ directory and when I run maven I 
am getting an error saying
that xjavadoc-1.0.2 can not be resolved. When I move the jar to 
${maven.repo.local}/xjavadoc/jars/
directory I am able to build nicely. Basically it is no big deal I just 
hate to keep xjavadoc separately
from xdoclet. Does anyone know where I might need to start looking, to 
fix this?

my project.xml

   gls-model
   1.0
   
   
   ${basedir}/src/java
   
   
   
   
   xdoclet-hibernate-module
   xdoclet
   1.2
   jar
  
   
   xdoclet
   xdoclet
   1.2
   jar
   
   
   xjavadoc
   xdoclet
   1.0.2
   jar
  
   


my maven.xml:

   
   
   



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


Dependencies question.

2004-01-03 Thread Alex Shneyderman

I am new to maven and was going thru the User's Guide, that puzzled me a
bit.
I am not sure how to define dependence on a package as a whole.
Documentation
says that dependence element is constructed by the following pattern:

${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}

Suppose, I am developing a project and I use hibernate to help out
with persistence. Hibernate is versioned and has multiple jars
in its package. Ideally I would only want to say that my project
depends on hibernate version so and so, and not list every single
jar of hibernate as dependence of my project. From what it looks like
from the docs and by trying it is impossible to rely on a versioned
package, or am I missing something? In addition what if the future
versions of hiberante will change the set of jars? It would be a real
pain to switch between versions. Some project are relased every two
weeks or so, for me this means I would have to potentially change or
at least revise my dependencies every two weeks.

If I can somehow rely on the whole package then how would I declare
the exact version of the package that I rely on, since version is
not specified on groupId (I take it as my package identifier) level
but rather on artifactId?

Your suggestions and answers would be greatly appreciated!

Thanks,
Alex.


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



Re: Extra space after links

2004-01-03 Thread Brian S O'Neill
So how do we fix this? I've seen many Maven sites that don't have the 
problem. Why not?

Steve Garcia wrote:

I don't think this is your problem - I think this is a snafu with whatever
tool is used to convert xml -> html (I think it's Anakia?).  Anyway that
pecularity happens with me too.  In fact I get random spaces throughout my
site - it's not necessarily related to the text in the anchor tag.  

If you look closely at other Maven sites too I remember seeing that
phenonemon as well.
-Original Message-
From: Brian S O'Neill
To: [EMAIL PROTECTED]
Sent: 1/2/2004 7:34 PM
Subject: Extra space after links
When I run Maven, (version 1.0 rc1) all the generated HTML links have an

extra space at the end which is underlined. When I view the HTML source,

there is a bunch of whitespace and newlines before the closing anchor 
tag. I've not seen this problem on other Maven generated sites, but some

have a stylesheet which doesn't show links as underlined. Still, when I 
view the source of those pages, the extra whitespace is not there.

What am I doing wrong to cause all this extra whitespace to be
generated?


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


 



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


RE: Extra space after links

2004-01-03 Thread Steve Garcia
I don't think this is your problem - I think this is a snafu with whatever
tool is used to convert xml -> html (I think it's Anakia?).  Anyway that
pecularity happens with me too.  In fact I get random spaces throughout my
site - it's not necessarily related to the text in the anchor tag.  

If you look closely at other Maven sites too I remember seeing that
phenonemon as well.

-Original Message-
From: Brian S O'Neill
To: [EMAIL PROTECTED]
Sent: 1/2/2004 7:34 PM
Subject: Extra space after links

When I run Maven, (version 1.0 rc1) all the generated HTML links have an

extra space at the end which is underlined. When I view the HTML source,

there is a bunch of whitespace and newlines before the closing anchor 
tag. I've not seen this problem on other Maven generated sites, but some

have a stylesheet which doesn't show links as underlined. Still, when I 
view the source of those pages, the extra whitespace is not there.

What am I doing wrong to cause all this extra whitespace to be
generated?



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



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



Re: Invoking a goal in a single subproject

2004-01-03 Thread Jefferson K. French
That does what I want in one line. Thanks, Giles.

On Sat, 03 Jan 2004, at 16:45:59 [GMT +0100] Gilles Dodinet wrote:

> Jefferson K . French wrote:

>>Is that the best way, or is there a tag akin to "attainGoal in
>>subproject".
>>

> there may be some better way but something like this works with 
> maven-1.0-rc1:

>   name="${subproject.location}/project.xml"/>
>   goals="goal1,goal2"/> 

> -- gd



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

-- 
mailto:[EMAIL PROTECTED]



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



RE: hibernate:schema-export [SOLUTION]

2004-01-03 Thread Marc Dugger
Apply patch:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPHIBERNATE-2


> -Original Message-
> From: Marc Dugger [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 03, 2004 8:46 AM
> To: [EMAIL PROTECTED]
> Subject: hibernate:schema-export
>
>
> I am receiving ClassNotFoundException's (i.e. org/dom4j/Attribute,
> net/sf/hibernate/Lifecycle, etc.) for various dependencies of the
> hibernate
> plug-in.  I've built and installed the hibernate plug-in from CVS but I
> continue to suffer at the hands of ClassNotFoundException.  Is there any
> secret tweaking that I'm not aware of?  Thanks in advance.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Invoking a goal in a single subproject

2004-01-03 Thread Gilles Dodinet
Jefferson K . French wrote:

Is that the best way, or is there a tag akin to "attainGoal in
subproject".
there may be some better way but something like this works with 
maven-1.0-rc1:


 

-- gd



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


Invoking a goal in a single subproject

2004-01-03 Thread Jefferson K . French
What is the best way to invoke a goal in a single subproject from the
parent project? What I'm doing now is creating a goal in the parent's
maven.xml that overrides maven.multiproject.includes and
maven.multiproject.excludes to only include the subproject, then I
invoke multiproject:goal.

Is that the best way, or is there a tag akin to "attainGoal in
subproject".

Thanks.

Jeff

-- 
mailto:[EMAIL PROTECTED]



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



Re: My example.jelly

2004-01-03 Thread Jefferson K. French
David, I think you want the Jelly mailing list:
http://jakarta.apache.org/commons/jelly/mail-lists.html

  Jeff

On Sat, 3 Jan 2004, at 09:45:44 [GMT -0500 (EST)] David J. Thomson
wrote:

> Here is my example.jelly that uses GridBagLayout. I spent a while on it so
> I thought I would send it.

> Another question, how do you embed an image? Is there an image tag? I
> could not find anything on this in the docs or in the archives.

> Thanks,
> Dave


-- 
mailto:[EMAIL PROTECTED]



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



hibernate:schema-export

2004-01-03 Thread Marc Dugger
I am receiving ClassNotFoundException's (i.e. org/dom4j/Attribute,
net/sf/hibernate/Lifecycle, etc.) for various dependencies of the hibernate
plug-in.  I've built and installed the hibernate plug-in from CVS but I
continue to suffer at the hands of ClassNotFoundException.  Is there any
secret tweaking that I'm not aware of?  Thanks in advance.


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



My example.jelly

2004-01-03 Thread David J. Thomson
Here is my example.jelly that uses GridBagLayout. I spent a while on it so
I thought I would send it.

Another question, how do you embed an image? Is there an image tag? I
could not find anything on this in the docs or in the archives.

Thanks,
Dave




  
Just evaluated the foo action!
  

  


The frame is closing via event: ${event}
  
  
  


  

  
clicked on the New menu item!
  


  
Popup a file dialog!
  





  
  

  
about to run the GridBagLayout demo...

  

  
  

  
about to open the Jelly script runner...

  

  
  

  
about to display the about dialog...

  

  




  
  
  
  
  






















  
Clicked on the OK 
button
  










  
  
  





  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  



  
  
  ${frame.show()}
  

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

Re: Encoding urls in navigation.xml

2004-01-03 Thread Moritz Petersen
Thank you for your reply. I didn't want to use filtering, so I created 
a raw HTML file (not xdoc) with a  tag containing 
the URL. That works for me. So, the navigation.xml references the HTML 
file.

Bye,

Moritz.



Am 02.01.2004 um 17:11 Uhr schrieb [EMAIL PROTECTED]:

hmm this sounds like
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-27
I workarounded the problem by putting some tokens in the file and 
filtering
it 



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


Re: Deploy works differently

2004-01-03 Thread dion
Ear and EJB deployment use the unfinished artifact tag library.

Jar deployment uses another working mechanism.

It should all be standardised before 1.0 release.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



"Philip Dodds" <[EMAIL PROTECTED]> wrote on 03/01/2004 
08:45:53 PM:

> Why does the deployment of a JAR seem to use an internal mechanism, 
while
> the EJB/EAR deployment mechanism uses the deploy plugin?  Is it planned 
that
> the JAR deployment will start to use the plugin in the future?
> 
> 
> 
> Cheers
> 
> 
> 
> P
> 


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



Deploy works differently

2004-01-03 Thread Philip Dodds
Why does the deployment of a JAR seem to use an internal mechanism, while
the EJB/EAR deployment mechanism uses the deploy plugin?  Is it planned that
the JAR deployment will start to use the plugin in the future?

 

Cheers

 

P



SSL username/password for repository

2004-01-03 Thread Philip Dodds
 

I haven't been able to get an SSL connection a repository working, is there
a way of supporting this functionality?  

 

Also the site.jsl for the xdoc plugin has problems referencing logo's which
are on an SSL connection as it assumes that all fully qualified address
start http://.

 

Thanks in advance

 

P