Re: JAVA_HOME not defined correctly? But it is!

2004-09-24 Thread Michael Holtermann
Hi Brett!

Brett Porter wrote:
> looks like it should work.
> Here is the segment of the script:
>...
> Can you run that on its own and check if it also fails? 
> If so, run it with set -x first and post the output.

$ mavenshort (name of the script with these lines and #!/bin/sh -x)
+ '[' -z '' ']'
+ '[' -n '' ']'
+ JAVACMD=java
+ '[' '!' -x java ']'
+ echo 'Error: JAVA_HOME is not defined correctly.'
Error: JAVA_HOME is not defined correctly.
+ echo '  We cannot execute java'
  We cannot execute java
+ exit


I read this like JAVA_HOME is not set (but it is, as I said before), and so
we are unable to execute maven.

Hrmmm, if I place absolute settings for JAVA_HOME and JAVACMD (below the
if-fi block with 'if [ -z "$JAVACMD" ] ; then' (line 120)) maven works.

I've defined JAVA_HOME in /etc/bash.bashrc, within the actual shell I can
see it with set:
$ set | grep JAVA_HOME
JAVA_HOME=/usr/lib/j2sdk1.5-sun.

I'm able to work with the workaround above, but this can't be the final
solution.

Thanks!
Greetings, Michael.


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



Re: property from .properties vs

2004-09-24 Thread Brett Porter
you'd get true for both in Maven 1.1. Dotted properties weren't
support in expressions, but I believe that they are fully now.

Cheers,
Brett


On Fri, 24 Sep 2004 12:30:02 -0700, Ben Anderson
<[EMAIL PROTECTED]> wrote:
> I'm thinking this is the desired behavior.  First of all, I think it's wrong to
> use the dot notation for the "var" attribute of  limited to o.a.c.j.e.ConstantExpression's, which is the type of any variables
> that are created from properties files.  Using
>   will create a variable of that same type
> (ConstantExpression).  While ${my.property} creates a new
> variable of type String.  So, my conclusion is that (correct me if I'm wrong)
> in order to use a property variable in an expression like
>  you must first create a variable of
> type String:
> ${my.property}
> 
> -Ben
> 
> 
> 
> Quoting Ben Anderson <[EMAIL PROTECTED]>:
> 
> > Hi,
> > I've noticed that there is a distinct difference with properties declared in
> > a
> > .properties file vs. properties set using  > the
> > desired behavior or a bug.  For instance:
> >
> > build.properties
> > 
> > my.property=myValue
> >
> > maven.xml
> > -
> > ${my.property}
> > 
> >   true
> > 
> >
> > outputs:
> > [echo] myValue
> >
> > notice that "[echo] true" is not output.
> >
> > now if I do this:
> > maven.xml
> > -
> > 
> > ${my.property}
> > 
> >   true
> > 
> >
> > outputs:
> > [echo] myValue
> > [echo] true
> >
> > Why this difference?  Am I doing something wrong?  Any thoughts?
> > Thanks,
> > Ben
> >
> >
> > -
> > 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]
> 
>

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



RE: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Arnaud HERITIER
You had the chance that I worked on it ;-)

Arnaud

> -Message d'origine-
> De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> Envoy=E9=A0: samedi 25 septembre 2004 00:26
> =C0=A0: 'Maven Users List'; 'Arnaud HERITIER'
> Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
>=20
> Hi,
> works great. Thanks for fixing it that fast.
>=20
> Filip
>=20
> > -Original Message-
> > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 24, 2004 11:54 PM
> > To: 'Maven Users List'
> > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> >
> > It's fixed.
> > I published the plugin's snapshot on this repository :
> > http://cvs.apache.org/repository/maven/plugins/
> >
> > If you can test it please.
> >
> > I'll release the plugin this WE.
> >
> > Arnaud
> >
> > > -Message d'origine-
> > > De=3DA0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > Envoy=3DE9=3DA0: vendredi 24 septembre 2004 22:39
> > > =3DC0=3DA0: 'Maven Users List'
> > > Objet=3DA0: RE: UmlGraph with javadoc (javadoc: invalid flag: =
-use)
> > >=3D20
> > > Thanks: issue opened. Could you post an email to the list after it =
is
> > > resolved?
> > >=3D20
> > > Thx, Filip
> > >=3D20
> > > > -Original Message-
> > > > From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 24, 2004 10:28 PM
> > > > To: 'Maven Users List'
> > > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > > >
> > > > http://jira.codehaus.org/browse/MPJAVADOC
> > > >
> > > > > -Original Message-
> > > > > From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 24, 2004 10:22 PM
> > > > > To: 'Maven Users List'; 'Arnaud HERITIER'
> > > > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: =
-use)
> > > > >
> > > > > Hi that would be great,
> > > > > In which component should I place the issue?
> > > > >
> > > > > Greets, Filip
> > > > >
> > > > > > -Original Message-
> > > > > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Friday, September 24, 2004 10:17 PM
> > > > > > To: 'Maven Users List'
> > > > > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: =
-use)
> > > > > >
> > > > > > I reproduced your problem.
> > > > > > Its source is that we pass the standard doclet parameters
> > > > > even if the
> > > > > > =3D3D user use another doclet.
> > > > > > Can you open an issue on Jira please ?
> > > > > > I will try to fix it for the release that we'll be donn this =
WE.
> > > > > > Thanks
> > > > > >
> > > > > > Arnaud
> > > > > >
> > > > > >
> > > > > > > -Message d'origine-
> > > > > > > De=3D3DA0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > > > > > Envoy=3D3DE9=3D3DA0: vendredi 24 septembre 2004 22:11
> > > > > > > =3D3DC0=3D3DA0: 'Maven Users List'; 'Arnaud HERITIER'
> > > > > > > Objet=3D3DA0: RE: UmlGraph with javadoc (javadoc: invalid =
flag: =3D
> > -use)
> > > > > > >=3D3D20  Hi, =3D3D20
> > > > > > > > Which J2SDK and OS do you use ?
> > > > > > >=3D3D20
> > > > > > > j2sdk1.4.2_05 on Windows XP Pro.
> > > > > > >=3D3D20
> > > > > > > Filip
> > > > > > >=3D3D20
> > > > > > >=3D3D20
> > > > > > >=3D3D20
> > > > > > >
> > > > > >
> > > > > =3D
> > =
>-
> > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
> > > > > [EMAIL PROTECTED] =3D3D20 =3D3D20
> > > > > > >=3D3D20
> > > > > =3D
> > =
#=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D=
3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D
> > =3D
> > 3D=3D3D3D=3D3D3D=3D3D3D gPopper
> > > > > > >Menu =3D3D
> > > > > > =3D
> > =
=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D=
3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D=3D
> > 3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D#
> > > > > > > Delete from Gmail inbox:   =
mailto:del|[EMAIL PROTECTED]
> > > > > > > Mark message as unread:=
mailto:unr|[EMAIL PROTECTED]
> > > > > > > Mark message as read:  =
mailto:rea|[EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > =3D
> > =
-
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > =3D
> > =
-
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > =3D
> > =
-
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >=3D20
> > >=3D20
> > >=3D20
> > > =
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMA

RE: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Filip Polsakiewicz
Hi,
works great. Thanks for fixing it that fast.

Filip

> -Original Message-
> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 24, 2004 11:54 PM
> To: 'Maven Users List'
> Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> 
> It's fixed.
> I published the plugin's snapshot on this repository :
> http://cvs.apache.org/repository/maven/plugins/
> 
> If you can test it please.
> 
> I'll release the plugin this WE.
> 
> Arnaud
> 
> > -Message d'origine-
> > De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > Envoy=E9=A0: vendredi 24 septembre 2004 22:39
> > =C0=A0: 'Maven Users List'
> > Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> >=20
> > Thanks: issue opened. Could you post an email to the list after it is
> > resolved?
> >=20
> > Thx, Filip
> >=20
> > > -Original Message-
> > > From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 24, 2004 10:28 PM
> > > To: 'Maven Users List'
> > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > >
> > > http://jira.codehaus.org/browse/MPJAVADOC
> > >
> > > > -Original Message-
> > > > From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 24, 2004 10:22 PM
> > > > To: 'Maven Users List'; 'Arnaud HERITIER'
> > > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > > >
> > > > Hi that would be great,
> > > > In which component should I place the issue?
> > > >
> > > > Greets, Filip
> > > >
> > > > > -Original Message-
> > > > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 24, 2004 10:17 PM
> > > > > To: 'Maven Users List'
> > > > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > > > >
> > > > > I reproduced your problem.
> > > > > Its source is that we pass the standard doclet parameters
> > > > even if the
> > > > > =3D user use another doclet.
> > > > > Can you open an issue on Jira please ?
> > > > > I will try to fix it for the release that we'll be donn this WE.
> > > > > Thanks
> > > > >
> > > > > Arnaud
> > > > >
> > > > >
> > > > > > -Message d'origine-
> > > > > > De=3DA0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > > > > Envoy=3DE9=3DA0: vendredi 24 septembre 2004 22:11
> > > > > > =3DC0=3DA0: 'Maven Users List'; 'Arnaud HERITIER'
> > > > > > Objet=3DA0: RE: UmlGraph with javadoc (javadoc: invalid flag: =
> -use)
> > > > > >=3D20  Hi, =3D20
> > > > > > > Which J2SDK and OS do you use ?
> > > > > >=3D20
> > > > > > j2sdk1.4.2_05 on Windows XP Pro.
> > > > > >=3D20
> > > > > > Filip
> > > > > >=3D20
> > > > > >=3D20
> > > > > >=3D20
> > > > > >
> > > > >
> > > > =
> >-
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED] =3D20 =3D20
> > > > > >=3D20
> > > > =
> #=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
> =
> 3D=3D3D=3D3D=3D3D gPopper
> > > > > >Menu =3D
> > > > > =
> =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
> 3D=3D3D=3D3D=3D3D=3D3D#
> > > > > > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > > > > > Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> > > > > > Mark message as read:  mailto:rea|[EMAIL PROTECTED]
> > > > >
> > > > >
> > > > =
> -
> > > > > 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]
> > > >
> > > >
> > > >
> > >
> > >
> > > =
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >=20
> >=20
> >=20
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >=20
> >=20
> >=20
> > #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper Menu =
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> > Mark message as read:  mailto:rea|[EMAIL PROTECTED]
> 
> -
> 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: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Arnaud HERITIER
It's fixed.
I published the plugin's snapshot on this repository :
http://cvs.apache.org/repository/maven/plugins/

If you can test it please.

I'll release the plugin this WE.

Arnaud

> -Message d'origine-
> De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> Envoy=E9=A0: vendredi 24 septembre 2004 22:39
> =C0=A0: 'Maven Users List'
> Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
>=20
> Thanks: issue opened. Could you post an email to the list after it is
> resolved?
>=20
> Thx, Filip
>=20
> > -Original Message-
> > From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 24, 2004 10:28 PM
> > To: 'Maven Users List'
> > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> >
> > http://jira.codehaus.org/browse/MPJAVADOC
> >
> > > -Original Message-
> > > From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 24, 2004 10:22 PM
> > > To: 'Maven Users List'; 'Arnaud HERITIER'
> > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > >
> > > Hi that would be great,
> > > In which component should I place the issue?
> > >
> > > Greets, Filip
> > >
> > > > -Original Message-
> > > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, September 24, 2004 10:17 PM
> > > > To: 'Maven Users List'
> > > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > > >
> > > > I reproduced your problem.
> > > > Its source is that we pass the standard doclet parameters
> > > even if the
> > > > =3D user use another doclet.
> > > > Can you open an issue on Jira please ?
> > > > I will try to fix it for the release that we'll be donn this WE.
> > > > Thanks
> > > >
> > > > Arnaud
> > > >
> > > >
> > > > > -Message d'origine-
> > > > > De=3DA0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > > > Envoy=3DE9=3DA0: vendredi 24 septembre 2004 22:11
> > > > > =3DC0=3DA0: 'Maven Users List'; 'Arnaud HERITIER'
> > > > > Objet=3DA0: RE: UmlGraph with javadoc (javadoc: invalid flag: =
-use)
> > > > >=3D20  Hi, =3D20
> > > > > > Which J2SDK and OS do you use ?
> > > > >=3D20
> > > > > j2sdk1.4.2_05 on Windows XP Pro.
> > > > >=3D20
> > > > > Filip
> > > > >=3D20
> > > > >=3D20
> > > > >=3D20
> > > > >
> > > >
> > > =
>-
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED] =3D20 =3D20
> > > > >=3D20
> > > =
#=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D3D gPopper
> > > > >Menu =3D
> > > > =
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D3D=3D3D#
> > > > > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > > > > Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> > > > > Mark message as read:  mailto:rea|[EMAIL PROTECTED]
> > > >
> > > >
> > > =
-
> > > > 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]
> > >
> > >
> > >
> >
> >
> > =
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>=20
>=20
>=20
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>=20
>=20
>=20
> #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper Menu =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> Mark message as read:  mailto:rea|[EMAIL PROTECTED]

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



RE: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Filip Polsakiewicz
Thanks: issue opened. Could you post an email to the list after it is
resolved?

Thx, Filip

> -Original Message-
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 24, 2004 10:28 PM
> To: 'Maven Users List'
> Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> 
> http://jira.codehaus.org/browse/MPJAVADOC
> 
> > -Original Message-
> > From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 24, 2004 10:22 PM
> > To: 'Maven Users List'; 'Arnaud HERITIER'
> > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> >
> > Hi that would be great,
> > In which component should I place the issue?
> >
> > Greets, Filip
> >
> > > -Original Message-
> > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, September 24, 2004 10:17 PM
> > > To: 'Maven Users List'
> > > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > >
> > > I reproduced your problem.
> > > Its source is that we pass the standard doclet parameters
> > even if the
> > > = user use another doclet.
> > > Can you open an issue on Jira please ?
> > > I will try to fix it for the release that we'll be donn this WE.
> > > Thanks
> > >
> > > Arnaud
> > >
> > >
> > > > -Message d'origine-
> > > > De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > > Envoy=E9=A0: vendredi 24 septembre 2004 22:11
> > > > =C0=A0: 'Maven Users List'; 'Arnaud HERITIER'
> > > > Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > > >=20  Hi, =20
> > > > > Which J2SDK and OS do you use ?
> > > >=20
> > > > j2sdk1.4.2_05 on Windows XP Pro.
> > > >=20
> > > > Filip
> > > >=20
> > > >=20
> > > >=20
> > > >
> > >
> > >-
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED] =20 =20
> > > >=20
> > #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper
> > > >Menu =
> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> > > > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > > > Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> > > > Mark message as read:  mailto:rea|[EMAIL PROTECTED]
> > >
> > >
> > -
> > > 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]
> >
> >
> >
> 
> 
> -
> 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: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Carlos Sanchez
http://jira.codehaus.org/browse/MPJAVADOC 

> -Original Message-
> From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 24, 2004 10:22 PM
> To: 'Maven Users List'; 'Arnaud HERITIER'
> Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> 
> Hi that would be great,
> In which component should I place the issue?
> 
> Greets, Filip
> 
> > -Original Message-
> > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 24, 2004 10:17 PM
> > To: 'Maven Users List'
> > Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> > 
> > I reproduced your problem.
> > Its source is that we pass the standard doclet parameters 
> even if the 
> > = user use another doclet.
> > Can you open an issue on Jira please ?
> > I will try to fix it for the release that we'll be donn this WE.
> > Thanks
> > 
> > Arnaud
> > 
> > 
> > > -Message d'origine-
> > > De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > > Envoy=E9=A0: vendredi 24 septembre 2004 22:11
> > > =C0=A0: 'Maven Users List'; 'Arnaud HERITIER'
> > > Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use) 
> > >=20  Hi, =20
> > > > Which J2SDK and OS do you use ?
> > >=20
> > > j2sdk1.4.2_05 on Windows XP Pro.
> > >=20
> > > Filip
> > >=20
> > >=20
> > >=20
> > > 
> > 
> >-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED] =20 =20 
> > >=20  
> #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper 
> > >Menu =
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> > > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > > Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> > > Mark message as read:  mailto:rea|[EMAIL PROTECTED]
> > 
> > 
> -
> > 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]
> 
> 
> 


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



RE: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Filip Polsakiewicz
Hi that would be great,
In which component should I place the issue?

Greets, Filip

> -Original Message-
> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 24, 2004 10:17 PM
> To: 'Maven Users List'
> Subject: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> 
> I reproduced your problem.
> Its source is that we pass the standard doclet parameters even if the =
> user use another doclet.
> Can you open an issue on Jira please ?
> I will try to fix it for the release that we'll be donn this WE.
> Thanks
> 
> Arnaud
> 
> 
> > -Message d'origine-
> > De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> > Envoy=E9=A0: vendredi 24 septembre 2004 22:11
> > =C0=A0: 'Maven Users List'; 'Arnaud HERITIER'
> > Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
> >=20
> > Hi,
> >=20
> > > Which J2SDK and OS do you use ?
> >=20
> > j2sdk1.4.2_05 on Windows XP Pro.
> >=20
> > Filip
> >=20
> >=20
> >=20
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >=20
> >=20
> >=20
> > #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper Menu =
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> > Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> > Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> > Mark message as read:  mailto:rea|[EMAIL PROTECTED]
> 
> -
> 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: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Arnaud HERITIER
I reproduced your problem.
Its source is that we pass the standard doclet parameters even if the =
user use another doclet.
Can you open an issue on Jira please ?
I will try to fix it for the release that we'll be donn this WE.
Thanks

Arnaud


> -Message d'origine-
> De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> Envoy=E9=A0: vendredi 24 septembre 2004 22:11
> =C0=A0: 'Maven Users List'; 'Arnaud HERITIER'
> Objet=A0: RE: UmlGraph with javadoc (javadoc: invalid flag: -use)
>=20
> Hi,
>=20
> > Which J2SDK and OS do you use ?
>=20
> j2sdk1.4.2_05 on Windows XP Pro.
>=20
> Filip
>=20
>=20
>=20
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>=20
>=20
>=20
> #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D gPopper Menu =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#
> Delete from Gmail inbox:   mailto:del|[EMAIL PROTECTED]
> Mark message as unread:mailto:unr|[EMAIL PROTECTED]
> Mark message as read:  mailto:rea|[EMAIL PROTECTED]

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



RE: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Filip Polsakiewicz
Hi,

> Which J2SDK and OS do you use ?

j2sdk1.4.2_05 on Windows XP Pro.

Filip



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



RE: UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Arnaud HERITIER
Which J2SDK and OS do you use ?

Arnaud

> -Message d'origine-
> De=A0: Filip Polsakiewicz [mailto:[EMAIL PROTECTED]
> Envoy=E9=A0: vendredi 24 septembre 2004 17:57
> =C0=A0: Maven Users List
> Objet=A0: UmlGraph with javadoc (javadoc: invalid flag: -use)
>=20
> Hi all,
>=20
> I have trouble using the UmlGraph doclet with maven. I have the =
following in
> my project.properties:
>=20
>=20
>=20
> # javadoc plugin
>=20
> maven.javadoc.doclet =3D UmlGraph
>=20
> maven.javadoc.docletpath =3D g:/api/javadoc/UmlGraph-2.8.jar
>=20
>=20
>=20
> when I invoke maven:javadoc I get the following:
>=20
>=20
>=20
> G:\projekte\studbuch\server>maven javadoc
>=20
>  __  __
>=20
> |  \/  |__ _Apache__ ___
>=20
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>=20
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0
>=20
>=20
>=20
> build:start:
>=20
>=20
>=20
> xdoc:init:
>=20
>=20
>=20
> maven-javadoc-plugin:report:
>=20
> [javadoc] Generating Javadoc
>=20
> [javadoc] Javadoc execution
>=20
> [javadoc] javadoc: invalid flag: -use
>=20
> [javadoc] usage: javadoc [options] [packagenames] [sourcefiles]
> [classnames] [EMAIL PROTECTED]
>=20
> [javadoc] -overview   Read overview documentation =
from
> HTML file
>=20
> [javadoc] -public   Show only public classes and =
members
>=20
> [javadoc] -protectedShow protected/public classes =
and
> members (default)
>=20
> [javadoc] -package  Show package/protected/public
> classes and members
>=20
> [javadoc] -private  Show all classes and members
>=20
> [javadoc] -help Display command line options =
and
> exit
>=20
> [javadoc] -docletGenerate output via alternate =
doclet
>=20
> [javadoc] -docletpath Specify where to find doclet =
class
> files
>=20
> [javadoc] -sourcepath Specify where to find source =
files
>=20
> [javadoc] -classpath  Specify where to find user =
class
> files
>=20
> [javadoc] -exclude Specify a list of packages to
> exclude
>=20
> [javadoc] -subpackages  Specify subpackages to =
recursively
> load
>=20
> [javadoc] -breakiteratorCompute 1st sentence with
> BreakIterator
>=20
> [javadoc] -bootclasspath  Override location of class =
files
> loaded
>=20
> [javadoc] by the bootstrap class loader
>=20
> [javadoc] -source  Provide source compatibility =
with
> specified release
>=20
> [javadoc] -extdirs Override location of installed
> extensions
>=20
> [javadoc] -verbose  Output messages about what =
Javadoc
> is doing
>=20
> [javadoc] -locale Locale to be used, e.g. en_US =
or
> en_US_WIN
>=20
> [javadoc] -encoding   Source file encoding name
>=20
> [javadoc] -J  Pass  directly to the =
runtime
> system
>=20
> [javadoc]
>=20
> [javadoc] 1 error
>=20
> [delete] Deleting directory
> G:\projekte\studbuch\server\target\javadoc\src
>=20
> BUILD SUCCESSFUL
>=20
> Total time: 4 seconds
>=20
> Finished at: Fri Sep 24 17:40:10 CEST 2004
>=20
>=20
>=20
> What am I doing wrong?
>=20
> Thanks in advance, Filip

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



Re: property from .properties vs

2004-09-24 Thread Ben Anderson
I'm thinking this is the desired behavior.  First of all, I think it's wrong to
use the dot notation for the "var" attribute of   will create a variable of that same type
(ConstantExpression).  While ${my.property} creates a new
variable of type String.  So, my conclusion is that (correct me if I'm wrong)
in order to use a property variable in an expression like
 you must first create a variable of
type String:
${my.property}

-Ben

Quoting Ben Anderson <[EMAIL PROTECTED]>:

> Hi,
> I've noticed that there is a distinct difference with properties declared in
> a
> .properties file vs. properties set using  the
> desired behavior or a bug.  For instance:
>
> build.properties
> 
> my.property=myValue
>
> maven.xml
> -
> ${my.property}
> 
>   true
> 
>
> outputs:
> [echo] myValue
>
> notice that "[echo] true" is not output.
>
> now if I do this:
> maven.xml
> -
> 
> ${my.property}
> 
>   true
> 
>
> outputs:
> [echo] myValue
> [echo] true
>
> Why this difference?  Am I doing something wrong?  Any thoughts?
> Thanks,
> Ben
>
>
> -
> 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]



property from .properties vs

2004-09-24 Thread Ben Anderson
Hi,
I've noticed that there is a distinct difference with properties declared in a
.properties file vs. properties set using ${my.property}

  true


outputs:
[echo] myValue

notice that "[echo] true" is not output.

now if I do this:
maven.xml
-

${my.property}

  true


outputs:
[echo] myValue
[echo] true

Why this difference?  Am I doing something wrong?  Any thoughts?
Thanks,
Ben


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



RE: How do I test a schema

2004-09-24 Thread Ben Anderson
Thanks for the update C.  I guess I'll go with that solution as well.

Quoting "Helck, Christopher" <[EMAIL PROTECTED]>:

> I decided to go with a Junit solution. I first tried XMLUnit (which I've
> used in the past to diff xml's -- worked like a charm), but gave up
> because it doesn't seem to support schemas and I was getting weird
> errors. Since I'm using Java 1.5 I used the javax.xml packages.
>
> I would prefer a maven based solution, but this does the trick for now.
> Here's sample code.
>
> %<--
>
> package com.foobar;
>
> import java.io.File;
>
> import javax.xml.XMLConstants;
> import javax.xml.transform.Source;
> import javax.xml.transform.stream.StreamSource;
> import javax.xml.validation.Schema;
> import javax.xml.validation.SchemaFactory;
> import javax.xml.validation.Validator;
>
> import junit.framework.Assert;
> import junit.framework.Test;
> import junit.framework.TestCase;
> import junit.framework.TestSuite;
>
> public class SchemaTest extends AbstractTestCase {
>
> public SchemaTest(String name) throws Exception {
> super(name);
> }
>
> public void testErrors() throws Exception {
> validate("xdocs/Foo.xsd", "/conf/ComplexTest.xml");
> }
>
> public void testSimple() throws Exception {
> validate("xdocs/Foo.xsd", "/conf/Simple.xml");
> }
>
> private void validate(String schemaFileName, String xmlFileName)
> throws Exception {
> Source xmlSource = new
> StreamSource(this.getClass().getResourceAsStream(xmlFileName));
>
> SchemaFactory factory =
> SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
> Schema schema = factory.newSchema(new
> File(getTestFile(schemaFileName)));
> Validator validator = schema.newValidator();
> validator.validate(xmlSource);
> }
>
> public static Test suite() {
> return new TestSuite(SchemaTest.class);
> }
>
> }
>
> %<-
>
> Regards,
> C. Helck
>
> -Original Message-
> From: Ben Anderson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 23, 2004 7:29 AM
> To: Maven Users List
> Subject: Re: How do I test a schema
>
>
> That's funny - I was trying to do this yesterday, but gave up. You'll
> need the validate plugin jar here:
> http://jakarta.apache.org/commons/jelly/libs/validate/index.html
> I'm not sure where you're supposed to stick these jars.  I put it in
> $MAVEN_HOME/lib and that worked, but it's probably supposed to go
> somewhere else.  There's also some documentation there, but no examples.
> Here's what I had thus far:
>
>   
> 
>   
>
> of course this doesn't work.  Maybe together we can figure it out. -Ben
>
> Quoting "Helck, Christopher" <[EMAIL PROTECTED]>:
>
> > I'd like to automate testing a XML schema under maven, but I don't
> > have a clue how to begin :-). I have a schema and some example XML
> > files. I'd like to validate the files against the schema. Any help is
> > appreciated.
> >
> > Thanks,
> > C. Helck
> >
> >
> >
> >
> > The information contained in this e-mail is confidential. This e-mail
> > is intended only for the stated addressee.  If you are not an
> > addressee, you must not disclose, copy, circulate or in any other way
> > use or rely on the information contained in this e-mail. if you have
> > received this e-mail in error, please inform us immediately and delete
>
> > it and all copies from your system.
> >
> > EBS Dealing Resources International Limited.  Registered address:
> > 55-56 Lincoln's Inn Fields, London WC2A 3LJ, United Kingdom.
> > Registered number 2633663.
> >
> > EBS Dealing Resources, Inc, registered in Delaware. Address: 535
> > Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper
> > Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.
> >
> > EBS Dealing Resources Japan Limited, a Japanese Corporation. Address:
> > Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo
> > 104-0033, Japan.
> >
> >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> The information contained in this e-mail is confidential. This e-mail is
> intended only for the stated addressee.  If you are not an addressee, you
> must not disclose, copy, circulate or in any other way use or rely on the
> information contained in this e-mail. if you have received this e-mail in
> error, please inform us immediately and delete it and all copies from your
> system.
>
> EBS Dealing Resources International Limited.  Registered address:  55-56
> Lincoln's Inn Fields, London WC2A 3LJ, United Kingdom. Registered number
> 2633663.
>
> EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison
> Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road,
> Building F - Floor 3, Parsippany, NJ 07054, USA.
>
> EBS Dealing Resources

RE: How do I test a schema

2004-09-24 Thread Helck, Christopher
I decided to go with a Junit solution. I first tried XMLUnit (which I've
used in the past to diff xml's -- worked like a charm), but gave up
because it doesn't seem to support schemas and I was getting weird
errors. Since I'm using Java 1.5 I used the javax.xml packages.

I would prefer a maven based solution, but this does the trick for now.
Here's sample code.

%<--

package com.foobar;

import java.io.File;

import javax.xml.XMLConstants;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
import javax.xml.validation.Validator;

import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

public class SchemaTest extends AbstractTestCase {

public SchemaTest(String name) throws Exception {
super(name);
}

public void testErrors() throws Exception {
validate("xdocs/Foo.xsd", "/conf/ComplexTest.xml");
}

public void testSimple() throws Exception {
validate("xdocs/Foo.xsd", "/conf/Simple.xml");
}

private void validate(String schemaFileName, String xmlFileName)
throws Exception {
Source xmlSource = new
StreamSource(this.getClass().getResourceAsStream(xmlFileName));

SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Schema schema = factory.newSchema(new
File(getTestFile(schemaFileName)));
Validator validator = schema.newValidator();
validator.validate(xmlSource);
}  

public static Test suite() {
return new TestSuite(SchemaTest.class);
}

}

%<-

Regards,
C. Helck

-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 7:29 AM
To: Maven Users List
Subject: Re: How do I test a schema


That's funny - I was trying to do this yesterday, but gave up. You'll
need the validate plugin jar here:
http://jakarta.apache.org/commons/jelly/libs/validate/index.html
I'm not sure where you're supposed to stick these jars.  I put it in
$MAVEN_HOME/lib and that worked, but it's probably supposed to go
somewhere else.  There's also some documentation there, but no examples.
Here's what I had thus far:

  

  

of course this doesn't work.  Maybe together we can figure it out. -Ben

Quoting "Helck, Christopher" <[EMAIL PROTECTED]>:

> I'd like to automate testing a XML schema under maven, but I don't 
> have a clue how to begin :-). I have a schema and some example XML 
> files. I'd like to validate the files against the schema. Any help is 
> appreciated.
>
> Thanks,
> C. Helck
>
>
>
>
> The information contained in this e-mail is confidential. This e-mail 
> is intended only for the stated addressee.  If you are not an 
> addressee, you must not disclose, copy, circulate or in any other way 
> use or rely on the information contained in this e-mail. if you have 
> received this e-mail in error, please inform us immediately and delete

> it and all copies from your system.
>
> EBS Dealing Resources International Limited.  Registered address:  
> 55-56 Lincoln's Inn Fields, London WC2A 3LJ, United Kingdom. 
> Registered number 2633663.
>
> EBS Dealing Resources, Inc, registered in Delaware. Address: 535 
> Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper 
> Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.
>
> EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: 
> Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 
> 104-0033, Japan.
>
>




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



The information contained in this e-mail is confidential. This e-mail is intended only 
for the stated addressee.  If you are not an addressee, you must not disclose, copy, 
circulate or in any other way use or rely on the information contained in this e-mail. 
if you have received this e-mail in error, please inform us immediately and delete it 
and all copies from your system.

EBS Dealing Resources International Limited.  Registered address:  55-56 Lincoln's Inn 
Fields, London WC2A 3LJ, United Kingdom. Registered number 2633663.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th 
Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, 
Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho 
Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.


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



Re: source directory

2004-09-24 Thread Michele_Forte
No you can't .

But you can write a pregoal of the java:compile that process some source
code normally and then append to the  maven.compile.src.set  variable
like that

  







  
  

  

Best Regards
Michele


|-+>
| |   "Ricardo de Souza|
| |   Moura"   |
| |   <[EMAIL PROTECTED]|
| |   tmail.com>   |
| ||
| ||
| |   24/09/2004 10:59 |
| |   Please respond to|
| |   "Maven Users |
| |   List"|
| ||
|-+>
  
>--|
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |To: [EMAIL PROTECTED]   
 |
  |cc: (bcc: Michele Forte/SwissRe)
  |
  |bcc:Michele Forte/SwissRe   
  |
  |Subject:source directory
  |
  
>--|




Can I have two diferentes source directory ?

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


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






This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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



Re: source directory

2004-09-24 Thread Michele_Forte
No you can't .

But you can write a pregoal of the java:compile that process some source
code normally and then append to the  maven.compile.src.set  variable
like that

  







  
  

  

Best Regards
Michele


|-+>
| |   "Ricardo de Souza|
| |   Moura"   |
| |   <[EMAIL PROTECTED]|
| |   tmail.com>   |
| ||
| ||
| |   24/09/2004 10:59 |
| |   Please respond to|
| |   "Maven Users |
| |   List"|
| ||
|-+>
  
>--|
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |To: [EMAIL PROTECTED]   
 |
  |cc: (bcc: Michele Forte/SwissRe)
  |
  |bcc:Michele Forte/SwissRe   
  |
  |Subject:source directory
  |
  
>--|




Can I have two diferentes source directory ?

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


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







This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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



UmlGraph with javadoc (javadoc: invalid flag: -use)

2004-09-24 Thread Filip Polsakiewicz
Hi all,

I have trouble using the UmlGraph doclet with maven. I have the following in
my project.properties:

 

# javadoc plugin

maven.javadoc.doclet = UmlGraph

maven.javadoc.docletpath = g:/api/javadoc/UmlGraph-2.8.jar

 

when I invoke maven:javadoc I get the following:

 

G:\projekte\studbuch\server>maven javadoc

 __  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0

 

build:start:

 

xdoc:init:

 

maven-javadoc-plugin:report:

[javadoc] Generating Javadoc

[javadoc] Javadoc execution

[javadoc] javadoc: invalid flag: -use

[javadoc] usage: javadoc [options] [packagenames] [sourcefiles]
[classnames] [EMAIL PROTECTED]

[javadoc] -overview   Read overview documentation from
HTML file

[javadoc] -public   Show only public classes and members

[javadoc] -protectedShow protected/public classes and
members (default)

[javadoc] -package  Show package/protected/public
classes and members

[javadoc] -private  Show all classes and members

[javadoc] -help Display command line options and
exit

[javadoc] -docletGenerate output via alternate doclet

[javadoc] -docletpath Specify where to find doclet class
files

[javadoc] -sourcepath Specify where to find source files

[javadoc] -classpath  Specify where to find user class
files

[javadoc] -exclude Specify a list of packages to
exclude

[javadoc] -subpackages  Specify subpackages to recursively
load

[javadoc] -breakiteratorCompute 1st sentence with
BreakIterator

[javadoc] -bootclasspath  Override location of class files
loaded

[javadoc] by the bootstrap class loader

[javadoc] -source  Provide source compatibility with
specified release

[javadoc] -extdirs Override location of installed
extensions

[javadoc] -verbose  Output messages about what Javadoc
is doing

[javadoc] -locale Locale to be used, e.g. en_US or
en_US_WIN

[javadoc] -encoding   Source file encoding name

[javadoc] -J  Pass  directly to the runtime
system

[javadoc]

[javadoc] 1 error

[delete] Deleting directory
G:\projekte\studbuch\server\target\javadoc\src

BUILD SUCCESSFUL

Total time: 4 seconds

Finished at: Fri Sep 24 17:40:10 CEST 2004

 

What am I doing wrong?

Thanks in advance, Filip



source directory

2004-09-24 Thread Ricardo de Souza Moura
Can I have two diferentes source directory ?
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Using commons-logging w/Maven/Junit

2004-09-24 Thread Maury Jarrell
Ricardo,

Here's a log4j properties file that I use:

log4j.rootLogger = info, default 

# "default" appender 
log4j.appender.default=org.apache.log4j.FileAppender 
log4j.appender.default.File=./logs/default.log 
log4j.appender.default.Append=false 
log4j.appender.default.layout=org.apache.log4j.SimpleLayout 

You will get a default.log file in the logs directory with log entries
of level info and above included in it.

I think the "category" stuff you have in yours is from an older
version of log4j.

Hope this helps,
Maury

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



AW: AW: JAVA_HOME not defined correctly? But it is!

2004-09-24 Thread Sven Hohlfeld
Hi Michael,
sorry for confusing the names... 

Well I found out that maven might have Problems with
gnome-terminal at this site 
http://csci.mrs.umn.edu/twiki/view/CSci3601f03/MakingCloverWork
...

Did you try to run the call to maven in different
shells?

Sven

> -Ursprüngliche Nachricht-
> Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Michael 
> Holtermann
> Gesendet: Freitag, 24. September 2004 10:28
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: JAVA_HOME not defined correctly? But it is!
> 
> Hi Sven!
> 
> Sven Hohlfeld wrote:
> > Hi Jeff,
> > which type of terminal are you using? gnome-terminal maybe?
> 
> I don't know, which terminal Jeff is using, but I've tried 
> this with Konsole from KDE.
> 
> Greets, Michael.
> 
> 
> -
> 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: AW: JAVA_HOME not defined correctly? But it is!

2004-09-24 Thread Michael Holtermann
Hi Sven!

Sven Hohlfeld wrote:
> Hi Jeff,
> which type of terminal are you using? gnome-terminal maybe?

I don't know, which terminal Jeff is using, but I've tried this with Konsole
from KDE.

Greets, Michael.


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