Updated SABBUS to provide more information about the environment in which it is running.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5741 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
dubochet 2006-02-10 18:19:09 +00:00
parent 249932bc80
commit e1105bc5c3
1 changed files with 7 additions and 4 deletions

View File

@ -171,18 +171,21 @@ INITIALISATION
</or>
</condition>
<if><isset property="os.cygwin"/>
<then><echo>SABBUS detected a Cygwin environnement</echo></then>
<then><echo>OS type: Cygwin</echo></then>
<elseif><isset property="os.win"/>
<then><echo>SABBUS detected a Windows environnement</echo></then>
<then><echo>OS type: Windows</echo></then>
</elseif>
<elseif><isset property="os.unix"/>
<then><echo>SABBUS detected a UNIX environnement</echo></then>
<then><echo>OS type: UNIX</echo></then>
</elseif>
<else>
<fail>System environment could not be determined</fail>
</else>
</if>
<echo>Java environment: ${java.home}</echo>
<echo>OS name: ${os.name} ${os.arch} ${os.version}</echo>
<echo>Java: ${java.version} ('${java.home}')</echo>
<echo>Java VM: ${java.vm.name} ${java.vm.version}</echo>
<echo>Ant: ${ant.version}</echo>
</target>
<target name="setup" depends="init">