Re: [me] Setting up the project in my IDE

2005-08-10 Thread Trygve Laugstøl
On Wed, Aug 10, 2005 at 06:49:40PM +0200, Joerg Hohwiller wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi there,
 
 I got a little lost in jakarta-commons since my getting involved?
 thread, but finally I checked out the complete m2 thing.
 You tailered your components quite small - which (usually) leads to a
 gread design. Anyways I am little frustrated setting all this up in my
 JAVA IDE (eclipse). I tried the according plugin to generate the IDE
 config but did not succeed since the toplevel POM seems to be broken.

Broken how? Not all of the modules are in the default modules collection
so you might have to go into some sub directories to be able to generate
the project files for all Maven 2 artifacts.

 Do you have any suggestions (or maybe a developers manual :) ) to make
 my start a little easier?

I added some how to develop Maven 2 earlier today, but as the site it
not deployed yet you'll have to read it from the Subversion repository[1].
Not that that make it any harder to read, it's APT after all ;)

As this is only a small start any contributions or just plain notes you're
takin while getting into Maven 2 development would be appreciated.

[1]: 
https://svn.apache.org/repos/asf/maven/components/trunk/maven-site/src/site/apt/developers/development-guide.apt

--
Trygve


signature.asc
Description: Digital signature


Re: [me] Setting up the project in my IDE

2005-08-10 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Trygve Laugstøl wrote:
 On Wed, Aug 10, 2005 at 06:49:40PM +0200, Joerg Hohwiller wrote:
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,

I got a little lost in jakarta-commons since my getting involved?
thread, but finally I checked out the complete m2 thing.
You tailered your components quite small - which (usually) leads to a
gread design. Anyways I am little frustrated setting all this up in my
JAVA IDE (eclipse). I tried the according plugin to generate the IDE
config but did not succeed since the toplevel POM seems to be broken.
 
 
 Broken how? Not all of the modules are in the default modules collection
 so you might have to go into some sub directories to be able to generate
 the project files for all Maven 2 artifacts.

[EMAIL PROTECTED]:~/projects/maven2$ m2 eclipse:eclipse
[INFO]
-

[INFO] BUILD FAILURE
[INFO]
-

[INFO] Reason: Failed to parse model from file
'/home/joerg/projects/maven2/pom.xml'.
Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...snapshotRepository\n  id... @121:11) '
[INFO]
-

[INFO] Total time:  1 second
[INFO] Finished at: Wed Aug 10 19:16:09 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-

[EMAIL PROTECTED]:~/projects/maven2$ cd maven-artifact
[EMAIL PROTECTED]:~/projects/maven2/maven-artifact$ m2 eclipse:eclipse
[INFO] maven: using locally installed snapshot
[INFO]
-

[INFO] BUILD FAILURE
[INFO]
-

[INFO] Reason: Failed to parse model from file
'/home/joerg/.m2/repository/org/apache/maven/maven/2.0-beta-1-SNAPSHOT/maven-2.0-beta-1-SNAPSHOT.pom'.
Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...snapshotRepository\n  id... @121:11) '
[INFO]
-

[INFO] Total time:  1 second
[INFO] Finished at: Wed Aug 10 19:16:34 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-


So I need a toplevel POM that is NOT broken.

 
 
Do you have any suggestions (or maybe a developers manual :) ) to make
my start a little easier?
 
 
 I added some how to develop Maven 2 earlier today, but as the site it
 not deployed yet you'll have to read it from the Subversion repository[1].
 Not that that make it any harder to read, it's APT after all ;)
 
 As this is only a small start any contributions or just plain notes you're
 takin while getting into Maven 2 development would be appreciated.
 
 [1]: 
 https://svn.apache.org/repos/asf/maven/components/trunk/maven-site/src/site/apt/developers/development-guide.apt
Thanks. But its more about general support and svn usage.
I will contribute something if I am through with this (and its not the
setup every single subproject in eclipse by hand solution).
 
 --
 Trygve

Thanks
   Jörg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC+jd9mPuec2Dcv/8RAvvqAJ0SakMd63DkG4af2d3Fut2eY4oY7wCfT2r3
d2Pwke9cRcBmk17UIJRYEcE=
=QDEX
-END PGP SIGNATURE-

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



Re: [me] Setting up the project in my IDE

2005-08-10 Thread Trygve Laugstøl
On Wed, Aug 10, 2005 at 07:21:01PM +0200, Joerg Hohwiller wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Trygve Laugstøl wrote:
  On Wed, Aug 10, 2005 at 06:49:40PM +0200, Joerg Hohwiller wrote:
  
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi there,
 
 I got a little lost in jakarta-commons since my getting involved?
 thread, but finally I checked out the complete m2 thing.
 You tailered your components quite small - which (usually) leads to a
 gread design. Anyways I am little frustrated setting all this up in my
 JAVA IDE (eclipse). I tried the according plugin to generate the IDE
 config but did not succeed since the toplevel POM seems to be broken.
  
  
  Broken how? Not all of the modules are in the default modules collection
  so you might have to go into some sub directories to be able to generate
  the project files for all Maven 2 artifacts.
 
 [EMAIL PROTECTED]:~/projects/maven2$ m2 eclipse:eclipse

[snip]

 So I need a toplevel POM that is NOT broken.

You need to use the latest Maven 2 from trunk to be able to build Maven 2.
Read up on how to build Maven 2 here[1].

[1]: http://maven.apache.org/maven2/building.html

 Do you have any suggestions (or maybe a developers manual :) ) to make
 my start a little easier?
  
  
  I added some how to develop Maven 2 earlier today, but as the site it
  not deployed yet you'll have to read it from the Subversion repository[1].
  Not that that make it any harder to read, it's APT after all ;)
  
  As this is only a small start any contributions or just plain notes you're
  takin while getting into Maven 2 development would be appreciated.
  
  [1]: 
  https://svn.apache.org/repos/asf/maven/components/trunk/maven-site/src/site/apt/developers/development-guide.apt
 Thanks. But its more about general support and svn usage.
 I will contribute something if I am through with this (and its not the
 setup every single subproject in eclipse by hand solution).

Just give me some pointers to what you need more information on and I'll
try to write up something.

--
Trygve


signature.asc
Description: Digital signature


Re: [me] Setting up the project in my IDE

2005-08-10 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Trygve,

So I need a toplevel POM that is NOT broken.
 
 
 You need to use the latest Maven 2 from trunk to be able to build Maven 2.
 Read up on how to build Maven 2 here[1].
 
 [1]: http://maven.apache.org/maven2/building.html
 
 
I DO use the latest!

[EMAIL PROTECTED]:~/projects/maven2$ cat .svn/entries | grep url
   url=http://svn.apache.org/repos/asf/maven/components/trunk;
[EMAIL PROTECTED]:~/projects/maven2$ svn update
Revision 231289.
[EMAIL PROTECTED]:~/projects/maven2$ m2 eclipse:eclipse
[INFO]
-

[INFO] BUILD FAILURE
[INFO]
-

[INFO] Reason: Failed to parse model from file
'/home/joerg/projects/maven2/pom.xml'.
Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...snapshotRepository\n  id... @121:11) '
[INFO]
-

[INFO] Total time:  1 second
[INFO] Finished at: Wed Aug 10 20:24:44 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-


Regards
  Jörg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC+kbImPuec2Dcv/8RAga6AJ9Oq8x6zdArrRDkihPBEZEJZauAUACfaxtO
cRV2T5cCHaWugHIaGczZwp4=
=EyQv
-END PGP SIGNATURE-

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



Re: [me] Setting up the project in my IDE

2005-08-10 Thread Trygve Laugstøl
On Wed, Aug 10, 2005 at 08:26:16PM +0200, Joerg Hohwiller wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Trygve,
 
 So I need a toplevel POM that is NOT broken.
  
  
  You need to use the latest Maven 2 from trunk to be able to build Maven 2.
  Read up on how to build Maven 2 here[1].
  
  [1]: http://maven.apache.org/maven2/building.html
  
  
 I DO use the latest!

[snip]

Pasting lots of output is not the most effective way of getting help.

Make sure that the version you installed is the one that you are actually
using, look in PATH and make sure that M2_HOME points to the right
location. Verify that are running the correct version by running 

$ m2 -version

Mine outputs Maven version: 2.0-beta-1-SNAPSHOT.

--
Trygve


signature.asc
Description: Digital signature


Re: [me] Setting up the project in my IDE

2005-08-10 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Trygve Laugstøl wrote:
 On Wed, Aug 10, 2005 at 08:26:16PM +0200, Joerg Hohwiller wrote:
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Trygve,


So I need a toplevel POM that is NOT broken.


You need to use the latest Maven 2 from trunk to be able to build Maven 2.
Read up on how to build Maven 2 here[1].

[1]: http://maven.apache.org/maven2/building.html



I DO use the latest!
 
 
 [snip]
 
 Pasting lots of output is not the most effective way of getting help.
I did not mean to spam you with my console output. I just thought the
few lines would say very precises on which SVN_ROOT and revision I am
working and that I still have the problem with the latest head revision.
 
 Make sure that the version you installed is the one that you are actually
 using, look in PATH and make sure that M2_HOME points to the right
 location. Verify that are running the correct version by running 
 
 $ m2 -version
 
 Mine outputs Maven version: 2.0-beta-1-SNAPSHOT.
Yep, you gessed it. The problem is that I did not read everything
completely. Sorry for that. So since I have beta-1 instead of alpha-3 it
works fine now.
 
 --
 Trygve

Thank you
  Jörg

p.s.: In case anyone cares:
There is a very clear suggestion for commandline arguments from GNU
that is used by most linux and other programms. So for full word
triggers it should be -- as prefix. This allows combining single
letter options without clashing the full-wort options.
So -h or --help.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC+miSmPuec2Dcv/8RApGHAKCJJDf5Che0hncv7XEP8GOvvrGFDgCfWAY0
lyHfdo47Yf/CJRGTgYmy9ZI=
=p8Mm
-END PGP SIGNATURE-

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