Re: Using ANT build.xml in Maven?

2004-02-24 Thread conradwt
Hi, how does one properly add the following to the maven.xml?  Now, should I put the 
typedefs in the maven.xml instead of the project.xml?

Thanks,

-Conrad

 except you wrap a goal around a target perhaps ... your command line 
 would work the same.
 You can pretty much stuff all taskdefs, typedefs, and all that right 
 inside your project.xml, Maven is an Ant wrapper in that.
 
 goal name=target1
   ant:ant antfile=build.xml inheritAll=true inheritRefs=true target=target1
 property name=param1 value=somevalue/
 property file=config/subproject/default.properties/  
   /ant:ant
 /goal
 
 etc.
 
 [EMAIL PROTECTED] wrote:
 
 Hi, my boss just wants me to use the existing ANT build.xml until we can get a 
 correct multiproject setup (i.e. maven.xml, project.properties, and 
 build.properties).  At this time, the project generates 14 artifacts; mostly JARs 
 and EJB-JARs.  Finally, I would simply like to reuse my build.xml to get it done 
 for now.  Thus, typing 'maven'
 at the command prompt:
 
 'maven' would map to 'ant all'
 
 because I have the following:
 
 project name=project_name default=all basedir=.
 
target name=target1 !-- some stuff for the target -- /target
target name=target2 !-- some stuff for the target -- /target
target name=target3 !-- some stuff for the target -- /target
target name=target4 !-- some stuff for the target -- /target
target name=target5 !-- some stuff for the target -- /target
 
 /project
 
 Thus, I would like to put the above inside the maven.xml and able to execute the
 tagets as maven goals.  Is this possible?  For example,
 
 maven target1
 maven target2
 maven all
 maven clean
 maven clobber
 
 and so on.  However, I would like to do it in such a way to maintain the integrity
 of the same build.xml for both Maven and ANT.  Thus, if I make changes to the 
 build.xml file, I don't have to make changes to the maven.xml because the maven.xml
 simply references the build.xml.  Is this possible?
 
 Thanks in advance,
 
 -Conrad 
 
   
 
 Do you want to run an external ant file from within your maven 
 project.xml, is that it?  What Brett said and:
 
 http://ant.apache.org/manual/CoreTasks/ant.html  
 ant antfile=subproject/subbuild.xml dir=subproject target=compile/
 
 that's what I use.  Some of the people around here get Ant, but not 
 Maven, I have to do this to make their projects work sometimes.
 
 Brett Porter wrote:
 
 
 
 Maven.xml:
 
 project xmlns:ant=ant
 goal name=run-ant
  ant:ant just like your standard ant tag /
 /goal
 /project
 
 But you'll be poorer for it :)
 
 - Brett
 
  
 
   
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 24 February 2004 9:35 AM
 To: [EMAIL PROTECTED]
 Subject: Using ANT build.xml in Maven?
 
 
 Hi, I was wondering, is it possible to use a build.xml in 
 Maven until you have configured the necessary pieces.  If so, 
 does anyone have any documentation on how to perform this task?
 
 Thanks in advance,
 
 -Conrad
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

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

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



Using ANT build.xml in Maven?

2004-02-23 Thread conradwt
Hi, I was wondering, is it possible to use a build.xml in Maven until you have 
configured the necessary pieces.  If so, does anyone have any documentation on
how to perform this task?

Thanks in advance,

-Conrad


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



Re: Using ANT build.xml in Maven?

2004-02-23 Thread conradwt
Hi, my boss just wants me to use the existing ANT build.xml until we can get a correct 
multiproject setup (i.e. maven.xml, project.properties, and build.properties).  At 
this time, the project generates 14 artifacts; mostly JARs and EJB-JARs.  Finally, I 
would simply like to reuse my build.xml to get it done for now.  Thus, typing 'maven'
at the command prompt:

'maven' would map to 'ant all'

because I have the following:

project name=project_name default=all basedir=.

   target name=target1 !-- some stuff for the target -- /target
   target name=target2 !-- some stuff for the target -- /target
   target name=target3 !-- some stuff for the target -- /target
   target name=target4 !-- some stuff for the target -- /target
   target name=target5 !-- some stuff for the target -- /target

/project

Thus, I would like to put the above inside the maven.xml and able to execute the
tagets as maven goals.  Is this possible?  For example,

maven target1
maven target2
maven all
maven clean
maven clobber

and so on.  However, I would like to do it in such a way to maintain the integrity
of the same build.xml for both Maven and ANT.  Thus, if I make changes to the 
build.xml file, I don't have to make changes to the maven.xml because the maven.xml
simply references the build.xml.  Is this possible?

Thanks in advance,

-Conrad 


 Do you want to run an external ant file from within your maven 
 project.xml, is that it?  What Brett said and:
 
 http://ant.apache.org/manual/CoreTasks/ant.html  
 ant antfile=subproject/subbuild.xml dir=subproject target=compile/
 
 that's what I use.  Some of the people around here get Ant, but not 
 Maven, I have to do this to make their projects work sometimes.
 
 Brett Porter wrote:
 
 Maven.xml:
 
 project xmlns:ant=ant
  goal name=run-ant
   ant:ant just like your standard ant tag /
  /goal
 /project
 
 But you'll be poorer for it :)
 
 - Brett
 
   
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 24 February 2004 9:35 AM
 To: [EMAIL PROTECTED]
 Subject: Using ANT build.xml in Maven?
 
 
 Hi, I was wondering, is it possible to use a build.xml in 
 Maven until you have configured the necessary pieces.  If so, 
 does anyone have any documentation on how to perform this task?
 
 Thanks in advance,
 
 -Conrad
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
   
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Checking A File In Via Maven?

2004-02-17 Thread conradwt
Hi, how does one check a file in via Maven?

Thanks in advance,

-Conrad


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



Re: Checking A File In Via Maven?

2004-02-17 Thread conradwt
Hi, do you know the specific goal to use to do this?  I have looked at the docs and I 
haven't been able to find a reference for checking in specific file(s).

Thanks,

-Conrad


 Have a look in the SCM plugin - it will check in project.xml for you. It is
 basically just using the ant cvs command.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, 18 February 2004 12:42 PM
  To: [EMAIL PROTECTED]
  Subject: Checking A File In Via Maven?
  
  
  Hi, how does one check a file in via Maven?
  
  Thanks in advance,
  
  -Conrad
  
  
  -
  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]



ANT Namespace?

2004-02-13 Thread conradwt
Hi, could someone tell me which namespace to add to call ANT tasks?

Thanks in advance,

-Conrad


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



Re: A Bug With war:install?

2004-02-13 Thread conradwt
BEGIN ERROR:

war:war:
[echo] Building WAR WebShop-App
[jar] Building jar: C:\workspace\webshop\WebShop-App\target\WebShop-App.war
[echo] [war:war] Renaming of WAR to include version number.
[move] Moving 1 files to C:\workspace\webshop\WebShop-App\target

BUILD FAILED
File.. file:/C:/Documents and Settings/CTaylor/.maven/plugins/maven-war-plug
in-1.4/
Element... artifact:install
Line.. 153
Column 27
Artifact file: 'c:\workspace\webshop\WebShop-App/target/WebShop-App.war' must ex
ist
Total time: 15 seconds
Finished at: Fri Feb 13 11:40:38 PST 2004

END ERROR:

Now, I have the following code within my 'maven.xml':

!-- Renaming of WAR to include version number --
postGoal name=war:war
echo[war:war] Renaming of WAR to include version number./echo
move file=${basedir}/target/${maven.war.final.name} 
tofile=${basedir}/target/${maven.final.name}.war
/move
/postGoal


It creates the WebShop-App-0.9.8.war but war:install goal is expecting to copy
WebShop-App.war. 

Thanks in advance,

-Conrad




 [EMAIL PROTECTED] wrote:
  Hi, I received an error message and nothing was copied to the below named directory
  everytime I try to use the goal, 'war:install'.
 
 It would be interesting to see what the error message is...
 
 -
 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]



How to clean parent and child projects?

2004-02-12 Thread conradwt
Hi, is there a way to clean parent as well as the child projects with a single 
command? 
BTW, I'm using the multiproject to generate the site.  Well, I must go and thanks in 
advance.

-Conrad


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



Re: groupIdartifactId

2004-02-12 Thread conradwt
Hey Charlie, it seems that Maven uses the following location by default as your local 
repository on MS Windows:

C:\Documents and Settings\USERNAME\.maven

However, if you would like to change it to ~/.maven, you'll need to add the following 
line to your project.properties:

#
# local repository properties
#

maven.repo.local = C:/.maven/repository

I hope that the above helps because I fell into this same trap with Maven.

Peace,

-Conrad

 Hello again.
 This time I actually did my reading (or so I think).  I am confused about
 how to setup my dependencies with the new dist that I recently downloaded.
 
 dependency
 groupIdj2ee/groupId
 typejar/type
 artifactIdj2ee/artifactId
 version1.3/version
 /dependency
 
 ~/.maven/repository/j2ee/jars/j2ee-1.3.jar
 
 This worked an hour ago before I updated.  I'm checked my $MAVEN_HOME
 variable and all seems cool.  Should I go back to using:
 
 
 dependency
 idj2ee/id
 version1.3/version
 /dependency
 
 
 Thanks again.
 
 
 Charlie
 
 
 -
 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]



A Bug With war:install?

2004-02-12 Thread conradwt
Hi, is there a fix for 'war:install' because it doesn't copy the generated file to the 
local repository?

Thanks,

-Conrad


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



Re: A Bug With war:install?

2004-02-12 Thread conradwt
Hi, I received an error message and nothing was copied to the below named directory
everytime I try to use the goal, 'war:install'.

-Conrad

 [EMAIL PROTECTED] wrote:
  Hi, is there a fix for 'war:install' because it doesn't copy the generated file to 
  the local repository?
 
 I think it copies it to the {pom.groupId}/wars directory.
 
 -
 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]



Using CVS via Maven

2004-02-03 Thread conradwt
Hi, could someone point me to reference docs on how to use CVS via Maven?  I would 
like to setup the project.xml with the required TAG information.

Thanks in advance,

-Conrad




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



Re: failed to download jar from remote repo

2004-02-03 Thread conradwt
Hi, could you provide us with the dependency declaration in your project.xml for the 
below named jar file?

Thanks,

-Conrad

 i'm new to maven and am trying to set up a remote repo on an intranet box in
 my company.\
  
 running maven site:deploy results in a 
  
 WARNING: Failed to download tiaalogging.jar
  
 I'm quite sure that my dependencies element is properly configured and my
 maven.remote.repo is set correctly.
  
 I don't have an ssh daemon running on the box.  Does maven use ssh to
 download jars?
  
 Is there a way I can tell where maven is going to get its jars?
 (which remote repo it is pointing to?)
  
 thanks
  
 
 
 
  http://www.tiaa-cref.org/   Technologist http://www.google.com/  
   
 
 Lu, David 485 Lexington Avenue
 http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=485+Lexington+Avenuecsz=New
 +York,+NY+10017country=us 
 3rd Floor, MS-10
 New York, NY 10017
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  
 tel: 
 fax:  212.490.9000 x7004
 212.916.6050  
   
 
  http://www.plaxo.com/signature/ Powered by Plaxo
 http://www.plaxo.com/signature/ Want a signature like this? 
  
 
 
 **
 This message, including any attachments, contains confidential information intended 
 for a specific individual and purpose, and is protected by law.  If you are not the 
 intended recipient, please contact sender immediately by reply e-mail and destroy 
 all copies.  You are hereby notified that any disclosure, copying, or distribution 
 of this message, or the taking of any action based on it, is strictly prohibited.
 TIAA-CREF
 **
 
 -
 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 Plugin Page Missing

2004-02-03 Thread conradwt
Hi, I was wondering, what happen to the following page?

http://maven.apache.org/reference/plugins/index.html

Thanks,

-Conrad


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



Is the goal, war:install, working?

2004-02-03 Thread conradwt
Hi, I was wondering, has the goal, war:install, been fixed because the current version 
isn't performing the install to the local repository?  If there's a fix, could someone 
tell me where I can download it?

Thanks in advance,

-Conrad




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



Re: Sample EJB Project Using JBoss and Maven?

2004-01-30 Thread conradwt
Hey, I just changed the xdoclet plugin's project.xml to use the groupId
'xdoclet' and it worked without any problems.  Just thought I would let
you know.

-Conrad

 [EMAIL PROTECTED] wrote:
  As a temporary workaround to this incredibly frequently asked question, 
  I've symlinked www.ibiblio.org/maven/xdoclet as 
  www.ibiblio.org/maven/xjavadoc
  
  I believe this will fix the issue for most.
 
 
 Thanks for this.  I love Xdoclet, but this xjavadoc groupId situation is 
 one of the most annoying errors I've ever encountered.
 
 You'd think that they would have released a fix for it already -- but I 
 guess it's easy to manually hack it anyway.
 
 -
 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]



Retrieving latest version of JAR?

2004-01-30 Thread conradwt
Hi, does Maven allow you the ability to retrieve the latest JAR without specifying the 
version in the dependency?  Also, if I was to update a dependency, would Maven be able
to retrieve the correct JAR?

Thanks in advance,

-Conrad



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



Packaging A Distribution and Deploying To Webserver?

2004-01-29 Thread conradwt
Hi, I would like to be able to package a set of jars, ears, and wars into a .zip and 
deploy it to my webserver.  Also, I would like to have a directory structure as 
follows:

{project_name}/jars/{project_name}-{version}.zip

e.g.

WebShop/jars/WebShop-0.9.8.zip

However, this goal can only be created after all the artifacts have been generated.  
Thus, is there an example of how to do this?

Thanks in advance,

-Conrad


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



How to deploy a JAR to remote repo?

2004-01-29 Thread conradwt
Hi, I was wondering, how does one deploy a JAR to a specific repository?

Thanks in advance,

-Conrad



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



A list of goals and how to use them?

2004-01-29 Thread conradwt
Hi, could someone tell me where I can find the list of goals and how to use them?  I 
have been trying to package my jars into a zip with version and deploy them to the
remote repository.  Thus, I'm looking for any information that I can receive on how
to accomplish this task.

Thanks in advance,

-Conrad



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



Re: A list of goals and how to use them?

2004-01-29 Thread conradwt
Hi Brett, I know how to get a list of goals from Maven but I don't know how to use 
them in regards to configuring maven.xml or project.xml or project.properties.

-Conrad

 You're looking for the dist plugin. A full list of plugins is available at
 http://maven.apache.org/reference/plugins/index.html
 
 You can also run maven -g to see a full list.
 
 - Brett
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Friday, 30 January 2004 9:40 AM
  To: [EMAIL PROTECTED]
  Subject: A list of goals and how to use them?
  
  
  Hi, could someone tell me where I can find the list of goals 
  and how to use them?  I have been trying to package my jars 
  into a zip with version and deploy them to the remote 
  repository.  Thus, I'm looking for any information that I can 
  receive on how to accomplish this task.
  
  Thanks in advance,
  
  -Conrad
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  

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



Re: How to deploy a JAR to remote repo?

2004-01-29 Thread conradwt
Hi, I still cannot deploy the JAR file.  However, when I run the following command:

maven dist:deploy

It creates a file called distributions.tar.gz.  However, I don't want the source part
of the distributions just the jars, wars, and ears.  Finally, I would like the name to 
be as follows:

${project_name}-version.tar.gz

That contains the following:

   ${project_name}-version.jar
   ${project_name}-version.war
   ${project_name}-version.ear

   Note:  There may be more than one file for each type that has a different name.

I just need a clear example instead of doing this adhoc because I'm all over the
place at this point with trying to obtain information from the current documents.

Thanks,

-Conrad


 Hi, I was wondering, how does one deploy a JAR to a specific repository?
 
 Thanks in advance,
 
 -Conrad
 

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



xdoclet plugin?

2004-01-28 Thread conradwt
Hi, where can I download the xdoclet plugin?

Thanks,

-Conrad

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



Re: Sample EJB Project Using JBoss and Maven?

2004-01-28 Thread conradwt
Hi, after installing the xdoclet plugin, I'm now getting the following error message:

BEGIN TRANSCRIPT:

MY-MACHINE ~/workspace/webshop/WebShop-Beans
$ maven clean jar jar:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

clean:clean:
[delete] Deleting directory C:\workspace\webshop\WebShop-Beans\target

clean:

java:prepare-filesystem:
[mkdir] Created dir: C:\workspace\webshop\WebShop-Beans\target\classes

java:compile:
[echo] XDoclet : Generation of EJB interfaces and deployments
Attempting to download xjavadoc-1.0.2.jar.
WARNING: Failed to download xjavadoc-1.0.2.jar.

BUILD FAILED
File.. file:/c:/workspace/webshop/WebShop-Beans/
Element... attainGoal
Line.. 18
Column 41
The build cannot continue because of the following unsatisfied dependency:

xjavadoc-1.0.2.jar (no download url specified)

Total time: 8 seconds
Finished at: Wed Jan 28 14:45:51 PST 2004

END TRANSCRIPT:

However, I cannot locate file(s) where this dependency is listed.  In the 
Webshop-Beans directory, the project.xml has a reference to the following:

dependency
groupIdxdoclet/groupId
artifactIdxjavadoc/artifactId
version1.0/version
urlhttp://xdoclet.sourceforge.net//url
typejar/type
jarxjavadoc-1.0.jar/jar
properties/
/dependency

If anyone has any ideas as to how to resolve this error message, please post to the 
group and/or send me an e-mail.

Thanks in advance,

-Conrad

 Quoting [EMAIL PROTECTED]:
 
  BUILD FAILED
  File.. file:/c:/workspace/webshop/Webshop-Beans/
  Element... attainGoal
  Line.. 18
  Column 41
  No goal [xdoclet:ejbdoclet]
  Total time: 11 seconds
  Finished at: Tue Jan 27 17:36:50 PST 2004
 
 Do you have the xdoclet plugin installed?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Sample EJB Project Using JBoss and Maven?

2004-01-28 Thread conradwt
Hi, this is the first time that I saw the wiki on this topic.

Thanks for the information,

-Conrad

 [EMAIL PROTECTED] wrote:
  Hi, does anyone know where I can find a sample EJB project using JBoss and Maven?  
  I have seen alot of code fragements and other thing online but I'm looking for 
  something
  complete.  Well, I must go and I look forward to hearing from you soon.
  
  Thanks in advance,
  
  -Conrad
 
 Have you seen the wiki entry on this topic?
 
 http://wiki.codehaus.org/maven/CreatingEjbApplications
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Issues Building Webshop with Maven RC1?

2004-01-28 Thread conradwt
Hi, this is working now.  Now, I cannot generate the war from WebShop-App because the 
file generated from WebShop-Beans isn't WebShop-Beans-Stubs-0.9.8.jar.  It is

WebShop-Beans-0.9.8.jar  and this is the file installed in my local repository.  Just
thought I would let you know and thanks in advance.

-Conrad

 [EMAIL PROTECTED] wrote on 29/01/2004 12:12:38 PM:
 
  Hi, my local repository is located in the following location:
  
  C:/.maven/repository
  
  Also, this is the location that I use in the project.properties.
  
  maven.repo.local = C:/.maven/repository
  
  How does one find a dependency for a plugin?  I just downloaded it and 
  placed it into the Maven plugin's directory.
 
 Open up the plugin's project.xml file and check out the dependencies. The 
 download will be attempt first time round.
 
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Sample EJB Project Using JBoss and Maven?

2004-01-27 Thread conradwt
$ maven clean jar jar:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Hi, I have tried the webshop but I'm unable to get past the first command.

BEGIN TRANSCRIPT:

MY-MACHINE ~/workspace/webshop/Webshop-Beans
$ maven clean jar jar:install

clean:clean:
[delete] Deleting directory C:\workspace\webshop\Webshop-Beans\target

clean:

java:prepare-filesystem:
[mkdir] Created dir: C:\workspace\webshop\Webshop-Beans\target\classes

java:compile:
[echo] XDoclet : Generation of EJB interfaces and deployments

BUILD FAILED
File.. file:/c:/workspace/webshop/Webshop-Beans/
Element... attainGoal
Line.. 18
Column 41
No goal [xdoclet:ejbdoclet]
Total time: 11 seconds
Finished at: Tue Jan 27 17:36:50 PST 2004

END TRANSCRIPT:

BTW, I had to update project.properties with the following:

#
# local repository properties
#

maven.repo.local = C:/.maven/repository

#
# remote repositories properties
#

maven.repo.remote = http://www.ibiblio.org/maven/,http://maven.companyname.com/

If anyone has any ideas as to how to resolve this issue, please post to the group 
and/or send me an e-mail.

Thanks in advance,

-Conrad

 Hi, does anyone know where I can find a sample EJB project using JBoss and Maven?  I 
 have seen alot of code fragements and other thing online but I'm looking for 
 something
 complete.  Well, I must go and I look forward to hearing from you soon.
 
 Thanks in advance,
 
 -Conrad
 
 
 -
 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 Presentation For Maven and Developers?

2004-01-23 Thread conradwt
Hi, does anyone have overview documentation for Maven?  I'm looking to do a 
presentation on Maven.  In short, I trying to get the company to buy into it.  Thus, 
if anyone has any leads as to where I can locate such information, please drop me an 
e-mail or post to the e-mail list.

Thanks in advance,

-Conrad


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



Sample EJB Project Using JBoss and Maven?

2004-01-22 Thread conradwt
Hi, does anyone know where I can find a sample EJB project using JBoss and Maven?  I 
have seen alot of code fragements and other thing online but I'm looking for something
complete.  Well, I must go and I look forward to hearing from you soon.

Thanks in advance,

-Conrad


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



Forcing build of a dependent system?

2004-01-16 Thread conradwt
Hi, I have 2 software systems that I will call A and the other B.  Anyway, system A 
depends on B.  Thus, is there a way to setup maven to build B when I initiate a build 
or  deploy of A?

Thanks in advance,

-Conrad


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



Re: Adding Build Numbers To Generated Artifacts?

2004-01-07 Thread conradwt
Hey Brett, the time stamp would be a nice idea but it would be easier for us here to 
deal with build numbers.  Also, the file creation date will appear next to the file
on the web.

Thanks again,

-Conrad

 Can I suggest trying maven jar:install-snapshot? That'll timestamp them,
 which is perfect for nightlies.
 
 Cheers,
 Brett
 
  -Original Message-
  From: Jefferson K. French [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, 7 January 2004 12:00 PM
  To: Maven Users List; [EMAIL PROTECTED]
  Subject: Re: Adding Build Numbers To Generated Artifacts?
  
  
  Yes. Change the value of maven.final.name in the artifact's 
  preGoal. Something like:
  
preGoal name=jar:jar
  j:set var=maven.final.name 
  value=${pom.artifactId}-${version}/
  ant:echoUpdating snapshot JAR to: ${maven.final.name}/ant:echo
/preGoal
  
Jeff
  
  On Wed, 07 Jan 2004, at 00:51:22 [GMT GMT] [EMAIL PROTECTED] wrote:
  
   Hi, is there a way to add a build number onto the generated 
  artifacts?  
   This is mostly for the nightly builds.  For example, I 
  would like to 
   have the following:
  
   productname-2.3.4.10.jar  (where 10 is the build number).
  
   Thanks in advance,
  
   -Conrad
  
  
   
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  -- 
  mailto:[EMAIL PROTECTED]
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  

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



Simple EJB Project Example

2004-01-07 Thread conradwt
Hi, does some know where I can find a simple EJB project example using maven and JBoss?

Thanks in advance,

-Conrad


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



Generating EJB Interfaces?

2004-01-07 Thread conradwt
Hi, I'm successfully generating source with JavaCC.  However, I'm getting compiler 
error during the compile process.  BTW, I have set the outdir of the JavaCC generated 
source to the following:

${maven.build.src}/java

Now, I would like to generate the EJB interfaces and place them in the appropriate 
directory as well.  Is there something simple that I can add to the maven.xml to get
this task completed?

Thanks in advance,

-Conrad



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



Adding Build Numbers To Generated Artifacts?

2004-01-06 Thread conradwt
Hi, is there a way to add a build number onto the generated artifacts?  This is mostly 
for the nightly builds.  For example, I would like to have the following:

productname-2.3.4.10.jar  (where 10 is the build number).

Thanks in advance,

-Conrad


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



Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi, I was wondering, where and how would I set environment variables within Maven?  
For example, I'm trying to convert the following task attribute within my 'maven.xml':

javacchome=${env.JAVACC_HOME}/bin/lib

Thanks in advance,

-Conrad


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



maven.build.src variable?

2004-01-02 Thread conradwt
Hi, I was wondering, I was going to use the maven.build.src variable for the output 
location of my JAVACC preGoal.  Thus, I was wondering, do I need to update the 
project.xml to build this generated Java source?  If so, could someone let me know
what tags I would need to add to the project.xml?

Thanks in advance,

-Conrad




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



Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi, I would like to set it too an environment variable instead of hard coding it into 
my maven.xml.  Is this possible?  At this time, I haven't been able to locate a javacc 
plugin for Maven.  If there is one, could someone send me the relevant link?

Thanks in advance,

-Conrad

 In the Ant Optional task documentation under JavaCC, it says you can set the 
 javacchome variable for that task, so you wouldn't need an env var.  If maven 
 has a javacc plugin, but it won't take a property for javacchome, you'll have 
 to modify the plugin.jelly for that plugin or just use the ant task.
 
 http://ant.apache.org/manual/OptionalTasks/javacc.html
 
 -jake
 
 
 On Friday 02 January 2004 05:43 pm, [EMAIL PROTECTED] wrote:
  Hi, I was wondering, where and how would I set environment variables within
  Maven?  For example, I'm trying to convert the following task attribute
  within my 'maven.xml':
 
  javacchome=${env.JAVACC_HOME}/bin/lib
 
  Thanks in advance,
 
  -Conrad
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi gd, would I add the below two lines before my 

javacc ... /

Then I'm taking that I can use ${java.home} within the javacc tag.

Thanks in advance,

-Conrad

 [EMAIL PROTECTED] wrote:
 
 Hi, I was wondering, where and how would I set environment variables within Maven?  
 For example, I'm trying to convert the following task attribute within my 
 'maven.xml':
   
 
 
 something like that should do it :
 
 ant:property environment=env/
 ant:property name=javacc.home location=${env.JAVACC_HOME}/
 
 -- gd
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hey gb, it's working and thanks for the information.

-Conrad

 [EMAIL PROTECTED] wrote:
 
 Hi gd, would I add the below two lines before my 
 
 javacc ... /
 
 Then I'm taking that I can use ${java.home} within the javacc tag.
   
 
 i have never used javacc, although from the ant task description this seems valid
 
 ant:property environment=env/
 ant:property name=javacc.home location=${env.JAVACC_HOME}/
 
 javacc javacchome=${javacc.home} 
 target=src/javacc/grammar/Parser.jj 
 outputdirectory=${maven.build.dir}/javacc/src /
 
 best thing is to try it out..
 
 -- gd
 
 
 
 -
 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]



Creating Project XML that generates several artifacts?

2003-12-31 Thread conradwt
Hi, I have a project that generates 14 artifacts that includes:

JAR
EJB-JAR
WAR
EAR

Also, some of the classes are generated at compile time.  For example, the
EJB related files as well as the JAVACC specific files.  Thus, I was wondering,
what's the best way to structure directories and define the project.xml file(s).
At this time, I have added all the dependencies to the project.xml file but it seems
that I need to top-level project.xml file that call the subprojects to generate the
artifacts.  At this time, I have an ANT build script for the project and it works
just fine.  However, I'm wanting to switch over to Maven.

Thanks in advance,

-Conrad


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



JavaCC and JBoss Plugins

2003-12-31 Thread conradwt
Hi, is there a JavaCC plugin for Maven?  Also, where can I locate the documentation 
for the JBoss Plugin?

Thanks in advance,

-Conrad


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



Re: Creating Project XML that generates several artifacts?

2003-12-31 Thread conradwt
Hi Paul, does one have to install the multiproject plugin?

Thanks,

-Conrad

 Conrad,
 The short answer is to use the multi project plug-in.
 http://maven.apache.org/reference/plugins/multiproject/
 
 Notes:
 o Be sure to set the property maven.multiproject.type in
each projects project.properties
 
 o The multiproject project should be it's own project
 
 o Review the multiproject properties used by the multiproject project.
   http://maven.apache.org/reference/plugins/multiproject/properties.html
 
 Paul Spencer
 
 
 [EMAIL PROTECTED] wrote:
 
  Hi, I have a project that generates 14 artifacts that includes:
  
  JAR
  EJB-JAR
  WAR
  EAR
  
  Also, some of the classes are generated at compile time.  For example, the
  EJB related files as well as the JAVACC specific files.  Thus, I was wondering,
  what's the best way to structure directories and define the project.xml file(s).
  At this time, I have added all the dependencies to the project.xml file but it 
  seems
  that I need to top-level project.xml file that call the subprojects to generate the
  artifacts.  At this time, I have an ANT build script for the project and it works
  just fine.  However, I'm wanting to switch over to Maven.
  
  Thanks in advance,
  
  -Conrad
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Error Downloading ejb-2.0.jar

2003-12-31 Thread conradwt
Hi, I have updated my project.xml and project.properties with the xdoclet stuff as 
indicated in the Maven Docs.  Now, I'm getting the following message when I run 'maven 
java:compile':

$ maven java:compile
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download ejb-2.0.jar.
WARNING: Failed to download ejb-2.0.jar.
The build cannot continue because of the following unsatisfied dependency:

ejb-2.0.jar (no download url specified)

Total time: 4 seconds
Finished at: Wed Dec 31 13:41:30 PST 2003

At this time, all the ejb, jar, and war related code is under '${base.dir}/src/java'.
I simply want to compile everything and worry about breaking this stuff into multiple
projects in the future.

Thanks in advance,

-Conrad




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



Calling JavaCC Ant Task from Maven

2003-12-31 Thread conradwt
Hi, how does one call JavaCC Ant Task from Maven project.xml/project.properties?

Thanks,

-Conrad


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



Re: Configuring the remote repository?

2003-12-29 Thread conradwt
Hi, thanks for the reposnse to my post.  Anyway, I added the following name value pair
to my 'project.properties'.  Should this go into the build properties instead?  Now, 
does one still need to add the dependencies to the project.xml?  BTW, this application 
requires quite a few dependent JARS and i hope that I don't have to add them to this 
file.

Thanks in advance,

-Conrad

 maven.repo.remote property (comma separated list) :
 
 maven.repo.remote=http://ibiblio.org/maven,http://your.server.1/,http://maven-plugins.sf.net/
 
 http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties
 
 -- gd
 
 [EMAIL PROTECTED] wrote:
 
 Hi, how does one configure the location of the remote repositoty?
 
 Thanks,
 
 -Conrad
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
   
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



Re: Configuring the remote repository?

2003-12-29 Thread conradwt
Hi, is it possible to automatically generate the dependencies from a list of JAR files?

Thanks in advance,

-Conrad

 It should go in project.properties if you want everyone to use the
 same repo. The build.properties file is for local developer overrides.
 
 If I understand your second question, the answer is yes, you do need
 to list all your dependencies in project.xml. The repo property just
 tells where to look for the jars. You still need to define someplace
 what jars your project actually uses.
 
   Jeff
 
 On Mon, 29 Dec 2003, at 20:49:24 [GMT GMT] [EMAIL PROTECTED] wrote:
 
  Hi, thanks for the reposnse to my post. Anyway, I added the
  following name value pair to my 'project.properties'. Should this go
  into the build properties instead? Now, does one still need to add
  the dependencies to the project.xml? BTW, this application requires
  quite a few dependent JARS and i hope that I don't have to add them
  to this file.
 
  Thanks in advance,
 
  -Conrad
 
  maven.repo.remote property (comma separated list) :
  
  maven.repo.remote=http://ibiblio.org/maven,http://your.server.1/,http://maven-plugins.sf.net/
  
  http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties
  
  -- gd
  
  [EMAIL PROTECTED] wrote:
  
  Hi, how does one configure the location of the remote repositoty?
  
  Thanks,
  
  -Conrad
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  

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

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



When to add or not add dependencies?

2003-12-29 Thread conradwt
Hi, I just added all the dependencies that were not in my local repository to my 
remote repository.  BTW, the JARS in the local repository were downloaded when I 
initiated my
first 'maven java:compile'.  Now, does one have to add these dependencies to the 
project.xml too?  At this time, I'm getting error messages when I perform the above 
mentioned command.  It's not clear in the document when and when not to add 
dependencies
to the project.xml file.  Thanks in advance for any development advice in regards to 
this issue.

-Conrad






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



Configuring the remote repository?

2003-12-28 Thread conradwt
Hi, how does one configure the location of the remote repositoty?

Thanks,

-Conrad


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



Configuring the remote repository?

2003-12-28 Thread conradwt
Hi, how does one configure the location of the remote repositoty?

Thanks,

-Conrad


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



Some Maven Questions?

2003-12-24 Thread conradwt
Hi, I have the following maven questions:

1)  How does one create a maven remote repository?

2)  How does one properly add a 3rd party jar(s) to the maven remote repository?

3)  Where should one store generated jar(s), war(s), and ear(s) prior to deployment?
 After deployment?

Thanks in advance,

-Conrad


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




Junit Plugin For Maven

2003-12-23 Thread conradwt
Hi, could someone tell me where I can find the Junit Plugin for Maven-1.0-rc1?  At 
this time, I'm receiving the following error message:

BEGIN TRANSCRIPT:

$ maven test:test
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

java:prepare-filesystem:

java:compile:
[echo] Compiling to c:\daven/target/classes
[javac] Compiling 2 source files to C:\daven\target\classes
C:\daven\src\java\smartsoft\daven\BoxTest.java:3: package junit.framework does
ot exist
import junit.framework.TestCase;
   ^
C:\daven\src\java\smartsoft\daven\BoxTest.java:5: cannot resolve symbol
symbol  : class TestCase
location: class smartsoft.daven.BoxTest
public class BoxTest extends TestCase {
 ^
C:\daven\src\java\smartsoft\daven\BoxTest.java:9: cannot resolve symbol
symbol  : method assertEquals (int,int)
location: class smartsoft.daven.BoxTest
assertEquals( 4, b.getArea() );
^
3 errors

BUILD FAILED
File.. file:/C:/Documents and Settings/CTaylor/.maven/plugins/maven-java-p
gin-1.3/
Element... ant:javac
Line.. 34
Column 48
Compile failed; see the compiler error output for details.
Total time: 5 seconds
Finished at: Tue Dec 23 17:56:52 PST 2003

END TRANSCRIPT:

Thanks in advance,

-Conrad

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



Looking For Web Application Example?

2003-12-22 Thread conradwt
Hi, I'm looking for an example of building a web application project that generates 
the following artifacts within a single project:  war, ejb-jar, jar, and ear

Thanks in advance,

-Conrad


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



Maven Plugin For Weblogic

2003-12-22 Thread conradwt
Hi, I was wondering, if there is a Maven Plugin for Weblogic?

Thanks in advance,

-Conrad


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



Re: Tool to create project.xml?

2003-12-22 Thread conradwt
Hi, I have place the downloaded mevenide folder into the plugin directorty of Eclipse. 
 Now, I don't know how to access it via the Eclipse GUI.  Thus, if anyone has this 
information, please post to the group and/or send me an e-mail.

Thanks in advance,

-Conrad


 maven genapp will create a basic one.  Also, the mevenide project is 
 working on tools to create, edit and synchronize POM files 
 (http://mevenide.sourceforge.net).
 
 jeff
 
 [EMAIL PROTECTED] wrote:
  Hi, is there a tool to create a 'project.xml'?
  
  Thanks,
  
  -Conrad
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -- 
 jeff bonevich
 mailto: [EMAIL PROTECTED]
 
 Any sufficiently advanced technology is indistinguishable from magic.
 Arthur C. Clarke
 
 Programming today is a race between software engineers striving to
 build bigger and better idiot-proof programs, and the Universe trying
 to produce bigger and better idiots. So far, the Universe is winning.
 Rich Cook
 
 All programmers are playwrights and all computers are lousy actors.
 Unknown
 
 
 -
 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]



Error Creating Project

2003-12-19 Thread conradwt
Hi, I was attempting to create a project and I received the following error:

BEGIN:

$ maven -Dpackage=com.ussearch.darwin genapp
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 com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.C
lass;@1d9dc39 for org.apache.commons.logging.impl.Log4JLogger
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:272)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:246)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at org.apache.maven.cli.App.init(App.java:218)
at org.apache.maven.cli.App.main(App.java:1108)
... 6 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
 constructor [Ljava.lang.Class;@1d9dc39 for org.apache.commons.logging.impl.Log4
JLogger
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:432)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:525)
... 11 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.getConstructor(Class.java:1019)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:429)
... 12 more

END:

I have the commons-logging.jar in my installed extensions directory.  Thus, I really 
don't understand why I'm getting this error message.  If anyone has any ideas, please 
post to the group and/or send me an e-mail.

Thanks in advance,

-Conrad

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



Tool to create project.xml?

2003-12-19 Thread conradwt
Hi, is there a tool to create a 'project.xml'?

Thanks,

-Conrad


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