Re: Can't build fop: Hangs after Starting Ant...
Hi Gregor, If you are still stuck, I have a few more ideas of things to try. ./build.sh -version Ant should print out its version number (I get: Ant version 1.3 compiled on March 2 2001) If you still get nothing, try running ant from the command line directly (from the same directory where you have your build.sh) : java -classpath lib/ant.jar org.apache.tools.ant.Main -version and see if you get anything. If the second works and the first doesn't, there's something amiss with your build.sh file. Perhaps you could attach it to your next mail. I tend to think the problem is in your build.sh and not your build.xml. If you get ant to print its version number, then at least it is starting up. In that case, try using the -verbose switch which should print out lots of stuff, starting with the version, the build file name, the java version, the OS Good luck, Karen Gregor N. Purdy wrote: All -- On 11 Jul 2001 11:12:50 -0400, Gregor N. Purdy wrote: Its been some time since I've been able to build fop from CVS. I just completed a fresh checkout of xml-fop and when I run ./build.sh, the thing just hangs after printing Starting Ant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't build fop: Hangs after Starting Ant...
Oops! Ok, I'll read the subject line next time. Well, we've established that your ant environment is broken. Sorry I can't be much help from here. Peter Gregor N. Purdy wrote: It was hung, so the time is the time I let it stay hung until Ctrl+C. On 22 Jul 2001 09:39:54 +1000, Peter B. West wrote: Gregor, I don't know ant all that well, but here is what happens when I do it: /tmp 9:35$ ant Buildfile: build.xml testCRLF: BUILD SUCCESSFUL Total time: 1 second /tmp 9:35$ I don't know whether there are properties you can have set which suppress the normal output of ant, but I suspect you should be seeing the same sort of output. Is that real time real? Change the value of cr from remove to add and see if the file is modified. Peter Gregor N. Purdy wrote: On 20 Jul 2001 12:56:29 +1000, Peter B. West wrote: If you haven't written one already, you might try the attached build.xml. Drop it in /tmp, copy some text file over as /tmp/YourTextFile (or edit the includes value in build.xml, and run ant. The text file will be modified in place. - To unsubscribe, e-mail: [EMAIL PROTECTED] -- I've attached a typescript file of an attempt. Script started on Fri Jul 20 09:21:06 2001 [gregor@sarek ant-test]$ cat build.xml ?xml version=1.0? project default=testCRLF basedir=. taskdef name=fixcrlf classname=org.apache.tools.ant.taskdefs.FixCRLF/ target name=testCRLF fixcrlf srcdir=. includes=YourTextFile tab=remove cr=remove eof=remove / /target /project [gregor@sarek ant-test]$ cat YourTextFile ?xml version=1.0? project default=testCRLF basedir=. taskdef name=fixcrlf classname=org.apache.tools.ant.taskdefs.FixCRLF/ target name=testCRLF fixcrlf srcdir=. includes=YourTextFile tab=remove cr=remove eof=remove / /target /project [gregor@sarek ant-test]$ time ant real37m19.108s user0m0.270s sys 0m0.120s [gregor@sarek ant-test]$ ls build.xml typescript YourTextFile [gregor@sarek ant-test]$ exit exit Script done on Fri Jul 20 09:58:45 2001 typescript Content-Type: text/plain Content-Encoding: 7bit -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- Regards, -- Gregor _ / \ Gregor N. Purdy [EMAIL PROTECTED] Focus Research, Inc.http://www.focusresearch.com/ 8080 Beckett Center Drive #203 513-860-3570 vox West Chester, OH 45069 513-860-3579 fax \_/ -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't build fop: Hangs after Starting Ant...
On 20 Jul 2001 12:56:29 +1000, Peter B. West wrote: If you haven't written one already, you might try the attached build.xml. Drop it in /tmp, copy some text file over as /tmp/YourTextFile (or edit the includes value in build.xml, and run ant. The text file will be modified in place. - To unsubscribe, e-mail: [EMAIL PROTECTED] -- I've attached a typescript file of an attempt. Regards, -- Gregor _ / \ Gregor N. Purdy [EMAIL PROTECTED] Focus Research, Inc.http://www.focusresearch.com/ 8080 Beckett Center Drive #203 513-860-3570 vox West Chester, OH 45069 513-860-3579 fax \_/ Script started on Fri Jul 20 09:21:06 2001 [gregor@sarek ant-test]$ cat build.xml ?xml version=1.0? project default=testCRLF basedir=. taskdef name=fixcrlf classname=org.apache.tools.ant.taskdefs.FixCRLF/ target name=testCRLF fixcrlf srcdir=. includes=YourTextFile tab=remove cr=remove eof=remove / /target /project [gregor@sarek ant-test]$ cat YourTextFile ?xml version=1.0? project default=testCRLF basedir=. taskdef name=fixcrlf classname=org.apache.tools.ant.taskdefs.FixCRLF/ target name=testCRLF fixcrlf srcdir=. includes=YourTextFile tab=remove cr=remove eof=remove / /target /project [gregor@sarek ant-test]$ time ant real37m19.108s user0m0.270s sys 0m0.120s [gregor@sarek ant-test]$ ls build.xml typescript YourTextFile [gregor@sarek ant-test]$ exit exit Script done on Fri Jul 20 09:58:45 2001 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't build fop: Hangs after Starting Ant...
Arved -- Thanks for the reply. Could it be a line-ending issue? This has bitten us a few times, depending on what machine a committer was on when they committed UNIX shell scripts, and if they weren't careful. I did it a time or two myself, committing the shell scripts with DOS line endings. build.sh appears to be in proper *nix format. Failing that, what happens when you set the environment variables by hand, and then execute the final command by itself, not through the script...still no joy? No joy. Can you run your current Ant on other build files? I don't use Ant for anything else. What version of Ant are you using? Try Ant 1.3 if all else fails. I just installed the 1.3-2 RPMs for Ant from jakarta.apache.org, but it seems to me from build.sh that a private version of ant.jar is used... -- Regards, -- Gregor _ / \ Gregor N. Purdy [EMAIL PROTECTED] Focus Research, Inc.http://www.focusresearch.com/ 8080 Beckett Center Drive #203 513-860-3570 vox West Chester, OH 45069 513-860-3579 fax \_/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't build fop: Hangs after Starting Ant...
At 11:34 AM 7/19/01 -0400, Gregor N. Purdy wrote: Can you run your current Ant on other build files? I don't use Ant for anything else. Well, just a little trial one, one single super-simple target...just to eliminate Ant itself as being problematic. What version of Ant are you using? Try Ant 1.3 if all else fails. I just installed the 1.3-2 RPMs for Ant from jakarta.apache.org, but it seems to me from build.sh that a private version of ant.jar is used... Hmmm, we're talking about UNIX and strange lack of evidence...permissions on directories? Regards, Arved Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't build fop: Hangs after Starting Ant...
All -- On 11 Jul 2001 11:12:50 -0400, Gregor N. Purdy wrote: Its been some time since I've been able to build fop from CVS. I just completed a fresh checkout of xml-fop and when I run ./build.sh, the thing just hangs after printing Starting Ant Has anyone else run into this? Is it solved? I'd like to get back to using FOP for some of my projects, and I'd prefer to track the development rather than go back to an older release. My apologies if someone dealt with this and I didn't see it. I still cannot build fop out of CVS. I just did a CVS update, too. I can't figure out why Ant would hang, and I thought fop was self- contained, so whatever I'm running should be whatever you all are running, but I assume you are all able to build fop. Does anyone have any idea what I could look at to try to resolve the problem? I'd really like to get back to producing PDF files... Thanks! Regards, -- Gregor _ / \ Gregor N. Purdy [EMAIL PROTECTED] Focus Research, Inc.http://www.focusresearch.com/ 8080 Beckett Center Drive #203 513-860-3570 vox West Chester, OH 45069 513-860-3579 fax \_/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Can't build fop: Hangs after Starting Ant...
At 04:34 PM 7/18/01 -0400, Gregor N. Purdy wrote: All -- On 11 Jul 2001 11:12:50 -0400, Gregor N. Purdy wrote: Its been some time since I've been able to build fop from CVS. I just completed a fresh checkout of xml-fop and when I run ./build.sh, the thing just hangs after printing Starting Ant Has anyone else run into this? Is it solved? I'd like to get back to using FOP for some of my projects, and I'd prefer to track the development rather than go back to an older release. My apologies if someone dealt with this and I didn't see it. I still cannot build fop out of CVS. I just did a CVS update, too. I can't figure out why Ant would hang, and I thought fop was self- contained, so whatever I'm running should be whatever you all are running, but I assume you are all able to build fop. Does anyone have any idea what I could look at to try to resolve the problem? I'd really like to get back to producing PDF files... Hi, Gregor Well, let's try and troubleshoot this through. I recall having had identical hangs last year; I wish I could remember why. :-) Could it be a line-ending issue? This has bitten us a few times, depending on what machine a committer was on when they committed UNIX shell scripts, and if they weren't careful. I did it a time or two myself, committing the shell scripts with DOS line endings. Failing that, what happens when you set the environment variables by hand, and then execute the final command by itself, not through the script...still no joy? Can you run your current Ant on other build files? What version of Ant are you using? Try Ant 1.3 if all else fails. Just some starter ideas. I'm sure we'll get to the solution sooner or later. Regards, Arved Sandstrom Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Can't build fop: Hangs after Starting Ant...
Its been some time since I've been able to build fop from CVS. I just completed a fresh checkout of xml-fop and when I run ./build.sh, the thing just hangs after printing Starting Ant Has anyone else run into this? Is it solved? I'd like to get back to using FOP for some of my projects, and I'd prefer to track the development rather than go back to an older release. Regards, -- Gregor _ / \ Gregor N. Purdy [EMAIL PROTECTED] Focus Research, Inc.http://www.focusresearch.com/ 8080 Beckett Center Drive #203 513-860-3570 vox West Chester, OH 45069 513-860-3579 fax \_/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]