You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2010/06/09 14:43:21 UTC

Ant devs need help from users with "exotic" OSes

Hi all,

we are considering to change the code that reads environment variables
inside of Ant from the current "fork a platform specific executable"
approach System.getenv() when running on Java5+.  This change may result
in different results and so we need your help in order to determine what
kind of differences we may encounter.

We already know that System.getenv() returns two or three additional
environment variables on Windows while we seem to get the same results
on various flavors of Linux, as well as Solaris and Mac OS X using
different versions of Java.

<http://people.apache.org/~bodewig/ant-env.zip> contains a simple
command line Java tool (requires Java5+) that we'd ask anybody with
access to an operating system not listed above to execute (java -jar
ant-env.jar).  If it reports any differences, please let us know via
<https://issues.apache.org/bugzilla/show_bug.cgi?id=49366> (if it isn't
already there, that is).

In particular we'd love to hear from people running z/OS or OpenVMS.

Many thanks

     Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant devs need help from users with "exotic" OSes

Posted by Gilles Scokart <gs...@gmail.com>.
Nothing special on HPUX

>java -jar ant-env.jar
Detected OS_NAME: hp-ux
Detected OS_ARCH: ia64w
Detected OS_VERSION: b.11.31
Detected Java Version: 1.5.0.12-_21_mar_2008
Detected Java Vendor: Hewlett-Packard Co.
Detected Java VM Version: 1.5.0.12 jinteg:03.21.08-19:43 IA64W
Detected Java VM Name: Java HotSpot(TM) 64-Bit Server VM

Both methods returned the same environment information


Gilles Scokart



On 9 June 2010 14:43, Stefan Bodewig <bo...@apache.org> wrote:
> Hi all,
>
> we are considering to change the code that reads environment variables
> inside of Ant from the current "fork a platform specific executable"
> approach System.getenv() when running on Java5+.  This change may result
> in different results and so we need your help in order to determine what
> kind of differences we may encounter.
>
> We already know that System.getenv() returns two or three additional
> environment variables on Windows while we seem to get the same results
> on various flavors of Linux, as well as Solaris and Mac OS X using
> different versions of Java.
>
> <http://people.apache.org/~bodewig/ant-env.zip> contains a simple
> command line Java tool (requires Java5+) that we'd ask anybody with
> access to an operating system not listed above to execute (java -jar
> ant-env.jar).  If it reports any differences, please let us know via
> <https://issues.apache.org/bugzilla/show_bug.cgi?id=49366> (if it isn't
> already there, that is).
>
> In particular we'd love to hear from people running z/OS or OpenVMS.
>
> Many thanks
>
>     Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant devs need help from users with "exotic" OSes

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-06-10, glenn opdycke-hansen wrote:

> I did not execute the .jar.  Instead I noticed the bin folder and ran the
> .bat file.

I see.

> When the .jar was run the following output was seen:

> Detected OS_NAME: windows xp
> Detected OS_ARCH: x86
> Detected OS_VERSION: 5.1
> Detected Java Version: 1.6.0_18
> Detected Java Vendor: Sun Microsystems Inc.
> Detected Java VM Version: 16.0-b13
> Detected Java VM Name: Java HotSpot(TM) Client VM

> Only in 1.8.2: =::=::\
> Only in 1.8.2: =C:=C:\Documents and Settings\gopdyck\My
> Documents\Downloads\ant-env

Yes, these are two of up to three variables known to come back
additionally on Windows.

Thanks

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant devs need help from users with "exotic" OSes

Posted by glenn opdycke-hansen <gl...@gmail.com>.
I did not execute the .jar.  Instead I noticed the bin folder and ran the
.bat file.  That is why I asked for instructions to run the test. Danke.
 (And now i see that you did provide that information.  I did not read it
carefully enough.)
When the .jar was run the following output was seen:

Detected OS_NAME: windows xp
Detected OS_ARCH: x86
Detected OS_VERSION: 5.1
Detected Java Version: 1.6.0_18
Detected Java Vendor: Sun Microsystems Inc.
Detected Java VM Version: 16.0-b13
Detected Java VM Name: Java HotSpot(TM) Client VM

Only in 1.8.2: =::=::\
Only in 1.8.2: =C:=C:\Documents and Settings\gopdyck\My
Documents\Downloads\ant-env

--glenn


On Wed, Jun 9, 2010 at 22:41, Stefan Bodewig <bo...@apache.org> wrote:

> On 2010-06-09, glenn opdycke-hansen wrote:
>
> > Were there instructions for running the test?
>
> No, it is supposed to be just the -jar.  You can throw in an additional
> -v after the jar name to see all environment variables but that
> shouldn't be needed.
>
> > I ran it on windows and got no output.
>
> No output at all?
>
> This is what it should look like
>
> ,----
> | stefan@birdy:~/Desktop$ java -jar ant-env.jar
> | Detected OS_NAME: linux
> | Detected OS_ARCH: i386
> | Detected OS_VERSION: 2.6.32-22-generic
> | Detected Java Version: 1.6.0_18
> | Detected Java Vendor: Sun Microsystems Inc.
> | Detected Java VM Version: 14.0-b16
> | Detected Java VM Name: OpenJDK Client VM
> |
> | Both methods returned the same environment information
> `----
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Re: Ant devs need help from users with "exotic" OSes

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-06-09, glenn opdycke-hansen wrote:

> Were there instructions for running the test?

No, it is supposed to be just the -jar.  You can throw in an additional
-v after the jar name to see all environment variables but that
shouldn't be needed.

> I ran it on windows and got no output.

No output at all?

This is what it should look like

,----
| stefan@birdy:~/Desktop$ java -jar ant-env.jar 
| Detected OS_NAME: linux
| Detected OS_ARCH: i386
| Detected OS_VERSION: 2.6.32-22-generic
| Detected Java Version: 1.6.0_18
| Detected Java Vendor: Sun Microsystems Inc.
| Detected Java VM Version: 14.0-b16
| Detected Java VM Name: OpenJDK Client VM
| 
| Both methods returned the same environment information
`----

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant devs need help from users with "exotic" OSes

Posted by glenn opdycke-hansen <gl...@gmail.com>.
Were there instructions for running the test?
I ran it on windows and got no output.

--glenn


On Wed, Jun 9, 2010 at 07:43, Stefan Bodewig <bo...@apache.org> wrote:

> Hi all,
>
> we are considering to change the code that reads environment variables
> inside of Ant from the current "fork a platform specific executable"
> approach System.getenv() when running on Java5+.  This change may result
> in different results and so we need your help in order to determine what
> kind of differences we may encounter.
>
> We already know that System.getenv() returns two or three additional
> environment variables on Windows while we seem to get the same results
> on various flavors of Linux, as well as Solaris and Mac OS X using
> different versions of Java.
>
> <http://people.apache.org/~bodewig/ant-env.zip> contains a simple
> command line Java tool (requires Java5+) that we'd ask anybody with
> access to an operating system not listed above to execute (java -jar
> ant-env.jar).  If it reports any differences, please let us know via
> <https://issues.apache.org/bugzilla/show_bug.cgi?id=49366> (if it isn't
> already there, that is).
>
> In particular we'd love to hear from people running z/OS or OpenVMS.
>
> Many thanks
>
>     Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Re: Ant devs need help from users with "exotic" OSes

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-06-10, Susanne Wunsch wrote:

> Also nothing special with FreeBSD:

Thanks Susanne, this is good news

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Ant devs need help from users with "exotic" OSes

Posted by Susanne Wunsch <xm...@uriah.heep.sax.de>.
Stefan Bodewig <bo...@apache.org> writes:

Also nothing special with FreeBSD:

Detected OS_NAME: freebsd
Detected OS_ARCH: i386
Detected OS_VERSION: 8.0-stable
Detected Java Version: 1.6.0_07
Detected Java Vendor: The FreeBSD Foundation
Detected Java VM Version: 10.0-b23
Detected Java VM Name: Diablo Java HotSpot(TM) Client VM

Both methods returned the same environment information


> Hi all,
>
> we are considering to change the code that reads environment variables
> inside of Ant from the current "fork a platform specific executable"
> approach System.getenv() when running on Java5+.  This change may result
> in different results and so we need your help in order to determine what
> kind of differences we may encounter.
>
> We already know that System.getenv() returns two or three additional
> environment variables on Windows while we seem to get the same results
> on various flavors of Linux, as well as Solaris and Mac OS X using
> different versions of Java.
>
> <http://people.apache.org/~bodewig/ant-env.zip> contains a simple
> command line Java tool (requires Java5+) that we'd ask anybody with
> access to an operating system not listed above to execute (java -jar
> ant-env.jar).  If it reports any differences, please let us know via
> <https://issues.apache.org/bugzilla/show_bug.cgi?id=49366> (if it isn't
> already there, that is).
>
> In particular we'd love to hear from people running z/OS or OpenVMS.
>
> Many thanks
>
>      Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

-- 
read you ...
Susanne 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org