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, <[EMAIL PROTECTED]> wrote:

> Send devs mailing list submissions to
>        [email protected]
>
> 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
>        [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>        [EMAIL PROTECTED]
>
> 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 ([EMAIL PROTECTED])
>   3. Re: [proposal] upgrade web-gwt to gwt 1.4 (Sergiu Dumitriu)
>   4. Re: GWT 1.4 upgrade ([EMAIL PROTECTED])
>   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 <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] Building Xwiki core
> To: XWiki Developers <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> Subject: [xwiki-devs] [proposal] upgrade web-gwt to gwt 1.4
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> 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-gwt-gwt14/
> .
> 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 <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] [proposal] upgrade web-gwt to gwt 1.4
> To: XWiki Developers <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> [EMAIL PROTECTED] 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-gwt-gwt14/
> > .
> > 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: [EMAIL PROTECTED]
> Subject: Re: [xwiki-devs] GWT 1.4 upgrade
> To: "XWiki Developers" <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> 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
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 4 Mar 2008 05:34:44 +0100 (CET)
> From: "Jerome Velociter" <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] [proposal] upgrade web-gwt to gwt 1.4
> To: "XWiki Developers" <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> 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-gwt-gwt14/
> > .
> > 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
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 4 Mar 2008 10:19:36 +0530
> From: "sachin mittal" <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] Building Xwiki core (Kamna Jain)
> To: [email protected]
> Message-ID:
>        <[EMAIL PROTECTED]>
> 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" <[EMAIL PROTECTED]>
> > Subject: Re: [xwiki-devs] Building Xwiki core
> > To: [email protected]
> > Message-ID:
> >        <[EMAIL PROTECTED]>
> > 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.
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.xwiki.org/pipermail/devs/attachments/20080304/8bd2475b/attachment-0001.htm
>
> ------------------------------
>
> Message: 7
> Date: Tue, 4 Mar 2008 08:38:11 +0100
> From: Vincent Massol <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] [xwiki-notifications] r8181 -
>        xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki
> To: XWiki Developers <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Mar 3, 2008, at 9:57 PM, sdumitriu (SVN) wrote:
>
> > Author: sdumitriu
> > Date: 2008-03-03 21:57:43 +0100 (Mon, 03 Mar 2008)
> > New Revision: 8181
> >
> > Modified:
> >   xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> > XWiki.java
> > Log:
> > XWIKI-2170: Allow inactive users to see specific pages
>
> What's an inactive user?
>
> I think the code below would benefit from some comment and from a
> separate method, like boolean checkAccessForInactiveUsers()
>
> Do we have tests to prove this works? :) Since this seems to be a new
> feature, I think we really need some tests.
>
> Thanks
> -Vincent
>
> > Done.
> > Patch submitted by David Ward, applied with minor changes.
> >
> >
> > Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/
> > xwiki/XWiki.java
> > ===================================================================
> > --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> > XWiki.java    2008-03-03 20:01:33 UTC (rev 8180)
> > +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> > XWiki.java    2008-03-03 20:57:43 UTC (rev 8181)
> > @@ -4209,13 +4209,26 @@
> >                 null,
> >                 args);
> >         } else if (checkActive(context) == 0) {
> > -            Object[] args = {context.getUser()};
> > -            setPhonyDocument(docName, context, vcontext);
> > -            throw new
> > XWikiException(XWikiException.MODULE_XWIKI_USER,
> > -                XWikiException.ERROR_XWIKI_USER_INACTIVE,
> > -                "User {0} account is inactive",
> > -                null,
> > -                args);
> > +            boolean allow = false;
> > +            String allowed =
> > Param("xwiki.inactiveuser.allowedpages", "");
> > +            if (context.getAction().equals("view") && !
> > allowed.equals("")) {
> > +                String[] allowedList = StringUtils.split(allowed,
> > " ,");
> > +                for (int i=0; i < allowedList.length; i++) {
> > +                    if (allowedList[i].equals(doc.getFullName())) {
> > +                        allow = true;
> > +                        break;
> > +                    }
> > +                }
> > +            }
> > +            if (!allow) {
> > +                Object[] args = {context.getUser()};
> > +                setPhonyDocument(docName, context, vcontext);
> > +                throw new
> > XWikiException(XWikiException.MODULE_XWIKI_USER,
> > +                    XWikiException.ERROR_XWIKI_USER_INACTIVE,
> > +                    "User {0} account is inactive",
> > +                    null,
> > +                    args);
> > +            }
> >         }
> >
> >         context.put("doc", doc);
> >
> > _______________________________________________
> > notifications mailing list
> > [EMAIL PROTECTED]
> > http://lists.xwiki.org/mailman/listinfo/notifications
>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 4 Mar 2008 08:41:22 +0100
> From: Vincent Massol <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] [xwiki-notifications] r8184 -
>        xwiki-platform/core/branches/xwiki-core-1.3
> /xwiki-core/src/main/java/com/xpn/xwiki
>
> To: XWiki Developers <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> hmmm.... I'm really against adding new features, in a  RC phase!
>
> I'll prefer this to be rolled back to be honest.
>
> However if we want to keep it then we need some tests that'll prove
> it's not breaking anything.
>
> We shouldn't add dangerous stuff like this in a RC phase and
> especially not without a vote IMO.
>
> Thanks
> -Vincent
>
> On Mar 3, 2008, at 10:18 PM, sdumitriu (SVN) wrote:
>
> > Author: sdumitriu
> > Date: 2008-03-03 22:18:54 +0100 (Mon, 03 Mar 2008)
> > New Revision: 8184
> >
> > Modified:
> >   xwiki-platform/core/branches/xwiki-core-1.3/xwiki-core/src/main/
> > java/com/xpn/xwiki/XWiki.java
> > Log:
> > XWIKI-2170: Allow inactive users to see specific pages
> > Done.
> > Patch submitted by David Ward, applied with minor changes.
> > Merged from [EMAIL PROTECTED]
> >
> >
> > Modified: xwiki-platform/core/branches/xwiki-core-1.3/xwiki-core/src/
> > main/java/com/xpn/xwiki/XWiki.java
> > ===================================================================
> > --- xwiki-platform/core/branches/xwiki-core-1.3/xwiki-core/src/main/
> > java/com/xpn/xwiki/XWiki.java 2008-03-03 21:18:14 UTC (rev 8183)
> > +++ xwiki-platform/core/branches/xwiki-core-1.3/xwiki-core/src/main/
> > java/com/xpn/xwiki/XWiki.java 2008-03-03 21:18:54 UTC (rev 8184)
> > @@ -4211,13 +4211,26 @@
> >                 null,
> >                 args);
> >         } else if (checkActive(context) == 0) {
> > -            Object[] args = {context.getUser()};
> > -            setPhonyDocument(docName, context, vcontext);
> > -            throw new
> > XWikiException(XWikiException.MODULE_XWIKI_USER,
> > -                XWikiException.ERROR_XWIKI_USER_INACTIVE,
> > -                "User {0} account is inactive",
> > -                null,
> > -                args);
> > +            boolean allow = false;
> > +            String allowed =
> > Param("xwiki.inactiveuser.allowedpages", "");
> > +            if (context.getAction().equals("view") && !
> > allowed.equals("")) {
> > +                String[] allowedList = StringUtils.split(allowed,
> > " ,");
> > +                for (int i=0; i < allowedList.length; i++) {
> > +                    if (allowedList[i].equals(doc.getFullName())) {
> > +                        allow = true;
> > +                        break;
> > +                    }
> > +                }
> > +            }
> > +            if (!allow) {
> > +                Object[] args = {context.getUser()};
> > +                setPhonyDocument(docName, context, vcontext);
> > +                throw new
> > XWikiException(XWikiException.MODULE_XWIKI_USER,
> > +                    XWikiException.ERROR_XWIKI_USER_INACTIVE,
> > +                    "User {0} account is inactive",
> > +                    null,
> > +                    args);
> > +            }
> >         }
> >
> >         context.put("doc", doc);
>
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 4 Mar 2008 08:45:39 +0100
> From: Vincent Massol <[EMAIL PROTECTED]>
> Subject: Re: [xwiki-devs] GWT 1.4 upgrade
> To: XWiki Developers <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Mar 3, 2008, at 11:51 PM, [EMAIL PROTECTED] wrote:
>
> > 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.
>
> ok, fine with me, makes sense especially with how GWT is progressing
> fast.
>
> Thanks for posting back.
>
> -Vincent
>
> > 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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> End of devs Digest, Vol 9, Issue 9
> **********************************
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to