Re: jar and war together

2006-10-09 Thread neeraj daffodil

i have simple pom which contain only one source and of this source i want to
make war and jar

means
1)  i have one source and genrate jar and war of same source

my pom is like

project
 modelVersion4.0.0/modelVersion
 groupIdcom.daffodilwoods.framework/groupId
 artifactIddakwar/artifactId
 version1.0-SNAPSHOT/version
 packagingjar/packaging  !-- gunrate jar for my project --
dependencies
dependency

..
/dependency
dependencies


plugin !-- genrate war of same project --
groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   executions
 execution
   phaseinstall/phase
   configuration
   echohi i am configuring the WarSourceDirectory.. /echo
/configuration
   goals
 goalwar/goal
   /goals
 /execution
   /executions
 /plugin
  /plugins

  defaultGoalpackage/defaultGoal
 /build

/project



i am able to genrate dakwar-1.0-SNAPSHOT.jar and

dakwar-1.0-SNAPSHOT.war but only able to install dakwar-1.0-SNAPSHOT.jar

in my local repository but i need both jar and war to be install in my local
repository

i am doing these operation on one source

how i can achieve this please tell

Regards

Neeraj





On 10/9/06, Naess, Ronny [EMAIL PROTECTED] wrote:


Do you have one pom with one war artifact and one jar dependency, or do
you have one parent pom (maven 2) with two modules/artifacts?

I guess you want your jar in [war]/WEB-INF/lib when deployed to server?
The jar artifact should be included into lib if spesified as a
dependency. The war plugin is responsible for collecting all artifact
dependencies, classes and resources of the web application and packaging
them into a web application archive.

With install, do you mean install into appserver or do you mean maven
install aka uploading to local repository? If you meant install to
appserver take a look at Cargo, http://cargo.codehaus.org/Maven2+plugin,
if the latter look at
http://maven.apache.org/plugins/maven-install-plugin/ in short just run
'mvn install'. I guess it was the first you were after? :-)

-Ronny

-Opprinnelig melding-
Fra: Neeraj Bisht [mailto:[EMAIL PROTECTED]
Sendt: 9. oktober 2006 08:40
Til: users@maven.apache.org
Emne: jar and war together

hi all
i want to install jar and war from one pom but how i can
achieve this i do not know i tried and able to made the jar and war from
single pom but able only to install one ,either jar or war
can any one tell  me how  i can install or deploy both jar and war
Regards Neeraj


!DSPAM:4529eef09691709321452!

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




Re: har plugin

2006-10-09 Thread neeraj daffodil

Thanks Wayne fay

On 10/9/06, Wayne Fay [EMAIL PROTECTED] wrote:


I know there's work underway on a JBoss Maven plugin, which will
support HAR files along with other types, but I don't know much about
it to be honest...

Search the archives and you should find several discussions on the
subject.

Wayne

On 10/9/06, Neeraj Bisht [EMAIL PROTECTED] wrote:
 hi all
 can any one tell be there is any plugin for packing my project
 in har file as like of jar  ,
 Regards
 Neeraj



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




Re: War without lib and classes maven 2.0.4

2006-10-07 Thread neeraj daffodil

hi dan ,marco
 i already  tried the package level but it did not work  for me
   yes you are right that i have to insert it before war build but where i
do not know
 in maven 1.X i did it calling prerequest=war:web then make my war but here
in maven 2.X i did  not find any kind of that solution
   yes marco you are right if i will define scope as a runtime then it will
not take the lib but still i have classes there
  if you have solution then please forward to me

regards
Neeraj



On 10/7/06, dan tran [EMAIL PROTECTED] wrote:


packaging of the war is at package phase.  So you are out of luck to
intercept it before the actual
war file is built.

-D


On 10/7/06, Marco Mistroni [EMAIL PROTECTED] wrote:

 hello,
 i suspect to have your war without lib you will need to define proper
 scope
 of your dependencies anyone pls correct me if i m wrong

 hth
 marco

 On 10/7/06, Neeraj Bisht [EMAIL PROTECTED] wrote:
 
  hi all
   i want the war file without lib and classes for this i write
 ant
  task and merze in my pom
  the ant task as follow
plugin
   groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-antrun-plugin/artifactId
  executions
execution
  phasepackage/phase
  configuration
tasks
 
delete failonerror=false includeemptydirs=true
fileset dir=${project.build.dir}/${project.artifactId
  }/WEB-INF/classes
/fileset
fileset dir=${project.build.dir}/${project.artifactId
}/WEB-INF/lib
/fileset
/delete
 
 
  /tasks
  /configuration
  goals
goalrun/goal
  /goals
/execution
  /executions
/plugin
 
  it is working but i am unable to define the phase ,i mean at which
  phase  i
  will call this plugin run goal so that i will get the war without lib
 and
  classes
 
  if any one have alternative solution or know  right phase  is most
 welcome
 
 
  Regards
  Neeraj
 
 






Re: ANT in maven 2.X

2006-10-04 Thread neeraj daffodil

hi Wayne
  Thanks for your link
Actully i am not geeting any ant error ,maven should have to give the error
if we are wrong
yes you are right that i have wrong syntex
but still maven show build succesfully i am not able to understand why this
is happening
and still in delima how i call ant task in my pom

Regards
Neeraj



On 10/4/06, Wayne Fay [EMAIL PROTECTED] wrote:


First off, your XML is not well-formed. echo.../ant:echo doesn't
look like valid XML, so I'm not surprised its not working right for
you. Also you enclosed the echo/ node inside an ant node but then
the copy/ node was outside it. So you need to make the XML proper
before proceeding. Follow the examples online or search this mailing
list for tons of Antrun plugin examples.

Second, you might want to specify copy ... verbose=true which
might provide additional information from Ant when it is doing the
file copy. I'm not using copy/ right now personally so no
guarantees, but that is what the Ant Copy task webpage says:
http://ant.apache.org/manual/CoreTasks/copy.html

Wayne

On 10/4/06, Marco Mistroni [EMAIL PROTECTED] wrote:
 hello,
   check what is the actual value of ${maven.build.dir}/${pom.artifactId
}-${
 pom.currentVersion}.jar by echoing...

 maven will result in a success regardless the outcome of copy (pls
anyone
 correct me if i m mwrong, but i have experienced same behaviour)..

 hth
  marco.



 On 10/4/06, Neeraj Bisht [EMAIL PROTECTED] wrote:
 
  hi all
 i want to include ant task in my pom (maven 2.0.4 ) but how
i
  can
  proceed , i do not know
  i did googling and find some link on apache site
  http://maven.apache.org/plugins/maven-antrun-plugin/usage.html
  but here it is not clear and i tried i did not get any error and also
i am
  unable to run ant task
  i did not get the echo command please if any one have good link or eg
  please
  send me
 
  pluginManagement
 plugins
  plugin
  artifactIdmaven-antrun-plugin/artifactId
  executions
execution
  phasepackage/phase
  configuration
tasks
   ant
  echohi this is runing ant task/ant:echo
  /ant
  copy file=${maven.build.dir}/${pom.artifactId}-${
  pom.currentVersion}.jar tofile=${user.home}/.m2/repository/${
pom.groupId
  }/hars/${pom.artifactId}-${pom.currentVersion}.har/
 
/tasks
  /configuration
  goals
goalrun/goal
  /goals
/execution
  /executions
/plugin
  /plugins
 
  /pluginManagement
 
  both echo and copy command are not working and maven 2.0.4 show build
  succesful
 
  Regards
 
  Neeraj
 
 



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




Ant Maven 1.0.2 FTP

2006-09-07 Thread neeraj daffodil

Hi all
   i am using ant build file to transfer the file to remote ftp server
and i am able to do ,but if i try to call the build file in maven it show
error
but before this i called the ant file in my maven 1.0.2 maven.xml file and
that time it work
by following

project xmlns:ant=jelly:ant
 goal name=do-ant-bit
   ant:ant dir=${basedir} antfile=build.xml /
 /goal
/project

but it is not working in case of ftp
I want to know there is any other way to do ftp task in maven 1.0.2 ,or
there is any plugin available for ftp

how i can achieve this task  can any one know

Regards
Neeraj Singh Bisht


FTP deployment of ear in maven1.0.2

2006-09-07 Thread neeraj daffodil

hi all i want to deploy the ear file in remote ftp server by using following
code in maven.xml

goal name=ftpcopy
 ftp server=203.187.242.74
  userid=neeraj
  password=hrhk

   fileset dir=C:\Program
Files\xampp\htdocs\repository\com.daffodil.dak.gwt\ears
include name=**/*.ear/

/fileset

 /ftp
 /goal

After this i got the following result

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

BUILD SUCCESSFUL
Total time: 3 seconds
Finished at: Thu Sep 07 16:49:34 GMT+05:30 2006

but nothing is deployed in the remote server

after that i tried this

goal name=ftpcopy
 ftp server=203.187.242.74
  userid=neeraj
  password=hrhk

   fileset dir=C:\Program
Files\xampp\htdocs\repository\com.daffodil.dak.gwt\ears
include name=**/*.ear/

/fileset
echoTesting FTP end  /echo


 /ftp
 /goal

and got the result

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

ftpcopy:
ftp password=hrhk userid=neeraj server=203.187.242.74[echo]
Testing FTP end 
BUILD SUCCESSFUL
Total time: 3 seconds

nothing deployed and why this come i do not know ,can any one know why this
is happend and how i can achieve my task

any link and any kind of help is most welcome

Regards

Neeraj Singh Bisht

+91 09811921970


Re: snapshot - maven 1.0.2

2006-09-02 Thread neeraj daffodil

hi *Jeff Jensen*
*very very thanks ,i need what you exactly give me ,*
*Regards*
*Neeraj*


On 9/1/06, Jeff Jensen [EMAIL PROTECTED] wrote:


So I think you are asking how to always get the latest version.  If you
are
in development mode, then yes use SNAPSHOT for that:
   dependency
 groupIdcom.daffodil.dak.gwt/groupId
 artifactIddakhar/artifactId
 version1.5-SNAPSHOT/version
 properties
war.bundletrue/war.bundle
 /properties
   /dependency


Please carefully read the Using SNAPSHOT Dependencies section on this
page:
http://maven.apache.org/maven-1.x/using/managing-dependencies.html


-Original Message-
From: neeraj daffodil [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 1:35 PM
To: Maven Users List
Subject: Re: snapshot - maven 1.0.2

hi Jeff Jensen
   thanks to replay ,yes you are write i have to use 1.5 in version
but
i need some think that i have not to mention the version no. and it will
download the latestes jar file from the repository ,i am sure that to do
this work we have to use snapshot in version but how i can use in my maven
1.0.2 i have no ideya ,if you understand my actuall problem then please
replay


Thanks in advances
Regards
Neeraj



On 9/1/06, Jeff Jensen [EMAIL PROTECTED] wrote:

 I'm a bit confused by your email description.  What happens when you
 change the version number?  You didn't state how you are trying to get
 version 1.5, and the dependency example you gave shows 1.2.

 Additionally, I suggest these changes to your example, based on what I
 understand from your email:
dependency
  groupIdcom.daffodil.dak.gwt/groupId
  artifactIddakhar/artifactId
  version1.5/version
  properties
war.bundletrue/war.bundle
  /properties
/dependency

 (set the version to the one you want)

 Maven assembles the parts to determine the filename.  See the
 dependency element doc (contains examples):

 http://maven.apache.org/maven-1.x/reference/project-descriptor.html#cl
 ass_De
 pendency


 -Original Message-
 From: neeraj daffodil [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 01, 2006 9:03 AM
 To: Maven Users List
 Subject: snapshot - maven 1.0.2

 hi all
   i am using maven 1.0.2 and i want to use latest version of jar
 which are defines in the project.xml , i mean to say that in our
 remote repository there are 4 to 5 version of jar but i want to use
 the latest version (i.efrom remote repository only latest version will
 download but i am not able to do this ) i know from searching that to
 do this process there is somthing like SNAPSHOT but i am unable to
 define in my project.xml ,it might be like this dependency
  groupIdcom.daffodil.dak.gwt/groupId
  artifactIduser/artifactId
  versiondakhar-1.2.jar/version
  jardakhar-1.2.jar/jar
  typejar/type
  properties
war.bundletrue/war.bundle
  /properties
/dependency
 here i am using  dakhar-1.2.jar but in our repository we have
 dakhar-1.5.jarand dakhar-1.2.jar but i want to download that
 dakhar-1.5.jar by maven 1.0.2 but all the time it is downloaded the
 dakhar-1.2.jar jar file

 can any one tell me where i am wrong and how should i can achieve this

 Regards
 Neeraj


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




snapshot - maven 1.0.2

2006-09-01 Thread neeraj daffodil

hi all
  i am using maven 1.0.2 and i want to use latest version of jar which
are defines in the project.xml , i mean to say that in our remote repository
there are 4 to 5 version of jar but i want to use the latest version
(i.efrom remote repository only latest version will download but i am
not able
to do this )
i know from searching that to do this process there is somthing like
SNAPSHOT but i am unable to define in my project.xml ,it might be like this
dependency
 groupIdcom.daffodil.dak.gwt/groupId
 artifactIduser/artifactId
 versiondakhar-1.2.jar/version
 jardakhar-1.2.jar/jar
 typejar/type
 properties
   war.bundletrue/war.bundle
 /properties
   /dependency
here i am using  dakhar-1.2.jar but in our repository we have dakhar-1.5.jarand
dakhar-1.2.jar but i want to download that dakhar-1.5.jar by maven 1.0.2 but
all the time it is downloaded the dakhar-1.2.jar jar file

can any one tell me where i am wrong and how should i can achieve this

Regards
Neeraj


Re: snapshot - maven 1.0.2

2006-09-01 Thread neeraj daffodil

hi Jeff Jensen
   thanks to replay ,yes you are write i have to use 1.5 in version
but  i need some think that i have not to mention the version no. and it
will download the latestes jar file from the repository ,i am sure that to
do this work we have to use snapshot in version but how i can use in my
maven 1.0.2 i have no ideya ,if you understand my actuall problem then
please replay


Thanks in advances
Regards
Neeraj



On 9/1/06, Jeff Jensen [EMAIL PROTECTED] wrote:


I'm a bit confused by your email description.  What happens when you
change
the version number?  You didn't state how you are trying to get version
1.5,
and the dependency example you gave shows 1.2.

Additionally, I suggest these changes to your example, based on what I
understand from your email:
   dependency
 groupIdcom.daffodil.dak.gwt/groupId
 artifactIddakhar/artifactId
 version1.5/version
 properties
   war.bundletrue/war.bundle
 /properties
   /dependency

(set the version to the one you want)

Maven assembles the parts to determine the filename.  See the dependency
element doc (contains examples):

http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_De
pendency


-Original Message-
From: neeraj daffodil [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 9:03 AM
To: Maven Users List
Subject: snapshot - maven 1.0.2

hi all
  i am using maven 1.0.2 and i want to use latest version of jar which
are defines in the project.xml , i mean to say that in our remote
repository
there are 4 to 5 version of jar but i want to use the latest version
(i.efrom remote repository only latest version will download but i am not
able to do this ) i know from searching that to do this process there is
somthing like SNAPSHOT but i am unable to define in my project.xml ,it
might
be like this dependency
 groupIdcom.daffodil.dak.gwt/groupId
 artifactIduser/artifactId
 versiondakhar-1.2.jar/version
 jardakhar-1.2.jar/jar
 typejar/type
 properties
   war.bundletrue/war.bundle
 /properties
   /dependency
here i am using  dakhar-1.2.jar but in our repository we have
dakhar-1.5.jarand dakhar-1.2.jar but i want to download that
dakhar-1.5.jar
by maven 1.0.2 but all the time it is downloaded the dakhar-1.2.jar jar
file

can any one tell me where i am wrong and how should i can achieve this

Regards
Neeraj


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




GWT ,maven 1.0.2 solution

2006-08-31 Thread neeraj daffodil

hi all
  when we were using the old jar of gwt then  the gwt plugin for maven
work fine and the war file genrates by the plugin was ok
but now we started using the gwt new jar and now the war file which is made
by maven 1.0.2 using gwt war plugin is not working properly 1.e now no
pages  are open ,have any body solution to this problem
Or GWT launch new plugin to genrate the war file

Regards
Neeraj


multiproject plugin

2006-08-23 Thread neeraj daffodil

hi all
i am building multiproject through maven 1.0.2 with the help of
maven:recator  by defining the following in maven.xml
maven:reactor basedir=${basedir} includes=**/project.xml
   goals=clean:clean,war:deploy,jar:deploy,ear:deploy
banner=Building ignoreFailures=false /
it is working well but what happen that the all four goals are running for
each module but i only want that the specific module will run for each type
of project for that i define the maven.multiproject.type=(war,jar,ear) as i
required in our module
but i am not geeting theresult as my need due ,all four gaol are running for
each module ,

i am not able to get that it is its feature or there is somthing which i am
lacking in my project.properties to define

any one can help me where i am wrong

Regards
Neeraj


Re: download from internal repository

2006-08-06 Thread neeraj daffodil

Thanks for replay
But i am able to access the repository through webbrowser and aslo able
to download from internal repository from other computer and i also check
for somethink weired but i did not find
in by project ,but unable when using maven1.0.2 still i am not able to do
this i think it is a small task but i need help

Thanks



On 8/5/06, Nick Veys [EMAIL PROTECTED] wrote:


Is the web server on your computer accessible from the other computer?
If you can start a web browser, and download an artifact from your
computer to the other then something weird is going on, assuming
you've specified the remote repository on both correctly, etc.

On 8/5/06, neeraj daffodil [EMAIL PROTECTED] wrote:
 hi
can any one tell me the solution of following problem
  i am able to download the dependency from the internal repository if i
am
 working in the same m/c ,i used http protocol like
 http://mylocalrepository/repository
 to download the dependency but when i sited in another m/c i am unable
to
 download from my internalrepository
 can any one tell me where i am wrong

 Regards
 Neeraj Singh Bisht



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




download from internal repository

2006-08-05 Thread neeraj daffodil

hi
  can any one tell me the solution of following problem
i am able to download the dependency from the internal repository if i am
working in the same m/c ,i used http protocol like
http://mylocalrepository/repository
to download the dependency but when i sited in another m/c i am unable to
download from my internalrepository
can any one tell me where i am wrong

Regards
Neeraj Singh Bisht


Re: Add an other sources and classpath folder

2006-08-05 Thread neeraj daffodil

hi can any one give ans of  my query

i am able to download the dependency of my project from my internal
repository (http://myinternalserver/repository) if i am sited in the same
m/c but when i am sited and working from other m/c then i am unable to
download the dependency it show unable to download
 can any one tell me where i am wrong


Regards
Neeraj Singh Bisht



On 8/5/06, Patrick GIRY [EMAIL PROTECTED] wrote:


I m using MockCreator to build my tests. When I generate the mock objects,
I
put the source src/mocks/java and the compiled version into
target/mocks-classes.
How can I add these directories into my pom.xml file?




Re: download from internal repository

2006-08-05 Thread neeraj daffodil

hi sorry i used abbrivation here m/c means my computer .do u have any ideya
about  my problem

On 8/5/06, Wayne Fay [EMAIL PROTECTED] wrote:


What is an m/c??

Wayne

On 8/5/06, neeraj daffodil [EMAIL PROTECTED] wrote:
 hi
   can any one tell me the solution of following problem
  i am able to download the dependency from the internal repository if i
am
 working in the same m/c ,i used http protocol like
 http://mylocalrepository/repository
 to download the dependency but when i sited in another m/c i am unable
to
 download from my internalrepository
 can any one tell me where i am wrong

 Regards
 Neeraj Singh Bisht



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




Re: Corporate Environment Problems

2006-08-04 Thread neeraj daffodil

it easy ,the maven2.0 have different structure than maven1.0 so if u want to
make internal repository then use ftp server and in setting .xml write the
url of your local repository
like urlftp://yourserverdomain:portno/
and in your repository section of pom.xml write about ur ftp server

to set up ur repository manually download the jar manually and then put in
the hirarchy as specify in apache sit
like artifactid then groupid then version then your jar ,if u want to look
the eg then see in${home}/.maven
hobe this abstract will help u



On 8/4/06, Flynn, Adam [EMAIL PROTECTED] wrote:


I have just began to use maven 2. I have ran into a problem whilst
attempting to setup my first project. It appears that because I am behind
a
proxy maven cannot gain access to the archetype plugin.

I need to establish some form of local repository of plugins. Could
somebody
please tell me how I could go about setting up such a repository manually
(i.e what directory structure will be required) and what changes I'll need
to make to settings.xml.

Thanks
Adam Flynn


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




Any help regarding remote deployment it urget

2006-08-03 Thread neeraj daffodil

hi all
i am useing  tomcate plugin to deploy the war file in remote server
but when ever i gave any command it give the following error


war:init:

tomcat:init:
   [echo] Found context file
C:\workcruise\googlemultiprojectcheckoutnew\GWTFrameworkNewTestMaven\framework_gwtMaven\framwork_g
   [echo]  message
[EMAIL PROTECTED]: name
file:/C:/workcruise/googlemultiprojectcheckou

   [echo] found /framework_GWT in context file

BUILD FAILED
File.. C:\Documents and
Settings\harvinder.bhutani.HARVINDER\.maven\cache\maven-
tomcat-plugin-1.2.1\plugin.jelly
Element... start
Line.. 204
Column 30
org/apache/tools/ant/taskdefs/Redirector
Total time: 20 seconds
Finished at: Thu Aug 03 12:14:01 GMT+05:30 2006



i think it is version problem i am using tomcate 5.0

i downloaded this plugin from
http://www.codeczar.com/products/maven-tomcat-plugin/scenarios.html

2)i tried another solution to deploy in remote server i used ftp and i am
able to deploy in remote server

but it deploy in maven structure i mean repository
applicationanme/war/mywar.war

but i need in this order application/mywar



if any one have any solution regarding above two problem then please help

Regards

Neeraj Singh Bisht


Re: Problem with scm:changelog

2006-08-02 Thread neeraj daffodil

use scm:checkout-project goal to checkout and also define scm.cvs.module=your
module name in your repository write in ur project.properties file



On 8/2/06, eman forever [EMAIL PROTECTED] wrote:


Hi everyone ..

I am a newbie to maven ..
I've been using the scm api and it seems that it's working properly except
when I execute the scm:changelog goal I get this error

[INFO] [scm:changelog]
[INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:repository -q
log
[INFO] Working directory: C:\Documents and Settings\Administrator
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs log: in directory .:
cvs [log aborted]: there is no version here; run 'cvs checkout' first

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Command failed.The cvs command failed.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Aug 01 19:48:09 PDT 2006
[INFO] Final Memory: 4M/7M
[INFO]


I've executed the checkout goal and it successfully build
I've versioned my project
and I also tried to execute the  cvs -z3 -f -d
:pserver:[EMAIL PROTECTED]:repository -q
log command , but I got the following error:

: No such file or directory /repository/test
cvs log: skipping directory

Any help will be really appreciated..

_
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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




Re: Unable to deploy to remote repository

2006-08-02 Thread neeraj daffodil

we also understand that we canot deploy directly in webapps but i want to
know than why tomcat and jboss plugin is there?

On 8/2/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:


Even if it's urgent for you, it's not the case for me. And it's the
problem
of the OSS.
In theory you'll have a better support if you join the users on the list
instead of me directly.

For your reply :
You can't deploy directly to a web application. In HTTP you can only read
data.
You have to install on your remote server a ftp server, a ssh server, a
webdav server, ... something that will allow you to push your artefacts on
it.

Arnaud


On 8/2/06, sharmishta.kaul [EMAIL PROTECTED] wrote:

 Thanks for your help. I have been able to upload to the repository. I
had
 missed out the maven-artifact-plugin. Now I want to deploy remotely to
the
 tomcat's webapps. What plugin should I use. This is required urgently

 Arnaud HERITIER wrote ..
  Sharmishta
 
I you want to use ftp to deploy locally your settings must be :
 
  maven.repo.list=R1
  maven.repo.R1=ftp://localhost
  maven.repo.R1.directory=/ROOT/repository
  maven.repo.R1.username=sharmishta
  maven.repo.R1.password=hrhk
 
  http://maven.apache.org/maven-1.x/plugins/artifact/examples.html
 
  Arnaud
 
  On 8/2/06, sharmishta.kaul [EMAIL PROTECTED] wrote:
  
   I'm using maven1.0. I want to deploy to the remote repository.
   I have used the following code in project.properties
  
   maven.repo.list=R1
   maven.repo.R1 = ftp://localhost:21/ROOT/repository
   maven.repo.R1.directory=http://localhost:8080/ROOT/repository
   maven.repo.R1.username=sharmishta
   maven.repo.R1.password=hrhk
  
   When i give the command maven jar:deploy, i get thr following
 exception
  
   jar:deploy:
   [echo] maven.repo.list is set - using artifact deploy mode
   Will deploy to 1 repository(ies): R1
   Deploying to repository: R1
   Failed to deploy to: R1 Reason: Could not connect to server.
  
   BUILD FAILED
   File.. C:\Documents and
Settings\Administrator\.maven\cache\maven-
   artifact-plugin-1.4.1\plugin.jelly
   Element... artifact:artifact-deploy
   Line.. 94
   Column 13
   Unable to deploy to any repositories
  
   Please tell me what I'm missing. Do I have to use some plugin for
 that.
  If
   yes then how.Please help. I've not worked in maven before
  
  
  
  
  






problem getting Remote deployment

2006-07-31 Thread neeraj daffodil

hi
 i am getting problem in deployment we can able to deploy in local
server9i just write one goal and copy the war file in our tomcat webapp
directory but while in case of remote directory i am unable to do this
since the plugin i got for tomcat deployment it not working (i got it from
codezar site) and  getting error

BUILD FAILED
File.. C:\Documents and
Settings\harvinder.bhutani.HARVINDER\.maven\cache\maven-
tomcat-plugin-1.2.1\plugin.jelly
Element... deploy
Line.. 122
Column 22
org/apache/tools/ant/taskdefs/Redirector
Total time: 24 seconds
Finished at: Mon Jul 31 13:33:39 GMT+05:30 2006

C:\workcruise\Checkout\GWTFrameworkNewTestMaven\framework_gwtMaven\framwork_gwtMaven

i am useing the tomcate  5.x is if any one have solution than please send me
replay



Regards

Neeraj Singh  Bisht