You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Philipp Schmidt <Ph...@gmx.de> on 2002/07/21 15:43:37 UTC

Forrest on OS X

Hi,

I try to run Forrest on OS X with the following
configuration.

OS:       Apple Mac OS X
Version:  10.1.5
Java:     java version "1.3.1"
           Java(TM) 2 Runtime Environment, Standard Edition (build
           1.3.1-root-020219-20:07)
           Java HotSpot(TM) Client VM (build 1.3.1, mixed mode)

but I get this error:

 >[localhost:~/cvs/xml-forrest] ps% ./build.sh docs
 >Using classpath: 
 >"./lib/endorsed/xalan-2.3.1.jar:./lib/endorsed/xerces-2.0.1.jar:./lib/endorsed/xml-apis.jar"
 >Buildfile: build.xml
 >
 >-init:
 >
 >    --------------------------------------------------------------
 >
 >      Using Apache Ant version 1.5Beta1 compiled on April 30 2002
 >      Build file /Users/ps/cvs/xml-forrest/build.xml
 >      Build number 2
 >      Project Name project build file
 >      Java Version 1.3
 >      Timestamp 200207211523
 >
 >    --------------------------------------------------------------
 >
 >
 >BUILD FAILED
 >/Users/ps/cvs/xml-forrest/build.xml:64: The <echo> task doesn't 
support >the "unless" attribute.
 >
 >Total time: 2 seconds

No problem on Win2000 with a checkout of the same day.

Philipp


Re: Forrest on OS X

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Philipp Schmidt wrote:
> Stefan Bodewig wrote:
> 
>> On Sun, 21 Jul 2002, Philipp Schmidt <Ph...@gmx.de> wrote:
>>
>>> >BUILD FAILED
>>> >/Users/ps/cvs/xml-forrest/build.xml:64: The <echo> task doesn't
>>> support >the "unless" attribute.
>>
>> But you should be getting the same problem.  Ant's echo task doesn't
>> support if/unless in any version of Ant or on any OS.
> 
> Sure, there isn't any unless attribute in echo.
> 
> What I did is removed all <echo/> from the build file and added the 
> -verbose flag to ant. This gives me te exact same error without any
> <echo> in the build file.

It's in the imported build.
I am updating Centipede to run without being in CVS and I got the same 
error.
I'm committing a fix for the moment, but anyway the current version has 
been tested only with the included Ant.
Try making a script like the ones supplied for now, sorry.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Forrest on OS X

Posted by Philipp Schmidt <Ph...@gmx.de>.
Stefan Bodewig wrote:
> On Sun, 21 Jul 2002, Philipp Schmidt <Ph...@gmx.de> wrote:
>> >BUILD FAILED
>> >/Users/ps/cvs/xml-forrest/build.xml:64: The <echo> task doesn't
>> support >the "unless" attribute.
> But you should be getting the same problem.  Ant's echo task doesn't
> support if/unless in any version of Ant or on any OS.
Sure, there isn't any unless attribute in echo.

What I did is removed all <echo/> from the build file and added the 
-verbose flag to ant. This gives me te exact same error without any
<echo> in the build file.

[localhost:~/cvs/xml-forrest] ps% ./build.sh docs
Using classpath: 
"./lib/endorsed/xalan-2.3.1.jar:./lib/endorsed/xercesImpl-2.0.0.jar:./lib/endorsed/xml-apis.jar:./lib/endorsed/xsltc.jar"
Apache Ant version 1.5Beta1 compiled on April 30 2002
Buildfile: build.xml
Detected Java version: 1.3 in: 
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home
Detected OS: Mac OS X
parsing buildfile build.xml with URI = 
file:/Users/ps/cvs/xml-forrest/build.xml
Project base dir set to: /Users/ps/cvs/xml-forrest
resolving systemId: 
file:/Users/ps/cvs/xml-forrest/tools/antipede/build.xtarget
Build sequence for target `docs' is [-init, init, cleandocs, compile, 
prepare-docs, owdocs, docs]
Complete build sequence is [-init, init, cleandocs, compile, 
prepare-docs, owdocs, docs, -cent-unjar-check, -cent-unjar-keep, 
scratchpad, webapp, bot.init, bot.conf2build, -call-jar-cent, javadocs, 
site, bot.prepare-cp, bot.run, interactive, call-examples-target, 
call-contrib-target, bot, -warn4tools, deployforrestsite, testpoicvs, 
testpoigen, testpoideploy, testpoi, call-cent, -cent-unjar-expand, 
-cent-unjar, getcvsmodule, deploy, runforrestrun, run, update-cent, 
create-dtd, jar-all-cents, sendlog, updateforrestsite, update-all-cents, 
call-scratchpad-target, clean, forrestbar, get-needed-cents, jar, 
jar-cent, validate-docs, call-target, gump, -prepare-src]

-init:
Property ${antipede.init.already.called} has not been set

     --------------------------------------------------------------

       Using Apache Ant version 1.5Beta1 compiled on April 30 2002
       Build file /Users/ps/cvs/xml-forrest/build.xml
       Build number 33
       Project Name project build file
       Java Version 1.3
       Timestamp 200207261555

     --------------------------------------------------------------

Unable to find 
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../lib/tools.jar 
to set property tools.jar.present
Overriding previous definition of property ant.java.version
Project base dir set to: /Users/ps/cvs/xml-forrest
calling target -warn4tools in build file /Users/ps/cvs/xml-forrest/build.xml
parsing buildfile /Users/ps/cvs/xml-forrest/build.xml with URI = 
file:/Users/ps/cvs/xml-forrest/build.xml
Project base dir set to: /Users/ps/cvs/xml-forrest
resolving systemId: 
file:/Users/ps/cvs/xml-forrest/tools/antipede/build.xtarget
Override ignored for property tools.dir
Override ignored for property temp.dir
Override ignored for property cents.dir
Override ignored for property antipede.dir
Override ignored for property antipede.lib.dir
Override ignored for property cent.lib.dir.name
Override ignored for property task.properties.name
Override ignored for property cent.jar.suffix
Override ignored for property cent.dir.suffix
Build sequence for target `-warn4tools' is [-warn4tools]
Complete build sequence is [-warn4tools, -cent-unjar-check, 
-cent-unjar-keep, -init, scratchpad, init, compile, prepare-docs, 
webapp, bot.init, bot.conf2build, -call-jar-cent, cleandocs, owdocs, 
docs, javadocs, site, bot.prepare-cp, bot.run, interactive, 
call-examples-target, call-contrib-target, bot, deployforrestsite, 
testpoicvs, testpoigen, testpoideploy, testpoi, call-cent, 
-cent-unjar-expand, -cent-unjar, getcvsmodule, deploy, runforrestrun, 
run, update-cent, create-dtd, jar-all-cents, sendlog, updateforrestsite, 
update-all-cents, call-scratchpad-target, clean, forrestbar, 
get-needed-cents, jar, jar-cent, validate-docs, call-target, gump, 
-prepare-src]

BUILD FAILED
/Users/ps/cvs/xml-forrest/build.xml:64: The <echo> task doesn't support 
the "unless" attribute.
         at 
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:422)
         at 
org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:306)
         at 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:201)
         at org.apache.tools.ant.Task.maybeConfigure(Task.java:253)
         at org.apache.tools.ant.Task.perform(Task.java:312)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:334)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357)
         at 
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
         at org.apache.tools.ant.Task.perform(Task.java:313)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:334)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
         at org.apache.tools.ant.Main.runBuild(Main.java:605)
         at org.apache.tools.ant.Main.start(Main.java:195)
         at org.apache.tools.ant.Main.main(Main.java:234)

Total time: 2 seconds



Philipp




Re: Forrest on OS X

Posted by Stefan Bodewig <bo...@apache.org>.
On Sun, 21 Jul 2002, Philipp Schmidt <Ph...@gmx.de> wrote:

>  >BUILD FAILED
>  >/Users/ps/cvs/xml-forrest/build.xml:64: The <echo> task doesn't
>  support >the "unless" attribute.

> No problem on Win2000 with a checkout of the same day.

But you should be getting the same problem.  Ant's echo task doesn't
support if/unless in any version of Ant or on any OS.

Are you really sure you are using the same build file?

Stefan