Yes, I have both JDK and JRE installed in the same location. (is that a
problem?)
Sachin, I did add the bin dir. of mvn install to the Path variable but it
does not seem to help.
mvn --version also gives the same error as mvn install:
ERROR: JAVA_HOME not found in your environment.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
This is the error I get.
Thanks
On Tue, Mar 4, 2008 at 1:45 AM, <devs-request(a)xwiki.org> wrote:
  Send devs mailing list submissions to
        devs(a)xwiki.org
 To subscribe or unsubscribe via the World Wide Web, visit
        
http://lists.xwiki.org/mailman/listinfo/devs
 or, via email, send a message with subject or body 'help' to
        devs-request(a)xwiki.org
 You can reach the person managing the list at
        devs-owner(a)xwiki.org
 When replying, please edit your Subject line so it is more specific
 than "Re: Contents of devs digest..."
 Today's Topics:
   1. Re: Building Xwiki core (Sergiu Dumitriu)
   2. [proposal] upgrade web-gwt to gwt 1.4 (ancapaula.luca(a)xwiki.com)
   3. Re: [proposal] upgrade web-gwt to gwt 1.4 (Sergiu Dumitriu)
   4. Re: GWT 1.4 upgrade (ancapaula.luca(a)xwiki.com)
   5. Re: [proposal] upgrade web-gwt to gwt 1.4 (Jerome Velociter)
   6. Re: Building Xwiki core (Kamna Jain) (sachin mittal)
   7. Re: [xwiki-notifications] r8181 -
      xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki
      (Vincent Massol)
   8. Re: [xwiki-notifications] r8184 -
      xwiki-platform/core/branches/xwiki-core-1.3
 /xwiki-core/src/main/java/com/xpn/xwiki
      (Vincent Massol)
   9. Re: GWT 1.4 upgrade (Vincent Massol)
 ----------------------------------------------------------------------
 Message: 1
 Date: Mon, 03 Mar 2008 22:43:48 +0100
 From: Sergiu Dumitriu <sergiu(a)xwiki.com>
 Subject: Re: [xwiki-devs] Building Xwiki core
 To: XWiki Developers <devs(a)xwiki.org>
 Message-ID: <47CC7114.4040006(a)xwiki.com>
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Kamna Jain wrote:
  Yes,
 I am setting the JAVA_HOME variable with DOS prompt
 and after I set it, I log of and then it is available in the list of
 env. variables after I log back in.
 But, when I try to run mvn install, it still gives me the same error.
 Also, although, I set the M2_HOMe variable, I am not able to use mvn
 command without its location! (I have to write the full path of the
 mvn.bat file and then say install after a space)
 I dont know what I am doing wrong.
 Thanks for your replies.
 
 I remember seeing this on another windows machine. It has something to
 do with that crappy thing they like to call an Operating System and the
 way it executes the maven script.
 Do you by any chance have installed both the JDK and the JRE?
 --
 Sergiu Dumitriu
 
http://purl.org/net/sergiu/
 ------------------------------
 Message: 2
 Date: Mon, 3 Mar 2008 23:31:15 +0100 (CET)
 From: ancapaula.luca(a)xwiki.com
 Subject: [xwiki-devs] [proposal] upgrade web-gwt to gwt 1.4
 To: devs(a)xwiki.org
 Message-ID: <51105.130.79.213.35.1204583475.squirrel(a)mail.xwiki.com>
 Content-Type: text/plain;charset=iso-8859-1
 Hi developers!
 I'd like to upgrade the web-gwt module to gwt 1.4, as in the dedicated
 branch
 
https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/web/branches/xwiki-web-g…
 .
 A stable upgrade will be finalized tomorrow, although there will still
 remain a couple of appearance issues to be solved until the xwiki-web 1.4
 milestone release.
 WDYT?
 ------------------------------
 Message: 3
 Date: Mon, 03 Mar 2008 23:39:36 +0100
 From: Sergiu Dumitriu <sergiu(a)xwiki.com>
 Subject: Re: [xwiki-devs] [proposal] upgrade web-gwt to gwt 1.4
 To: XWiki Developers <devs(a)xwiki.org>
 Message-ID: <47CC7E28.90507(a)xwiki.com>
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 ancapaula.luca(a)xwiki.com wrote:
  Hi developers!
 I'd like to upgrade the web-gwt module to gwt 1.4, as in the dedicated
 branch
 
https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/web/branches/xwiki-web-g…
  .
 A stable upgrade will be finalized tomorrow, although there will still
 remain a couple of appearance issues to be solved until the xwiki-web 
 1.4
  milestone release.
 WDYT?
 
 +1
 --
 Sergiu Dumitriu
 
http://purl.org/net/sergiu/
 ------------------------------
 Message: 4
 Date: Mon, 3 Mar 2008 23:51:35 +0100 (CET)
 From: ancapaula.luca(a)xwiki.com
 Subject: Re: [xwiki-devs] GWT 1.4 upgrade
 To: "XWiki Developers" <devs(a)xwiki.org>
 Message-ID: <39500.130.79.213.35.1204584695.squirrel(a)mail.xwiki.com>
 Content-Type: text/plain;charset=iso-8859-1
 Because from the reliability point of view the native gwt solution is
 better than a third-party library and produces cleaner code while the
 styling drawback can easily be ameliorated, we have chosen it from the two
 and applied it for the gwt 1.4 upgrade branch.
 We also didn't get any response from the gwt-tk mailing list regarding a
 future release.
  Hi devs,
 We have planned the GWT 1.4 upgrade for the next XWatch milestone at the
 end of march. For this, we need to make a decision regarding the web-gwt
 dependencies (for the moment, the xwiki gwt dialogs rely on the gwt-tk
 library that does not yet have a release for gwt 1.4) so we must choose
 from:
 - using another library to provide this functionality, particularly the
 MyGwt library
       pros: nice looks and good API + the possibility of using the 
 library
  components in including projects.
       cons: code changes required by the clean switch (updating all 
 involved
  classes to use library API instead of GWT API),
the lack of a maven
 repository with all available MyGwt versions (only 0.5.0 rc). As well,
 while testing, I experienced a couple of rendering issues (caused,
 seemingly by the use of the strict or xhtml DTD).
 - using the native gwt modal dialogs introduced in 1.4:
       pros: not styled (we totally control the styling process and can 
 build an
  uniform look); widgets consistency, at least at
this level. A big
 advantage is that the web-gwt module will not depend on any other 
 library
  anymore.
       cons:  not styled, the usual GWT API (which can be poor in some
 situations); GWT also has some problems caused by the standard mode
 interpretation in browsers (caused by the doctype declaration) but in
 this situation the code seems to be stable.
 What do you think?
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs
 
 ------------------------------
 Message: 5
 Date: Tue, 4 Mar 2008 05:34:44 +0100 (CET)
 From: "Jerome Velociter" <jerome(a)xwiki.com>
 Subject: Re: [xwiki-devs] [proposal] upgrade web-gwt to gwt 1.4
 To: "XWiki Developers" <devs(a)xwiki.org>
 Message-ID: <57026.86.124.34.145.1204605284.squirrel(a)mail.xwiki.com>
 Content-Type: text/plain;charset=iso-8859-1
 +1,
 Jerome.
  Hi developers!
 I'd like to upgrade the web-gwt module to gwt 1.4, as in the dedicated
 branch
 
https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/web/branches/xwiki-web-g…
  .
 A stable upgrade will be finalized tomorrow, although there will still
 remain a couple of appearance issues to be solved until the xwiki-web 
 1.4
  milestone release.
 WDYT?
 
 > _______________________________________________
 > devs mailing list
 > devs(a)xwiki.org
 > 
http://lists.xwiki.org/mailman/listinfo/devs
 >
 ------------------------------
 Message: 6
 Date: Tue, 4 Mar 2008 10:19:36 +0530
 From: "sachin mittal" <sjmittal(a)gmail.com>
 Subject: Re: [xwiki-devs] Building Xwiki core (Kamna Jain)
 To: devs(a)xwiki.org
 Message-ID:
        <79d89bcf0803032049r49a43339hf583a9d5f5526d5e(a)mail.gmail.com>
 Content-Type: text/plain; charset="iso-8859-1"
 Hi,
 Can you paste the console output.
 You can add the maven bin directory to the path variable so that you dont
 have to type the full path to mvn.bat every time you run the mvn scripts.
 Also what do you get when you type mvn -version in the command prompt.
 Thanks
 Sachin
----------------------------------------------------------------------
 Message: 1
 Date: Mon, 3 Mar 2008 15:32:30 -0600
 From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
 Subject: Re: [xwiki-devs] Building Xwiki core
 To: devs(a)xwiki.org
 Message-ID:
        <fb681d280803031332y756f2f66g72f65d3b687ca66(a)mail.gmail.com>
 Content-Type: text/plain; charset="iso-8859-1"
 Yes,
 I am setting the JAVA_HOME variable with DOS prompt
 and after I set it, I log of and then it is available in the list of 
 env.
  variables after I log back in.
 But, when I try to run mvn install, it still gives me the same error.
 Also, although, I set the M2_HOMe variable, I am not able to use mvn
 command
 without its location! (I have to write the full path of the mvn.bat file
 and
 then say install after a space)
 I dont know what I am doing wrong.
 Thanks for your replies.