Geronimo deploy

2005-05-11 Thread GOKULAM Jayaram
 

 

Hi all,

 

I wrote up a customized script to do a deployment in Geronimo server.

 

This is how my jelly looks like





 







  

  

  

  

  

  

  

  



  

 

When I run Geronimo:deploy goal it says the following exception,

 

   [java] [ERROR] java.lang.NoSuchMethodException:
org.apache.geronimo.deployment.Deployer.main([Ljava.lang.String;)

 

 

Can any body help me out please?

 

Thanks in advance,

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



maven jboss plugin problem

2005-05-02 Thread GOKULAM Jayaram
Hi all,

I tried to deploy a war file in JBOSS app server using JBOSS
plugin version 1.5.

 

Its giving me a weird problem. It picks up the artifact from
the folder c:\Maven1.0.2\bin\target\sample.war and deploys it in the
same directory, instead of deploying it to the
c:\JBoss\server\default\deploy directory.

 

Why is this problem? How do I make it work correctly. 

 

 

Please help me out.

 

Thanks in advance,

Jayaram

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



maven scp not working

2005-05-01 Thread GOKULAM Jayaram
Hi all,

I tried using ANT's scp task. I copied the jsch.jar in to Maven's lib
and included in the load of forehead.conf.

I wrote a script 

 



 





 

 



 

 

Which throws me an error as mentioned below.

 

Any help on this is greatly appreciated.

 

Thanks,

Jayaram

 

Error:

 

 

BUILD FAILED

File.. C:\Documents and
Settings\JGokulam\.maven\cache\maven-webtest-plugin-0.1.0\plugin.je

lly

Element... taskdef

Line.. 68

Column 4

taskdef class org.apache.tools.ant.taskdefs.optional.ssh.Scp cannot be
found

Total time: 2 seconds

Finished at: Mon May 02 11:51:41 IST 2005

 

 

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



Maven fetch using -r

2005-04-28 Thread GOKULAM Jayaram
Hi all,

I want to fetch the source code by using -r in maven scm goal.

The module name alone is accepted. How do I provide the version also
with the module.

 

Thanks,

Jayaram

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: I have checkout problem with CVS

2005-04-27 Thread GOKULAM Jayaram
Vijay,

The attachment isn't clear.

Can u copy and paste ur console.

 

Regards,

Jayaram

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 27, 2005 4:31 PM
To: users@maven.apache.org
Subject: I have checkout problem with CVS

 

Hi All,

 

I have below problem in my current development , I need some clue to
solve 

The below mentioned problem ?

 

Any idea is appreciated !

 

 



 

 

 

Rgds

 

Vijay



Confidentiality Notice 

The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: how can i compile jsps

2005-04-25 Thread GOKULAM Jayaram
Hi raja,

U can look into the Tomcat plug-in available at 
http://www.codeczar.com/products/maven-tomcat-plugin/

Regards,
Jayaram



-Original Message-
From: rajas kumar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 10:17 AM
To: users@maven.apache.org
Subject: how can i compile jsps

Hai all,
 
  I need help in compiling jsps before creating war file...can any
body tell me the way how to compile.
 
 
regs,
raja.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



SCM Tagging in Maven 1.0.2

2005-04-21 Thread GOKULAM Jayaram
Hi all,

 

I would like to checkout a module with a particular version of it.

For example I want to checkout petstore version 2.0 where the CVS has
petstore of different versions.

 

 

May I know how to get this done?

 

Thanks in advance,

Jayaram

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: tomcat deployment problem

2005-04-20 Thread GOKULAM Jayaram
Sorry figured out the error.

It is working now.

Thanks,

Jayaram

 



From: GOKULAM Jayaram 
Sent: Wednesday, April 20, 2005 4:58 PM
To: 'Maven Users List'; [EMAIL PROTECTED]
Subject: tomcat deployment problem

 

Hi all,

I have set the properties for tomcat deployment as follows in my
project.properties file

maven.tomcat.host=127.0.0.1

maven.tomcat.port=8080

#maven.tomcat.username=admin

#maven.tomcat.password=admin

maven.tomcat.home=d:/Tomcat

maven.tomcat.war.context=new

 

When I call my tomcat:deploy goal, I get exceptions

 

I believe this is a problem due to the war context, so I tried applying
a forward slash which again failed, then a backward slash which also
failed. Why is not the tomcat plug-in understanding a slash?

 

 

Or am I doing something wrong.

 

Any help on this would be appreciated.

 

Thanks in advance,

Jayaram

 

 

Exception:

BUILD FAILED

File.. C:\Documents and
Settings\JGokulam\.maven\cache\maven-tomcat-plugin-1.1\plugin.jelly

 

Element... deploy

Line.. 112

Column 68

java.io.IOException: Server returned HTTP response code: 401 for URL:
http://127.0.0.1:8080/man

ager/deploy?path=new

Total time: 13 seconds

Finished at: Wed Apr 20 16:54:25 IST 2005

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



tomcat deployment problem

2005-04-20 Thread GOKULAM Jayaram
Hi all,

I have set the properties for tomcat deployment as follows in my
project.properties file

maven.tomcat.host=127.0.0.1

maven.tomcat.port=8080

#maven.tomcat.username=admin

#maven.tomcat.password=admin

maven.tomcat.home=d:/Tomcat

maven.tomcat.war.context=new

 

When I call my tomcat:deploy goal, I get exceptions

 

I believe this is a problem due to the war context, so I tried applying
a forward slash which again failed, then a backward slash which also
failed. Why is not the tomcat plug-in understanding a slash?

 

 

Or am I doing something wrong.

 

Any help on this would be appreciated.

 

Thanks in advance,

Jayaram

 

 

Exception:

BUILD FAILED

File.. C:\Documents and
Settings\JGokulam\.maven\cache\maven-tomcat-plugin-1.1\plugin.jelly

 

Element... deploy

Line.. 112

Column 68

java.io.IOException: Server returned HTTP response code: 401 for URL:
http://127.0.0.1:8080/man

ager/deploy?path=new

Total time: 13 seconds

Finished at: Wed Apr 20 16:54:25 IST 2005

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



maven 2 scm goal

2005-04-15 Thread GOKULAM Jayaram
Hi all,

 

I have declared my scm tag in my pom.xml



 
maven.scm.cvs.root=:local:/cvsnt/source







 

I am unable to find the goal to invoke the checkout process.

Please help me on how I can checkout, also I want to specify the module
name to be checked out.

 

Thanks in advance,

Jayaram



RE: maven 2 unable to start with

2005-04-15 Thread GOKULAM Jayaram
m: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:55 PM
To: Maven Users List
Subject: Re: maven 2 unable to start with

The error message written in there is:

"You must have at least one goal. Try 'install'".

Are you running this on a project, or just in a new directory?

You should read the getting started guide, which shows how to start a
new project and do a few things, step by step.

- Brett

On 4/15/05, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I downloaded the new Maven 2 alpha release and extracted it.
> 
> When I type m2 it throws me an exception, rather than showing up the
> maven logo on the console.
> 
> Help is appreciated.
> 
> Thanks,
> 
> Jayaram
> 
> Error is as below:
> 
> ---
> 
> constituent[0]:
file:/D:/maven-2.0/bin/../lib/commons-cli-1.0-beta-2.jar
> 
> constituent[1]:
> file:/D:/maven-2.0/bin/../lib/marmalade-core-1.0-alpha-2.jar
> 
> constituent[2]:
> file:/D:/maven-2.0/bin/../lib/maven-artifact-2.0-alpha-1.jar
> 
> constituent[3]:
file:/D:/maven-2.0/bin/../lib/maven-core-2.0-alpha-1.jar
> 
> constituent[4]:
> file:/D:/maven-2.0/bin/../lib/maven-model-2.0-alpha-1.jar
> 
> constituent[5]:
> file:/D:/maven-2.0/bin/../lib/maven-monitor-2.0-alpha-1.jar
> 
> constituent[6]:
> file:/D:/maven-2.0/bin/../lib/maven-plugin-2.0-alpha-1.jar
> 
> constituent[7]:
> file:/D:/maven-2.0/bin/../lib/maven-script-marmalade-2.0-alpha-1.jar
> 
> constituent[8]:
> file:/D:/maven-2.0/bin/../lib/maven-settings-2.0-alpha-1.jar
> 
> constituent[9]:
>
file:/D:/maven-2.0/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar
> 
> constituent[10]:
> file:/D:/maven-2.0/bin/../lib/plexus-i18n-1.0-beta-3.jar
> 
> constituent[11]:
> file:/D:/maven-2.0/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar
> 
> constituent[12]:
> file:/D:/maven-2.0/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar
> 
> constituent[13]:
> file:/D:/maven-2.0/bin/../lib/wagon-provider-api-1.0-alpha-2.jar
> 
> ---
> 
> org.apache.maven.reactor.ReactorException: You must specify at least
one
> goal. Try 'inst
> 
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:88)
> 
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:233)
> 
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.
> 
> )
> 
> at java.lang.reflect.Method.invoke(Method.java:324)
> 
> at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> 
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> 
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> 
> at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> 
>

-
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]



maven 2 unable to start with

2005-04-15 Thread GOKULAM Jayaram
Hi all,

I downloaded the new Maven 2 alpha release and extracted it.

 

When I type m2 it throws me an exception, rather than showing up the
maven logo on the console.

 

 

Help is appreciated.

 

Thanks,

Jayaram

 

Error is as below:

---

constituent[0]: file:/D:/maven-2.0/bin/../lib/commons-cli-1.0-beta-2.jar

constituent[1]:
file:/D:/maven-2.0/bin/../lib/marmalade-core-1.0-alpha-2.jar

constituent[2]:
file:/D:/maven-2.0/bin/../lib/maven-artifact-2.0-alpha-1.jar

constituent[3]: file:/D:/maven-2.0/bin/../lib/maven-core-2.0-alpha-1.jar

constituent[4]:
file:/D:/maven-2.0/bin/../lib/maven-model-2.0-alpha-1.jar

constituent[5]:
file:/D:/maven-2.0/bin/../lib/maven-monitor-2.0-alpha-1.jar

constituent[6]:
file:/D:/maven-2.0/bin/../lib/maven-plugin-2.0-alpha-1.jar

constituent[7]:
file:/D:/maven-2.0/bin/../lib/maven-script-marmalade-2.0-alpha-1.jar

constituent[8]:
file:/D:/maven-2.0/bin/../lib/maven-settings-2.0-alpha-1.jar

constituent[9]:
file:/D:/maven-2.0/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar

constituent[10]:
file:/D:/maven-2.0/bin/../lib/plexus-i18n-1.0-beta-3.jar

constituent[11]:
file:/D:/maven-2.0/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar

constituent[12]:
file:/D:/maven-2.0/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar

constituent[13]:
file:/D:/maven-2.0/bin/../lib/wagon-provider-api-1.0-alpha-2.jar

---

org.apache.maven.reactor.ReactorException: You must specify at least one
goal. Try 'inst

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:88)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:233)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.

)

at java.lang.reflect.Method.invoke(Method.java:324)

at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)

at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)

at org.codehaus.classworlds.Launcher.main(Launcher.java:363)



RE: ANT FTP with Maven

2005-04-01 Thread GOKULAM Jayaram
Kenney,
I want to upgrade my ant from 1.5 to 1.6, not the maven snapshot.
Can u please let me know what I should do ?

Thanks,
Jayaram



-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 4:38 PM
To: Maven Users List
Subject: RE: ANT FTP with Maven

On Fri, 1 Apr 2005, GOKULAM Jayaram wrote:

That won't work. If you want to use maven 1.1-SNAPSHOT, you'll
need to build it from source. (I couldn't find a binary distribution,
but maybe you can).

See http://maven.apache.org/developers/building-from-source.html.

But I find it rather unstable at the moment...

Greetings,

Kenney

> That's fine Kenney,
> Do I just need to add a dependency to upgrade or do I need to do some thing 
> else?
>
> I added the following in my project.xml
>   
> ant
> ant
> 1.6
> ant-1.6.jar
>   
>
> Still did not get it working
>
> May I know how you got that worked please?
>
> Thanks,
> Jayaram
>
> -Original Message-
> From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 01, 2005 3:26 PM
> To: Maven Users List
> Subject: RE: ANT FTP with Maven
>
> On Fri, 1 Apr 2005, GOKULAM Jayaram wrote:
>
> Well, I got curious and tried it out myself. It doesn't work. ;)
> Btw, your XML was invalid:
>
>  ...
>   />
>   
>
> Using ant 1.5.1, 1.5.1, including commons, I can't get it to work. Even
> the site:ftpdeploy didn't work.
>
> Using ant 1.6.2 I got it to work. So you might consider upgrading to maven
> 1.1-SNAPSHOT. Or use the ssh method.
>
> Anyway, ant 1.5 is over 2 years old, so it's about time to start using
> 1.6.2 anyway :)
>
> If anyone else got ftp to work using maven 1.0.2, I'd like to see how :)
>
> Greetings,
>
>   Kenney
>
>
> > Yes Kenney,
> >
> > I have the definition of ant,
> > This is how my plugin.jelly starts with.
> >  >xmlns:j="jelly:core"
> >xmlns:util="jelly:util"
> >xmlns:ant="jelly:ant"
> >xmlns:x="jelly:xml">
> >
> > Yes you are right I had a trial the second time after changing the 
> > directory, and have wrongly pasted it.
> >
> > Otherwise the problem is the same.
> > Can u please let me know what should be the problem.
> >
> > Thanks,
> > Jayaram
> >
> >
> > -Original Message-
> > From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 01, 2005 2:53 PM
> > To: Maven Users List
> > Subject: RE: ANT FTP with Maven
> >
> > On Fri, 1 Apr 2005, GOKULAM Jayaram wrote:
> >
> > Well.. the obvious thing could be that you did not declare the ant
> > namespace prefix. Do you have  xmlns:ant="jelly:ant" defined?
> >
> > Further, the lines printed do not match the lines in your jelly script.
> > The remotedir is not the same. Either you changed it before copying
> > to this mail or those lines are from another script...
> >
> > >
> > >
> > > Hi dudes,
> > >
> > > I have a doubt, why does maven print my ftp code on the console window?
> > >
> > > The following lines are displayed on my console
> > >  > > server="ftp.com.org" remotedir="/home/mcone/TEST">
> > >
> > >
> > > My original code in the plugin.jelly is as below,
> > >> > userid="${maven.remote.user}"
> > >   password="${maven.remote.password}"
> > >  remotedir="/tmp/TEST"
> > >  />
> > > 
> > >
> > > I believe maven did not understand my script, is it so? Can you please 
> > > help me what should be the problem?
> > >
> > > Kenney,
> > > I also googled on loading ant's ftp task, am able to find the same what I 
> > > have done. Am I missing something? If so can u please point me towards a 
> > > link.
> > >
> > > Thanks,
> > > Jayaram
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, April 01, 2005 1:24 AM
> > > To: 'Maven Users List'; 'dan tran'
> > > Subject: RE: ANT FTP with Maven
> > >
> > > It'll not help you but we have a similar problem with the site plugin : 
> > > http://

RE: ANT FTP with Maven

2005-04-01 Thread GOKULAM Jayaram
That's fine Kenney,
Do I just need to add a dependency to upgrade or do I need to do some thing 
else?

I added the following in my project.xml
  
  ant
  ant
  1.6
  ant-1.6.jar


Still did not get it working

May I know how you got that worked please?

Thanks,
Jayaram

-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 3:26 PM
To: Maven Users List
Subject: RE: ANT FTP with Maven

On Fri, 1 Apr 2005, GOKULAM Jayaram wrote:

Well, I got curious and tried it out myself. It doesn't work. ;)
Btw, your XML was invalid:




Using ant 1.5.1, 1.5.1, including commons, I can't get it to work. Even
the site:ftpdeploy didn't work.

Using ant 1.6.2 I got it to work. So you might consider upgrading to maven
1.1-SNAPSHOT. Or use the ssh method.

Anyway, ant 1.5 is over 2 years old, so it's about time to start using
1.6.2 anyway :)

If anyone else got ftp to work using maven 1.0.2, I'd like to see how :)

Greetings,

Kenney


> Yes Kenney,
>
> I have the definition of ant,
> This is how my plugin.jelly starts with.
> xmlns:j="jelly:core"
>xmlns:util="jelly:util"
>xmlns:ant="jelly:ant"
>xmlns:x="jelly:xml">
>
> Yes you are right I had a trial the second time after changing the directory, 
> and have wrongly pasted it.
>
> Otherwise the problem is the same.
> Can u please let me know what should be the problem.
>
> Thanks,
> Jayaram
>
>
> -Original Message-
> From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 01, 2005 2:53 PM
> To: Maven Users List
> Subject: RE: ANT FTP with Maven
>
> On Fri, 1 Apr 2005, GOKULAM Jayaram wrote:
>
> Well.. the obvious thing could be that you did not declare the ant
> namespace prefix. Do you have  xmlns:ant="jelly:ant" defined?
>
> Further, the lines printed do not match the lines in your jelly script.
> The remotedir is not the same. Either you changed it before copying
> to this mail or those lines are from another script...
>
> >
> >
> > Hi dudes,
> >
> > I have a doubt, why does maven print my ftp code on the console window?
> >
> > The following lines are displayed on my console
> >  > remotedir="/home/mcone/TEST">
> >
> >
> > My original code in the plugin.jelly is as below,
> >> userid="${maven.remote.user}"
> > password="${maven.remote.password}"
> >remotedir="/tmp/TEST"
> >  />
> > 
> >
> > I believe maven did not understand my script, is it so? Can you please help 
> > me what should be the problem?
> >
> > Kenney,
> > I also googled on loading ant's ftp task, am able to find the same what I 
> > have done. Am I missing something? If so can u please point me towards a 
> > link.
> >
> > Thanks,
> > Jayaram
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -Original Message-
> > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 01, 2005 1:24 AM
> > To: 'Maven Users List'; 'dan tran'
> > Subject: RE: ANT FTP with Maven
> >
> > It'll not help you but we have a similar problem with the site plugin : 
> > http://jira.codehaus.org/browse/MPSITE-22
> >
> > # Arnaud :-(
> >
> >
> > > -Message d'origine-
> > > De : dan tran [mailto:[EMAIL PROTECTED]
> > > Envoyé : jeudi 31 mars 2005 16:15
> > > À : Maven Users List
> > > Objet : Re: ANT FTP with Maven
> > >
> > > Did you load the ftp's ant task?  if you dont, it will not
> > > work inside maven.
> > > Check out the archive for instructions on how to load it
> > >
> > > -D
> > >
> > > On Mar 31, 2005 5:41 AM, GOKULAM Jayaram
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi Kenney,
> > > >
> > > > I tried the whole day, in repeating the same from my
> > > windows machine
> > > > using, an absolute path and to create a directory in the
> > > linux machine.
> > > > I was unsuccessful.
> > > >
> > > > I tried with in stalling FTP clients on my windows machine,
> > > >
> > > > Then adding the following jars in the Project.xml
> > > dependencies after
> > > > having placed them in my local repository NetComponents.jar
> > > > commons-net-1.3.0.jar j

RE: ANT FTP with Maven

2005-04-01 Thread GOKULAM Jayaram
Yes Kenney,

I have the definition of ant,
This is how my plugin.jelly starts with.


Yes you are right I had a trial the second time after changing the directory, 
and have wrongly pasted it.

Otherwise the problem is the same.
Can u please let me know what should be the problem.

Thanks,
Jayaram


-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 2:53 PM
To: Maven Users List
Subject: RE: ANT FTP with Maven

On Fri, 1 Apr 2005, GOKULAM Jayaram wrote:

Well.. the obvious thing could be that you did not declare the ant
namespace prefix. Do you have  xmlns:ant="jelly:ant" defined?

Further, the lines printed do not match the lines in your jelly script.
The remotedir is not the same. Either you changed it before copying
to this mail or those lines are from another script...

>
>
> Hi dudes,
>
> I have a doubt, why does maven print my ftp code on the console window?
>
> The following lines are displayed on my console
>  remotedir="/home/mcone/TEST">
>
>
> My original code in the plugin.jelly is as below,
>userid="${maven.remote.user}"
>   password="${maven.remote.password}"
>  remotedir="/tmp/TEST"
>  />
> 
>
> I believe maven did not understand my script, is it so? Can you please help 
> me what should be the problem?
>
> Kenney,
> I also googled on loading ant's ftp task, am able to find the same what I 
> have done. Am I missing something? If so can u please point me towards a link.
>
> Thanks,
> Jayaram
>
>
>
>
>
>
>
>
>
> -Original Message-
> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 01, 2005 1:24 AM
> To: 'Maven Users List'; 'dan tran'
> Subject: RE: ANT FTP with Maven
>
> It'll not help you but we have a similar problem with the site plugin : 
> http://jira.codehaus.org/browse/MPSITE-22
>
> # Arnaud :-(
>
>
> > -Message d'origine-
> > De : dan tran [mailto:[EMAIL PROTECTED]
> > Envoyé : jeudi 31 mars 2005 16:15
> > À : Maven Users List
> > Objet : Re: ANT FTP with Maven
> >
> > Did you load the ftp's ant task?  if you dont, it will not
> > work inside maven.
> > Check out the archive for instructions on how to load it
> >
> > -D
> >
> > On Mar 31, 2005 5:41 AM, GOKULAM Jayaram
> > <[EMAIL PROTECTED]> wrote:
> > > Hi Kenney,
> > >
> > > I tried the whole day, in repeating the same from my
> > windows machine
> > > using, an absolute path and to create a directory in the
> > linux machine.
> > > I was unsuccessful.
> > >
> > > I tried with in stalling FTP clients on my windows machine,
> > >
> > > Then adding the following jars in the Project.xml
> > dependencies after
> > > having placed them in my local repository NetComponents.jar
> > > commons-net-1.3.0.jar jakarta-oro-2.0.8.jar
> > >
> > > Still I don't seem to get the FTP mkdir working.
> > >
> > > Please guide me to make this work.
> > >
> > > Thanks in advance,
> > > Jayaram
> > >
> > > -Original Message-
> > > From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 30, 2005 8:40 PM
> > > To: Maven Users List
> > > Cc: [EMAIL PROTECTED]
> > > Subject: RE: ANT FTP with Maven
> > >
> > > On Wed, 30 Mar 2005, GOKULAM Jayaram wrote:
> > >
> > > > Hi kenney,
> > > >
> > > > I referred the manual of ANT
> > > >
> > > > http://ant.apache.org/manual/OptionalTasks/ftp.html
> > > >
> > > > Which says that create directory will create a remote directory
> > > beneath
> > > > the default root directory.
> > > >
> > > > Can you please let me know, which is the default root
> > directory in
> > > > linux?
> > > > I believe it is /root, if that's the case, my FTP mkdir
> > still does
> > > > not work.
> > >
> > > The ant manual is wrong - the name should be 'default home
> > directory'.
> > > At least, if you log in as a normal user. Then you can
> > wander all over
> > > the entire filesystem. If you use an anonymous account, you
> > can only
> > > see a part of the filesystem.
> > >
> > > If you'd try this:
> > >
> > >> >   userid="${maven.remote.user}"
> > password="${maven.remote.passw

RE: ANT FTP with Maven

2005-04-01 Thread GOKULAM Jayaram


Hi dudes,

I have a doubt, why does maven print my ftp code on the console window?

The following lines are displayed on my console



My original code in the plugin.jelly is as below,
  


I believe maven did not understand my script, is it so? Can you please help me 
what should be the problem?

Kenney,
I also googled on loading ant's ftp task, am able to find the same what I have 
done. Am I missing something? If so can u please point me towards a link.

Thanks,
Jayaram









-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 1:24 AM
To: 'Maven Users List'; 'dan tran'
Subject: RE: ANT FTP with Maven

It'll not help you but we have a similar problem with the site plugin : 
http://jira.codehaus.org/browse/MPSITE-22

# Arnaud :-(
 

> -Message d'origine-
> De : dan tran [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 31 mars 2005 16:15
> À : Maven Users List
> Objet : Re: ANT FTP with Maven
> 
> Did you load the ftp's ant task?  if you dont, it will not 
> work inside maven.
> Check out the archive for instructions on how to load it
> 
> -D
> 
> On Mar 31, 2005 5:41 AM, GOKULAM Jayaram 
> <[EMAIL PROTECTED]> wrote:
> > Hi Kenney,
> > 
> > I tried the whole day, in repeating the same from my 
> windows machine 
> > using, an absolute path and to create a directory in the 
> linux machine.
> > I was unsuccessful.
> > 
> > I tried with in stalling FTP clients on my windows machine,
> > 
> > Then adding the following jars in the Project.xml 
> dependencies after 
> > having placed them in my local repository NetComponents.jar 
> > commons-net-1.3.0.jar jakarta-oro-2.0.8.jar
> > 
> > Still I don't seem to get the FTP mkdir working.
> > 
> > Please guide me to make this work.
> > 
> > Thanks in advance,
> > Jayaram
> > 
> > -Original Message-
> > From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 30, 2005 8:40 PM
> > To: Maven Users List
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: ANT FTP with Maven
> > 
> > On Wed, 30 Mar 2005, GOKULAM Jayaram wrote:
> > 
> > > Hi kenney,
> > >
> > > I referred the manual of ANT
> > >
> > > http://ant.apache.org/manual/OptionalTasks/ftp.html
> > >
> > > Which says that create directory will create a remote directory
> > beneath
> > > the default root directory.
> > >
> > > Can you please let me know, which is the default root 
> directory in 
> > > linux?
> > > I believe it is /root, if that's the case, my FTP mkdir 
> still does 
> > > not work.
> > 
> > The ant manual is wrong - the name should be 'default home 
> directory'.
> > At least, if you log in as a normal user. Then you can 
> wander all over 
> > the entire filesystem. If you use an anonymous account, you 
> can only 
> > see a part of the filesystem.
> > 
> > If you'd try this:
> > 
> >>   userid="${maven.remote.user}" 
> password="${maven.remote.password}"
> >   remotedir="/tmp/TEST"
> >/>
> > 
> > then the directory /tmp/TEST should be created.
> > 
> > > What should be the problem?
> > 
> > My guess is that you work on a windows machine, and 
> ${maven.build.dir} 
> > is something like
> > 
> > C:\Documents\ And\ Settings\YourUserName\Desktop\Work\YourProject
> > 
> > which is not a valid unix path.
> > 
> > You should have a path like
> > 
> >/path/to/directory/you/want/to/create
> > 
> > for an absolute path, or
> > 
> >directory/in/your/home/directory .
> > 
> > Usually the ftp task is used for publishing websites and artifacts.
> > (see maven-jar-plugin et.al.)
> > You can test this all out using ${maven.build.dir} and 
> > trying to create that directory by hand using the windows 
> ftp client.
> > But that's probably not the directory you want to create.
> > 
> > O, and about your signature: ofcourse, I understand it's 
> something you 
> > cannot change - just wanted to point out that that policy makes no 
> > sense when you send mail to an archived list ;)
> > 
> > Greetings,
> > 
> >Kenney Westerhof
> > 
> > >
> > > Thanks in advance,
> > > Jayaram
> > >
> > > -Original Message-
> > > From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> > > Sent: Wednes

RE: ANT FTP with Maven

2005-03-31 Thread GOKULAM Jayaram
Hi Kenney,

I tried the whole day, in repeating the same from my windows machine
using, an absolute path and to create a directory in the linux machine.
I was unsuccessful. 

I tried with in stalling FTP clients on my windows machine, 

Then adding the following jars in the Project.xml dependencies after
having placed them in my local repository
NetComponents.jar
commons-net-1.3.0.jar
jakarta-oro-2.0.8.jar


Still I don't seem to get the FTP mkdir working.

Please guide me to make this work.

Thanks in advance,
Jayaram


-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 30, 2005 8:40 PM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: RE: ANT FTP with Maven

On Wed, 30 Mar 2005, GOKULAM Jayaram wrote:

> Hi kenney,
>
> I referred the manual of ANT
>
> http://ant.apache.org/manual/OptionalTasks/ftp.html
>
> Which says that create directory will create a remote directory
beneath
> the default root directory.
>
> Can you please let me know, which is the default root directory in
> linux?
> I believe it is /root, if that's the case, my FTP mkdir still does not
> work.

The ant manual is wrong - the name should be 'default home directory'.
At least, if you log in as a normal user. Then you can wander all over
the entire filesystem. If you use an anonymous account, you can only
see a part of the filesystem.

If you'd try this:

   

then the directory /tmp/TEST should be created.

> What should be the problem?

My guess is that you work on a windows machine, and ${maven.build.dir}
is something like

 C:\Documents\ And\ Settings\YourUserName\Desktop\Work\YourProject

which is not a valid unix path.

You should have a path like

/path/to/directory/you/want/to/create

for an absolute path, or

directory/in/your/home/directory
.

Usually the ftp task is used for publishing websites and artifacts.
(see maven-jar-plugin et.al.)
You can test this all out using ${maven.build.dir}
and trying to create that directory by hand using the windows ftp
client.
But that's probably not the directory you want to create.

O, and about your signature: ofcourse, I understand it's something you
cannot change - just wanted to point out that that policy makes no sense
when you send mail to an archived list ;)

Greetings,

Kenney Westerhof


>
> Thanks in advance,
> Jayaram
>
> -Original Message-
> From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 30, 2005 6:15 PM
> To: Maven Users List
> Cc: [EMAIL PROTECTED]
> Subject: Re: ANT FTP with Maven
>
> On Wed, 30 Mar 2005, GOKULAM Jayaram wrote:
>
> Hi,
>
> first of all: you might consider leaving the confidentiality footer
out,
> since this email is addressed to a list, not a person, and is readable
> by the whole world :)
>
> As you can read in http://ant.apache.org/manual/OptionalTasks/ftp.html
> nested fileset attributes are ignored in the ftp task. Instead
> it wil mkdir the ${maven.remote.dir}, but that probably already
exists,
> so nothing is printed/done.
>
> - Kenney
>
> > Hi all,
> >
> > Am trying to connect to FTP server of windows to linux, using a
> ant:ftp
> > from Maven.
> >
> >
> >
> > When I run the above goal, it just displays the task on the console,
> and
> > it is not creating a directory as I wanted to.
> >
> > 
> >
> >
> >   
> >
> >   
> >
> > 
> >
> >
> >
> >
> >
> > Any help on the above issue would be great.
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> > Jayaram
> >
> > Confidentiality Statement:
> >
> > This message is intended only for the individual or entity to which
it
> is addressed. It may contain privileged, confidential information
which
> is exempt from disclosure under applicable laws. If you are not the
> intended recipient, please note that you are strictly prohibited from
> disseminating or distributing this information (other than to the
> intended recipient) or copying this information. If you have received
> this communication in error, please notify us immediately by return
> email.
> >
> >
>
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Confidentiality Statement:
>
> This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure

RE: ANT FTP with Maven

2005-03-30 Thread GOKULAM Jayaram
Hi kenney,

I referred the manual of ANT 

http://ant.apache.org/manual/OptionalTasks/ftp.html

Which says that create directory will create a remote directory beneath
the default root directory.

Can you please let me know, which is the default root directory in
linux?
I believe it is /root, if that's the case, my FTP mkdir still does not
work.

What should be the problem?

Thanks in advance,
Jayaram

-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 30, 2005 6:15 PM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: ANT FTP with Maven

On Wed, 30 Mar 2005, GOKULAM Jayaram wrote:

Hi,

first of all: you might consider leaving the confidentiality footer out,
since this email is addressed to a list, not a person, and is readable
by the whole world :)

As you can read in http://ant.apache.org/manual/OptionalTasks/ftp.html
nested fileset attributes are ignored in the ftp task. Instead
it wil mkdir the ${maven.remote.dir}, but that probably already exists,
so nothing is printed/done.

- Kenney

> Hi all,
>
> Am trying to connect to FTP server of windows to linux, using a
ant:ftp
> from Maven.
>
>
>
> When I run the above goal, it just displays the task on the console,
and
> it is not creating a directory as I wanted to.
>
> 
>
>  userid="${maven.remote.user}" password="${maven.remote.password}"
> remotedir="${maven.remote.dir}">
>
>   
>
>   
>
> 
>
>
>
>
>
> Any help on the above issue would be great.
>
>
>
> Thanks in advance.
>
>
>
> Jayaram
>
> Confidentiality Statement:
>
> This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure under applicable laws. If you are not the
intended recipient, please note that you are strictly prohibited from
disseminating or distributing this information (other than to the
intended recipient) or copying this information. If you have received
this communication in error, please notify us immediately by return
email.
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



RE: ANT FTP with Maven

2005-03-30 Thread GOKULAM Jayaram
Hi Kenney,

Thanks for the info. Please do not mistake me, am sending mails from my
official id, where I do not have the control to delete the mail footer,
which gets appended from my mail server.

Thanks for understanding,
Jayaram

-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 30, 2005 6:15 PM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: ANT FTP with Maven

On Wed, 30 Mar 2005, GOKULAM Jayaram wrote:

Hi,

first of all: you might consider leaving the confidentiality footer out,
since this email is addressed to a list, not a person, and is readable
by the whole world :)

As you can read in http://ant.apache.org/manual/OptionalTasks/ftp.html
nested fileset attributes are ignored in the ftp task. Instead
it wil mkdir the ${maven.remote.dir}, but that probably already exists,
so nothing is printed/done.

- Kenney

> Hi all,
>
> Am trying to connect to FTP server of windows to linux, using a
ant:ftp
> from Maven.
>
>
>
> When I run the above goal, it just displays the task on the console,
and
> it is not creating a directory as I wanted to.
>
> 
>
>  userid="${maven.remote.user}" password="${maven.remote.password}"
> remotedir="${maven.remote.dir}">
>
>   
>
>   
>
> 
>
>
>
>
>
> Any help on the above issue would be great.
>
>
>
> Thanks in advance.
>
>
>
> Jayaram
>
> Confidentiality Statement:
>
> This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure under applicable laws. If you are not the
intended recipient, please note that you are strictly prohibited from
disseminating or distributing this information (other than to the
intended recipient) or copying this information. If you have received
this communication in error, please notify us immediately by return
email.
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



ANT FTP with Maven

2005-03-30 Thread GOKULAM Jayaram
Hi all,

Am trying to connect to FTP server of windows to linux, using a ant:ftp
from Maven.

 

When I run the above goal, it just displays the task on the console, and
it is not creating a directory as I wanted to.





  

  



 

 

Any help on the above issue would be great.

 

Thanks in advance.

 

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: warning: last-modified not specified

2005-03-30 Thread GOKULAM Jayaram
Hi Andrei,
Where did you keep the jars?

You should keep the jars as described in the below structure
User.home\.maven\repository\Groupidname(folder)\jars(folder)\ur .jar 

Also you need to add the dependency in your Project.xml file.

Regards
Jayaram

-Original Message-
From: Andrei Szabo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 30, 2005 3:18 PM
To: users@maven.apache.org
Subject: warning: last-modified not specified


 Hi all,

I've set up a repository where I keep jars that are
not on ibiblio. The problem, well not really a
problem, but it annoys me, is that when maven
downloads these jars it complains w/ something along
the lines:
 
Attempting to download toplink-1.0.jar.
warning: last-modified not specified
42K downloaded.

Jars from ibiblio are downloaded without these
warnings.
Any ideas on how to get rid of the warnings?

Andrei



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



maven repository in linux or unix

2005-03-29 Thread GOKULAM Jayaram
Hi all,

In windows the repository and the plug-in cache is in,

C:\Documents and Settings\Username\.maven

 

May I know where this .maven repository and cache is available in Linux
and Unix.

 

 

Thanks in advance,

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: Error while running maven

2005-03-29 Thread GOKULAM Jayaram
Dinesh,
It is specific to your application, which is asking for a classpath to
be set or even a dependent jar is missing. Please check on that.

Regards,
Jayaram

-Original Message-
From: Dinesh Pandey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 3:46 PM
To: 'users@maven.apache.org'
Subject: Error while running maven

Hi,

I am getting the following error when I try to call any maven plugin
(e.g
maven java:compile).
Could someone please help in resolving this?



___

[MethodExpression] Cannot evaluate expression
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.betwixt.expression.MethodExpression.evaluate(Metho
dExpression.java:96)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(Abstrac
tBeanWriter.java:658)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(A
bstractBeanWriter.java:539)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:481)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(Abstrac
tBeanWriter.java:643)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(A
bstractBeanWriter.java:539)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:513)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:233)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(Abstrac
tBeanWriter.java:630)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(A
bstractBeanWriter.java:539)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:513)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:233)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:162)
at
org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:217)
at
org.apache.maven.MavenUtils.getProjectString(MavenUtils.java:432)
at
org.apache.maven.MavenUtils.getInterpolatedPOM(MavenUtils.java:383)
at
org.apache.maven.MavenUtils.getJellyProject(MavenUtils.java:360)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:232)
at
org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalArgumentException: repository connection
must
start
with scm[delim]
at
org.apache.maven.project.Repository.splitSCMConnection(Repository.jav
a:244)
at
org.apache.maven.project.Repository.getCvsModule(Repository.java:216)

at
org.apache.maven.project.Repository.getCvsModule(Repository.java:144)

... 33 more
[MethodExpression] Cannot evaluate expression
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.betwixt.expression.MethodExpression.evaluate(Metho
dExpression.java:96)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(Abstrac
tBeanWriter.java:658)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(A
bstractBeanWriter.java:539)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:481)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(Abstrac
tBeanWriter.java:643)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(A
bstractBeanWriter.java:539)
at
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWr
iter.java:513)
at
org.apa

FW: [Maven-plugins-user] CVS remote repository issues

2005-03-28 Thread GOKULAM Jayaram


-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 9:30 AM
To: GOKULAM Jayaram
Subject: Re: [Maven-plugins-user] CVS remote repository issues

This really should be posted to users@maven.apache.org


On Tue, 29 Mar 2005 08:18:31 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Hi All, 
> 
>   
> 
> I am trying to fetch source code from a remote repository. It isn't
working
> which reports the following errors. 
> 
>   
> 
> I can understand that this is a CVS problem, but may I know how to
resolve
> this issue please. 
> 
>   
> 
>   
> 
> Thanks in advance, 
> 
> Jayaram 
> 
>   
> 
> Error Reported 
> 
> D:\Maven\bin>maven fetch 
> 
>  __  __ 
> 
> |  \/  |__ _Apache__ ___ 
> 
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~ 
> 
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 
> 
>   
> 
> build:start: 
> 
>   
> 
> scm:cvs-checkout-project: 
> 
> [echo] Checking out tlj; from CVSROOT:
> :pserver:[EMAIL PROTECTED]:/cvsnt/source 
> 
> [mkdir] Created dir: D:\Maven\bin\target\checkouts\tlj 
> 
> [cvs] cvs [checkout aborted]: connect to 10.3.106.40:2401 failed:
A
> connection attempt failed because the connected party did not properly
> respond after a period of time, or established connection failed
because
> connected host has failed to respond. 
> 
>   
> 
> BUILD FAILED 
> 
> File.. C:\Documents and
> Settings\ssitaraman\.maven\cache\maven-scm-plugin-1.4.1\plugin.jelly 
> 
> Element... ant:cvs 
> 
> Line.. 245 
> 
> Column 9 
> 
> cvs exited with error code 1 
> 
> Command line was [Executing 'cvs' with arguments: 
> 
> '-d:pserver:[EMAIL PROTECTED]:/cvsnt/source' 
> 
> '-q' 
> 
> 'checkout' 
> 
> '-P' 
> 
> 'tlj' 
> 
>   
> 
> The ' characters around the executable and arguments are 
> 
> not part of the command. 
> 
> ] 
> 
> Total time: 23 seconds 
> 
> Finished at: Tue Mar 29 08:15:46 GMT+05:30 2005 
> 
>   Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it
is
> addressed. It may contain privileged, confidential information which
is
> exempt from disclosure under applicable laws. If you are not the
intended
> recipient, please note that you are strictly prohibited from
disseminating
> or distributing this information (other than to the intended
recipient) or
> copying this information. If you have received this communication in
error,
> please notify us immediately by return email.
>  


-- 
http://www.multitask.com.au/people/dion/
Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



RE: remote copy

2005-03-28 Thread GOKULAM Jayaram

Hi Dan,
Yes am able to copy a file by accessing the machine directly.
It fails only when I execute maven.

Thanks,
Jayaram

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:41 PM
To: Maven Users List
Subject: Re: remote copy

do you have permission to create directory/file on remote machine?

are you able to issue direct copy using os specific command?

-D


On Mon, 28 Mar 2005 15:42:30 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> Am trying to copy files from local machine to remote machine using
> maven. But I am unable to create a directory or copy files.
> 
> Am using ant:copy task which fails.
> 
> Any suggestions?
> 
> Thanks in advance,
> 
> Jayaram
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure under applicable laws. If you are not the
intended recipient, please note that you are strictly prohibited from
disseminating or distributing this information (other than to the
intended recipient) or copying this information. If you have received
this communication in error, please notify us immediately by return
email.
> 
>

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



remote copy

2005-03-28 Thread GOKULAM Jayaram
Hi all,

Am trying to copy files from local machine to remote machine using
maven. But I am unable to create a directory or copy files.

Am using ant:copy task which fails.

 

Any suggestions?

 

Thanks in advance,

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: ear file to include jar and war

2005-03-27 Thread GOKULAM Jayaram
Hi Dan Tran,

Thanks for your suggestions, If I follow your suggestion, I need to put
the Jar and war files manually in the 
C:\Documents and Settings\Username\.maven\repository folder.

I do not want this jar & war files to be manually placed.
I want these files to be included in the ear file without this manual
dropping.
Is there a way to do this?

Expecting your guidance on this.

Thanks in advance,
Jayaram

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 26, 2005 11:48 PM
To: Maven Users List
Subject: Re: ear file to include jar and war

I think your ear's project.xml is  missing the ear.bundle properties
in dependencies listing of
your ear project.

some thing like this

  


  ${pom.groupId}
  bookstore-common
  ${pom.currentVersion}
  
 true
  




  ${pom.groupId}
  bookstore-ejb
  ${pom.currentVersion}
  ejb
  
 true
 true
  




  ${pom.groupId}
  bookstore-webapp
  ${pom.currentVersion}
  war
  
true
 
bookstore
  



  

Check out ear plugin for more detail.

-D


On Sat, 26 Mar 2005 17:31:08 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I used the ear plug-in to generate the ear file, but it does not
include
> the ear and war file by default. IT just holds the META-INF and
> application.xml file.
> 
> I want the ear file to include the generated jar and war files, how
> should I do this?
> 
> Thanks for your help in advance,
> 
> Jayaram
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure under applicable laws. If you are not the
intended recipient, please note that you are strictly prohibited from
disseminating or distributing this information (other than to the
intended recipient) or copying this information. If you have received
this communication in error, please notify us immediately by return
email.
> 
>

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



ear file to include jar and war

2005-03-26 Thread GOKULAM Jayaram
Hi all,

I used the ear plug-in to generate the ear file, but it does not include
the ear and war file by default. IT just holds the META-INF and
application.xml file.

I want the ear file to include the generated jar and war files, how
should I do this?

 

Thanks for your help in advance,

 

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



JAVA compile fails the first time

2005-03-25 Thread GOKULAM Jayaram
Hi all,

Immediately after checkout of files from the repository, JAVA:Compile
goal does not work.

Is there a way I can invoke all of the goals one by one to execute in a
sequence?

Please help me in this regards,

 

Thanks in advance,

Jayaram

 

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: sequence of prereqs in maven.xml file

2005-03-25 Thread GOKULAM Jayaram
Hi Brett,
Thanks for your suggestion. But I don't want my project to only work
with CVS, I want it to work with Subversion also.
Hence I can't use
maven.scm.cvs.module, and boot strap.

Is there any other way to achieve this.

Thanks in advance,
Jayaram

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 25, 2005 12:04 PM
To: Maven Users List
Subject: Re: sequence of prereqs in maven.xml file

java:compile relies on some variables being set which are done when
the project is initialised. If your source is not there when you first
run the project, it will think there is none and will not attempt to
compile.

It is recommended that you check out whole projects, not just portions
of them. You might like to create a "bootstrap" project that will do
that checkout and run the desired goals (or use the
scm:bootstrap-project goals).

- Brett


On Fri, 25 Mar 2005 10:42:19 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have been trying to keep my maven.xml file in the following manner.
> 
>  xmlns:ant="jelly:ant" >
> 
>  prereqs="scm:cvs-checkout-project,java:compile,dashboard:report,xdoc">
> 
> 
> 
> 
> 
> But am getting a weird error, First time after checkout the source
code
> is not being compiled.
> 
> The second time it gets compiled propertly.
> 
> Is my maven.xml definition correct or please guide me how I should
> define the commands so that, they execute one after the other in a
> sequence.
> 
> Expecting help on this.
> 
> Thanks in advance,
> 
> Jayaram
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure under applicable laws. If you are not the
intended recipient, please note that you are strictly prohibited from
disseminating or distributing this information (other than to the
intended recipient) or copying this information. If you have received
this communication in error, please notify us immediately by return
email.
> 
>

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



sequence of prereqs in maven.xml file

2005-03-24 Thread GOKULAM Jayaram
Hi,

I have been trying to keep my maven.xml file in the following manner.

 



 





 

But am getting a weird error, First time after checkout the source code
is not being compiled.

The second time it gets compiled propertly.

 

Is my maven.xml definition correct or please guide me how I should
define the commands so that, they execute one after the other in a
sequence.

 

Expecting help on this.

 

Thanks in advance,

Jayaram

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: Log file creation

2005-03-24 Thread GOKULAM Jayaram
Thanks Deblauwe. But am calling java:compile from within maven.xml file.

My maven.xml file looks like





Which invokes the java:compile goal.

Is there anyother way to do this please?

Thanks in advance,
Jayaram
-Original Message-
From: Deblauwe, Wim [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 24, 2005 3:40 PM
To: 'Maven Users List'
Subject: RE: Log file creation

redirect the output to a file:

maven jar:compile > debug.txt

if you need to catch the stderr output as well:

maven jar:compile > debug.txt 2>&1

regards,

Wim
P.S.: This is on Windows ofcourse

-Original Message-
From: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Sent: donderdag 24 maart 2005 11:07
To: Maven Users List
Subject: Log file creation


Hi all,
I am trying to create a log file when a java compile fails, or when a
deployment fails and so on. Can anybody help me how I should achieve
this please.
 
Thanks in advance,
Jayaram
 
Confidentiality Statement:
This message is intended only for the individual or entity to which it
is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the
intended
recipient, please note that you are strictly prohibited from
disseminating
or distributing this information (other than to the intended recipient)
or
copying this information. If you have received this communication in
error,
please notify us immediately by return email.
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically
authorized to
receive it. If you are not the intended recipient, you are hereby
notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for
any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.
Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



Log file creation

2005-03-24 Thread GOKULAM Jayaram
Hi all,

I am trying to create a log file when a java compile fails, or when a
deployment fails and so on. Can anybody help me how I should achieve
this please.

 

Thanks in advance,

Jayaram

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



maven log4j

2005-03-23 Thread GOKULAM Jayaram
Hi all,

 

Is there  a way I can log the failure of java:compile into a log file.
If so how can I do this? 

Any help on this would be appreciated.

 

Thanks in advance,

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Thanks Bernhard,

It  worked now. Thank you very much buddy.

Thanks,
Jayaram

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 5:04 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

It should look like this:

  
  mcone_cmn
  mcone_cmn
  mcone_cmn.jar.jar
  

The group id still corresponds to the directory!
So your jar file location is:
C:\Documents and
Settings\JGokulam\.maven\repository\mcone_cmn\jars\mcone_cmn.jar.jar

The only difference it that the file name is NOT made up of the 
and 


-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 12:25
An: Maven Users List
Betreff: RE: how to add classpath in MAVEN


Bernhard,
Thanks for your reply. I tried as per your suggestion.

I entered

  mcone_cmn
   
In my project.xml file.
and am getting the following error,which says groupId and artifactId is
must.

Expecting your help

Thanks in advance,
Jayaram



End event threw exception
java.lang.IllegalStateException: either id or (groupId and artifactId) must
be provided for a d
ependency
at org.apache.maven.project.Dependency.getId(Dependency.java:116)
at org.apache.maven.project.Dependency.toString(Dependency.java:313)
at java.lang.String.valueOf(String.java:2131)
at java.lang.StringBuffer.append(StringBuffer.java:370)
at
org.apache.commons.betwixt.expression.MethodUpdater.update(MethodUpdater.jav
a:135)
at
org.apache.commons.betwixt.io.BeanCreateRule.end(BeanCreateRule.java:357)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1064)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.disp
atch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.maven.MavenException: Error parsing project.xml 'C:\Maven
1.0.2\bin\project.xml'
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.lang.IllegalStateException: either id or (groupId and artifactId) must
be provided for a d
ependency
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2383)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2409)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1067)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknow

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 1 seconds
Finished at: Fri Mar 18 16:53:23 IST 2005

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:41 PM
To: Maven Users List
Subject: AW: how to add classpath in MAVEN

Sorry this was just a typo
Just use mcone_cmn.jar

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 12:08
An: Maven Users List; Hamza Hydri; Bernhard Slominski
Betreff: RE: how to add classpath in MAVEN


Hamza & Bernhard,
Thanks dudes, it worked.The path of my local repository was wrong in the
build.properties file, when I changed it, it worked.
Thank you very much for your support.

Now am with the next problem. I have a jar file without a version,I did the
same local repository placement for this jar file, and added it in the
dependency section, as suggested by benhard
mcone_cmn.jar
This time I got the following error. How should I avoid the version.
Expecting your help again.

Thanks in advance,
Jayaram

Error:
 Parse Fatal Error at line 74 column 23: The element type "jar" must be
terminated by the matchi
ng end-tag "".
org.xml.sax.SAXParseException: The element type "jar" must be terminated by
the matching end-ta
g "".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.disp
atch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.maven.MavenException: Error parsing project.xml 'C:\Maven
1.0.2\bin\project.xml'
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:14

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
dAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 1 seconds
Finished at: Fri Mar 18 16:32:29 IST 2005

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:07 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

Hi Jayaram,

when maven looks for the jar in the ibiblio central repository it means it
did not find it in you local repository.
So I think you just didn't put it in the right folder.
My Example:
   
  servletapi
  servlet-api
  2.4
   

It looks under this location:
{user.home}\.maven\repository\servletapi\jars\servletapi-2.4.jar

be careful with the directories you need the struture
.maven\repository\\jars
Also when you have the version this is included automatically in the
filename.
When you want to select you own filename you have to use
myjar.jar 

When you still have problems send your  entry + the exact
location of your file.

Good luck.

Bernhard

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 11:26
An: Maven Users List
Betreff: RE: how to add classpath in MAVEN


Thanks Bernhard,
 I placed the jar files as per your suggestion.I then added the dependency
in the Project.xml file. Now I executed maven, which attempts to download
the dependent file and build fails, as it is looking to download from the
ibiblio central repository.
Can u help me solving this please.
Thanks in advance,
Jayaram

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 3:42 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

Hi Jayaram,

I has a similar question yesterday,
Hamza posted the following answer, which solved my problem:

when you are asking maven to load the dependencies locally, you have
to place the jars in the {user.home}\.maven\repository\ location ...
under the appropriate subfolder
 
for eg:
{user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar

store all your dependencies this way in the repository folder.

cheers !

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 10:46
An: Maven Users List
Betreff: how to add classpath in MAVEN


Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
picks up my ejb files and compile.

Also I may want to add other library files to the classpath. Can anybody
help me in this regard please?

 

 

Thanks in advance

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.


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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.


-
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]

Confidentiality Statement:

This message is intend

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Hi Bernhard and Hamza,
Thanks for your support.
Am still facing the same problem.
I placed j2ee-1.3.jar file under the following location,
C:\Documents and Settings\JGokulam\.maven\repository\j2ee\jars
And added

  j2ee
  j2ee
  1.3
   
In the dependency section of my Project.xml.


I got the following error
Attempting to download j2ee-1.3.jar.
WARNING: Failed to download j2ee-1.3.jar.
The build cannot continue because of the following unsatisfied dependency:

j2ee-1.3.jar

Total time: 6 seconds
Finished at: Fri Mar 18 16:23:01 IST 2005

Then I did set the maven.mode.online=false in my build.properties file.

This time it displayed the following error
The build cannot continue because of the following unsatisfied dependency:

j2ee-1.3.jar

Total time: 1 seconds
Finished at: Fri Mar 18 16:24:32 IST 2005

Please let me know if I missed any of your steps.

Thanks in advance
Jayaram
-Original Message-
From: Hamza Hydri [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:13 PM
To: Maven Users List
Subject: Re: how to add classpath in MAVEN

Gokulam,

try to set maven.mode.online=false in your build.properties file. 

check it now whether it is still trying to connect to ibiblio.org


On Fri, 18 Mar 2005 15:56:29 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
> Thanks Bernhard,
> I placed the jar files as per your suggestion.I then added the dependency in 
> the Project.xml file. Now I executed maven, which attempts to download the 
> dependent file and build fails, as it is looking to download from the ibiblio 
> central repository.
> Can u help me solving this please.
> Thanks in advance,
> Jayaram
> 
> -Original Message-
> From: Bernhard Slominski [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 3:42 PM
> To: 'Maven Users List'
> Subject: AW: how to add classpath in MAVEN
> 
> Hi Jayaram,
> 
> I has a similar question yesterday,
> Hamza posted the following answer, which solved my problem:
> 
> when you are asking maven to load the dependencies locally, you have
> to place the jars in the {user.home}\.maven\repository\ location ...
> under the appropriate subfolder
> 
> for eg:
> {user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar
> 
> store all your dependencies this way in the repository folder.
> 
> cheers !
> 
> -Ursprüngliche Nachricht-
> Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 18. März 2005 10:46
> An: Maven Users List
> Betreff: how to add classpath in MAVEN
> 
> Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
> picks up my ejb files and compile.
> 
> Also I may want to add other library files to the classpath. Can anybody
> help me in this regard please?
> 
> Thanks in advance
> 
> Jayaram
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is
> addressed. It may contain privileged, confidential information which is
> exempt from disclosure under applicable laws. If you are not the intended
> recipient, please note that you are strictly prohibited from disseminating
> or distributing this information (other than to the intended recipient) or
> copying this information. If you have received this communication in error,
> please notify us immediately by return email.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is 
> addressed. It may contain privileged, confidential information which is 
> exempt from disclosure under applicable laws. If you are not the intended 
> recipient, please note that you are strictly prohibited from disseminating or 
> distributing this information (other than to the intended recipient) or 
> copying this information. If you have received this communication in error, 
> please notify us immediately by return email.
> 
> -
> 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]

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the inten

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Thanks Bernhard,
 I placed the jar files as per your suggestion.I then added the dependency in 
the Project.xml file. Now I executed maven, which attempts to download the 
dependent file and build fails, as it is looking to download from the ibiblio 
central repository.
Can u help me solving this please.
Thanks in advance,
Jayaram

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 3:42 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

Hi Jayaram,

I has a similar question yesterday,
Hamza posted the following answer, which solved my problem:

when you are asking maven to load the dependencies locally, you have
to place the jars in the {user.home}\.maven\repository\ location ...
under the appropriate subfolder
 
for eg:
{user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar

store all your dependencies this way in the repository folder.

cheers !

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 10:46
An: Maven Users List
Betreff: how to add classpath in MAVEN


Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
picks up my ejb files and compile.

Also I may want to add other library files to the classpath. Can anybody
help me in this regard please?

 

 

Thanks in advance

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.


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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Hamza,
I want to add these files dynamically. The jar files may change, so I
want them to be set dynamically. Is there a possible way for it?
Thanks in advance,
Jayaram

-Original Message-
From: Hamza Hydri [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 3:33 PM
To: Maven Users List
Subject: Re: how to add classpath in MAVEN

Gokulam,

did you try setting the environment variable in your computer settings
? you can edit Maven_Home variable there and add all your JARs to the
classpath

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
picks up my ejb files and compile.

Also I may want to add other library files to the classpath. Can anybody
help me in this regard please?

 

 

Thanks in advance

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



wldeploy with Maven

2005-03-17 Thread GOKULAM Jayaram
Hi,

I have been trying to deploy an EAR file into weblogic server, I
downloaded the weblogic plug-in. But it does not work. 

It seems to pick up the target from the MAVEN-HOME directory by default.

Am getting the following error. Any help is appreciated.

 

Thanks for your help in advance,

Jayaram

 

BUILD FAILED

File.. C:\Documents and
Settings\JGokulam\.maven\cache\maven-webtest-plugin-0.1.0\plugin.je

lly

Element... java

Line.. 50

Column 103

C:\Maven [EMAIL PROTECTED] is not a valid directory

Total time: 1 seconds

Finished at: Thu Mar 17 17:55:28 IST 2005

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.



RE: Maven Petstore

2005-03-02 Thread GOKULAM Jayaram
Hi,
Thanks to all of you, Siegfried,Arnaud, and Jorg especially, it worked finally. 
I replaced the Base64 class and got it compiled.

Thanks for you support dudes.

Now am stuck with my next step. I have a folder target\clasess\clasess which 
contains the compiled files. Now how should I tell maven, create jar of a set 
of files then create a war of the jsp files and create an ear of jar and war.
If I understand correct from the documents, should I create three separate 
folders and then write 3 separate maven.xml files? 

Thanks in advance
Jayaram

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 02, 2005 1:27 PM
To: Maven Users List
Subject: RE: Maven Petstore

GOKULAM Jayaram wrote on Wednesday, March 02, 2005 8:23 AM:

> Thanks for the support Arnaud. But still it did not work.
> Though it downloaded the commons-codec jar file it again got
> into my earlier problem, as stated below.
> 
> Compiling shows error again. Should I set some classpath or
> path from the command prompt?Please guide me on this. Thanks
> in advance, Jayaram

[snip]

> [javac] Compiling 282 source files to C:\Maven
> 1.0.2\bin\target\classes\classes C:\Maven
> 1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\contro
> ller\com\sun\j2ee\bluepr
> ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.j
> ava:47: package org.apache.common s.codec.base64 does not 
> exist import org.apache.commons.codec.base64.Base64;

[snip]

Gosh, how difficult is it to look into a jar? Base64 is in package 
org.apache.commons.codec.binary. So you have to figure out, which version of 
this jar you'll need, it seems quite ancient. If a common-codec.jar is also 
delivered with the petshop, you may have a look into the manifest of it or use 
the maven.jar.override to use this specific one directly.

- Jörg

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



RE: Maven Petstore

2005-03-01 Thread GOKULAM Jayaram
Thanks for the support Arnaud. But still it did not work.
Though it downloaded the commons-codec jar file it again got into my earlier 
problem, as stated below.

Compiling shows error again. Should I set some classpath or path from the 
command prompt?Please guide me on this.
Thanks in advance,
Jayaram

This is the console output:

Attempting to download commons-codec-1.3.jar.
45K downloaded
build:start:

java:prepare-filesystem:

java:compile:
[echo] Compiling to C:\Maven 1.0.2\bin/target/classes/classes
[echo]
==

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==

[javac] Compiling 282 source files to C:\Maven 
1.0.2\bin\target\classes\classes
C:\Maven 
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\sun\j2ee\bluepr
ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47: package 
org.apache.common
s.codec.base64 does not exist
import org.apache.commons.codec.base64.Base64;
   ^
C:\Maven 
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com\sun\j2ee\blue
prints\taglibs\smart\ClientStateTag.java:52: package 
org.apache.commons.codec.base64 does not e
xist
import org.apache.commons.codec.base64.Base64;
   ^
C:\Maven 
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\sun\j2ee\bluepr
ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83: cannot 
resolve symbol
symbol  : variable Base64
location: class 
com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlowHandler

byte[] bytes  = Base64.decode(valueString.getBytes());
^
C:\Maven 
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com\sun\j2ee\blue
prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol
symbol  : variable Base64
location: class com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag
   new 
String(Base64.encode(bos.toByteArray()), "ISO-8859-1
")  + "\" />");
  ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
4 errors

BUILD FAILED
File.. C:\Documents and 
Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly
Element... ant:javac
Line.. 63
Column 48
Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Wed Mar 02 12:48:46 IST 2005
-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 02, 2005 11:43 AM
To: 'Maven Users List'
Subject: RE: Maven Petstore

You must add this in your POM :


commons-codec
  commons-codec
  1.3


You do not need to modify your repository and manually download commons-codec.
The jar will be downloaded from : 
http://www.ibiblio.org/maven/commons-codec/jars/


Arnaud


> -----Message d'origine-
> De : GOKULAM Jayaram [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 2 mars 2005 05:30
> À : Maven Users List; [EMAIL PROTECTED]
> Objet : RE: Maven Petstore
> 
> Hi Siegfried,
> Thanks for your guidance. Can u please let me know how 
> exactly I should and what URL I should use in my project.xml 
> I downloaded the commens-codec.zip file and placed it in my 
> local hard disk, now I want maven to look for this file under 
> my local hard disk.
> 
> In my project.xml  I added the following lines
>   
>   commons-codec
> commons-codec
>   
> And in build.properties file, I added the following line
> 
> maven.repo.remote=\ ${user.home}/.maven/repository, 
> http://www.ibiblio.org/maven
> 
> 
> But still it does not work, am getting the following error
> 
> Attempting to download commons-codec-.jar.
> Error retrieving artifact from [C:\Documents and 
> Settings\JGokulam/.maven/repository/commons-co
> dec/jars/commons-codec-.jar]: java.net.MalformedURLException: unknown
> protocol: c
> Error retrieving artifact from [
> /commons-codec/jars/commons-codec-.jar]: java.net.MalformedURL
> Exception: no protocol:  /commons-codec/jars/commons-codec-.jar
> WARNING: Failed to download commons-codec-.jar.
> The build cannot continue because of the following unsatisfied
> dependency:
> 
> commons-codec-.jar
> 
> Total time: 3 seconds
> Finished at: Wed Mar 02 09:49:01 IST 2005
> 
> Please guide me how I should come out of this error.
> 
> Thanks in advance,
> Jayaram
> 
> -Original Message-
> From: Siegfried Goeschl [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 01, 2005 7:48 PM
> To: Maven Users List
> Subject: Re: Maven 

RE: Maven Petstore

2005-03-01 Thread GOKULAM Jayaram
Hi Siegfried,
Thanks for your guidance. Can u please let me know how exactly I should
and what URL I should use in my project.xml
I downloaded the commens-codec.zip file and placed it in my local hard
disk, now I want maven to look for this file under my local hard disk.

In my project.xml  I added the following lines

commons-codec
  commons-codec
  
And in build.properties file, I added the following line

maven.repo.remote=\ ${user.home}/.maven/repository,
http://www.ibiblio.org/maven


But still it does not work, am getting the following error

Attempting to download commons-codec-.jar.
Error retrieving artifact from [C:\Documents and
Settings\JGokulam/.maven/repository/commons-co
dec/jars/commons-codec-.jar]: java.net.MalformedURLException: unknown
protocol: c
Error retrieving artifact from [
/commons-codec/jars/commons-codec-.jar]: java.net.MalformedURL
Exception: no protocol:  /commons-codec/jars/commons-codec-.jar
WARNING: Failed to download commons-codec-.jar.
The build cannot continue because of the following unsatisfied
dependency:

commons-codec-.jar

Total time: 3 seconds
Finished at: Wed Mar 02 09:49:01 IST 2005

Please guide me how I should come out of this error.

Thanks in advance,
Jayaram

-Original Message-
From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 01, 2005 7:48 PM
To: Maven Users List
Subject: Re: Maven Petstore

It seems that commons-codec is not defined in your project.xml

Siegfried Goeschl

GOKULAM Jayaram wrote:

>Hi am trying to compile petstore example application provided by sun.
>
>And am getting the following errors, Please help me to overcome this
>problem. Also let me know if I can set a classpath from maven to
compile
>these files.
>
> 
>
>Thanks in advance,
>
>Jayaram
>
> 
>
>[javac] Compiling 282 source files to C:\Maven
>1.0.2\bin\target\classes\classes
>
>C:\Maven
>1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\
s
>un\j2ee\bluepr
>
>ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47:
>package org.apache.common
>
>s.codec.base64 does not exist
>
>import org.apache.commons.codec.base64.Base64;
>
>   ^
>
>C:\Maven
>1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\co
m
>\sun\j2ee\blue
>
>prints\taglibs\smart\ClientStateTag.java:52: package
>org.apache.commons.codec.base64 does not e
>
>xist
>
>import org.apache.commons.codec.base64.Base64;
>
>   ^
>
>C:\Maven
>1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\
s
>un\j2ee\bluepr
>
>ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83:
>cannot resolve symbol
>
>symbol  : variable Base64
>
>location: class
>com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlo
w
>Handler
>
> 
>
>byte[] bytes  =
>Base64.decode(valueString.getBytes());
>
>^
>
>C:\Maven
>1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\co
m
>\sun\j2ee\blue
>
>prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol
>
>symbol  : variable Base64
>
>location: class
>com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag
>
>   new
>String(Base64.encode(bos.toByteArray()), "ISO-8859-1
>
>")  + "\" />");
>
>  ^
>
>Note: Some input files use or override a deprecated API.
>
>Note: Recompile with -deprecation for details.
>
>4 errors
>
> 
>
>BUILD FAILED
>
>File.. C:\Documents and
>Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly
>
>Element... ant:javac
>
>Line.. 63
>
>Column 48
>
>Compile failed; see the compiler error output for details.
>
>Total time: 5 seconds
>
>Finished at: Tue Mar 01 19:11:01 IST 2005
>
>Confidentiality Statement:
>
>This message is intended only for the individual or entity to which it
is addressed. It may contain privileged, confidential information which
is exempt from disclosure under applicable laws. If you are not the
intended recipient, please note that you are strictly prohibited from
disseminating or distributing this information (other than to the
intended recipient) or copying this information. If you have received
this communication in error, please notify us immediately by return
email.
>
>
>  
>


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

Confidentiality Statement:

This message is int

Maven Petstore

2005-03-01 Thread GOKULAM Jayaram
Hi am trying to compile petstore example application provided by sun.

And am getting the following errors, Please help me to overcome this
problem. Also let me know if I can set a classpath from maven to compile
these files.

 

Thanks in advance,

Jayaram

 

[javac] Compiling 282 source files to C:\Maven
1.0.2\bin\target\classes\classes

C:\Maven
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\s
un\j2ee\bluepr

ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:47:
package org.apache.common

s.codec.base64 does not exist

import org.apache.commons.codec.base64.Base64;

   ^

C:\Maven
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com
\sun\j2ee\blue

prints\taglibs\smart\ClientStateTag.java:52: package
org.apache.commons.codec.base64 does not e

xist

import org.apache.commons.codec.base64.Base64;

   ^

C:\Maven
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\controller\com\s
un\j2ee\bluepr

ints\waf\controller\web\flow\handlers\ClientStateFlowHandler.java:83:
cannot resolve symbol

symbol  : variable Base64

location: class
com.sun.j2ee.blueprints.waf.controller.web.flow.handlers.ClientStateFlow
Handler

 

byte[] bytes  =
Base64.decode(valueString.getBytes());

^

C:\Maven
1.0.2\bin\target\classes\checkouts\petstore\src\waf\src\view\taglibs\com
\sun\j2ee\blue

prints\taglibs\smart\ClientStateTag.java:203: cannot resolve symbol

symbol  : variable Base64

location: class
com.sun.j2ee.blueprints.waf.view.taglibs.smart.ClientStateTag

   new
String(Base64.encode(bos.toByteArray()), "ISO-8859-1

")  + "\" />");

  ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -deprecation for details.

4 errors

 

BUILD FAILED

File.. C:\Documents and
Settings\JGokulam\.maven\cache\maven-java-plugin-1.5\plugin.jelly

Element... ant:javac

Line.. 63

Column 48

Compile failed; see the compiler error output for details.

Total time: 5 seconds

Finished at: Tue Mar 01 19:11:01 IST 2005

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.