|
From: McDonald, B. <Bru...@ba...> - 2003-10-01 20:28:00
|
Qin,
I want to start from scratch with this.
Do the following and report back plz:
0. Make sure that JDK is installed and at least 1.4.1 : java -fullversion
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or somewhere)
2. Set your BABELDOC_HOME= ... this directory
3. echo %BABELDOC_HOME% - make sure that this is correct.
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
5. run this: bin\babeldoc - you should see babeldoc version
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
7. Check the file: stats.html
8. run this: bin\babeldoc process -p documentation
Report back plz
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 11:29 AM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce and David:
At home (XP), I tried to do the same thing (download the babeldoc, set it
up using your directory template and babeldoc_home and babeldoc_user. I got
the exact same error: entryStage not found. I asked a friend of mine
outside from this company this morning to do the same thing at his pc (NT),
he reported to me with the same error just a moment ago. How could that
be?!
David: at home I even tried different version of jvm from 1.4.1_01, and
1.4.1_02. No difference.
Is there a way I can ask the system to output more debug infomation like
changing log4j log level from error to debug? I guess that's too easy.
Otherwise, I need to add the debugging statements in "setupConfigData" of
SimplePipelineStageResolver class? Let me download the source code, and
add the debugging code, recompile the source and ran our test again. I
will let you know the result.
If anyone out there other thatn Bruce using babeldoc on windows, please let
me know how on earth you did that so successfully. I am very anxious to
make it work. Thank you very much.
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"McDonald,
Bruce" To: Qin Ding <qd...@cs...>, David Glick
<Bruce.McDonald <dg...@co...>
@bankofamerica.c cc: Babeldoc Developer List
om> <bab...@li...>
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user]
10/01/03 08:15 Questions. Please Help
AM
Qin,
It looks like you will have to actually debug this yourself since no-one
else is experiencing this error. Please look at the code in the
SimplePipelineStageResolver. Place debuging statements in the
setupConfigData to view what is going on.
regards,
Bruce.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Tuesday, September 30, 2003 6:01 PM
To: David Glick
Cc: Babeldoc Developer List; McDonald, Bruce
Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
David:
1 After changed test-pipeline.configFile=c:/qin/test/test-pipeline, still
got the same error;
2. I don't understand what you want "try renaming the 'test-pipeline'
directory to 'testpipe'". There is no directory by the name of
test-pipeline. Can I call you if you don't mind? It would be easier for
us to go through this?
Qin
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
David Glick
<dglick To: Qin
Ding/ASD/CSC@CSC
@cox.net> cc: Babeldoc Developer
List
<bab...@li...>, "McDonald,
09/30/03 04:47 Bruce"
<Bru...@ba...>
PM Subject: Re:
[Babeldoc-devel] Re: [Babeldoc-user]
Questions. Please Help
Try changing test-pipeline.configFile to c:/qin/test/test-pipeline. If
that
doesn't work, try renaming the 'test-pipeline' directory to 'testpipe',
change the test-pipeline.configFile=c:/qin/test/testpipe, and try to run it
again.
David
On Tuesday 30 September 2003 2:33 pm, Qin Ding wrote:
> David:
>
> Here it is:
>
> test-pipeline.type=simple
> test-pipeline.configFile=test/test-pipeline
>
>
>
---------------------------------------------------------------------------
>-------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
---------------------------------------------------------------------------
>-------------
>
>
>
>
>
> David Glick
> <dglick To: Qin
> Ding/ASD/CSC@CSC @cox.net> cc: Babeldoc Developer
List
> <bab...@li...>, "McDonald, 09/30/03 04:34
> Bruce" <Bru...@ba...> PM
Subject:
> Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
>
>
>
>
>
> Okay, if you can now run the documentation pipeline, either we're getting
> somewhere, or else you have a bunch of problems that we need to fix, one
at
> a
> time. Let's get rolling...
>
> Is this still your configuration:
>
> --- setenv.bat ---
> set BABELDOC_HOME=c:\babeldoc
> set BABELDOC_USER=c:\qin\config
> set JAVA_HOME=D:\j2sdk1.4.1_03
> set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
>
> --- test-pipeline.properties ---
> entryStage=initialize
> initialize.stageType=Scripting
> initialize.nextStage=null
> initialize.failOnError=true
> initialize.language=javascript
> initialize.script=\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);
>
> If so, then please also post c:\qin\config\pipeline\config.properties.
>
>
> David
>
> On Tuesday 30 September 2003 2:14 pm, Qin Ding wrote:
> > > > > set BABELDOC_HOME=c:\babeldoc-bin-1.2.0-RC1
> > > > > set BABELDOC_USER=c:\qin\config
> > > > > set JAVA_HOME=D:\j2sdk1.4.1_03
> > > > >
> > > > > set PATH=%BABELDOC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
> > > > >
> > > > > Please see the attached the qin.zip file.(See attached file:
>
> qin.zip)
>
> > > > > This is a PRIVATE message. If you are not the intended recipient,
> > >
> > > please
> > >
> > > > > delete without copying and kindly advise us by e-mail of the
>
> mistake
>
> > in
> >
> > > > > delivery. NOTE: Regardless of content, this e-mail shall not
>
> operate
>
> > to
> >
> > > > > bind CSC to any order or other contract unless pursuant to
explicit
> > > >
> > > > written
> > > >
> > > > > agreement or government initiative expressly permitting the use
of
> > >
> > > e-mail
> > >
> > > > > for such purpose.
>
>
---------------------------------------------------------------------------
>
> > > > >-------------
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > "McDonald,
> > > > > Bruce" To: Qin
> > > > > Ding/ASD/CSC@CSC <Bruce.McDonald cc: Babeldoc
>
> Developer
>
> > > > List
> > > >
> > > > > @bankofamerica.c <bab...@li...>,
> >
> > David
> >
> > > > > Glick om> <dg...@co...>
> > > > > Subject: RE:
> > > > > [Babeldoc-devel] Re: [Babeldoc-user] 09/29/03 10:31
> > >
> > > Questions.
> > >
> > > > > Please Help AM
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Download the latest version and try again - I suspect your
> >
> > installation
> >
> > > > is
> > > >
> > > > > broken.
> > > > >
> > > > > -----Original Message-----
> > > > > From: Qin Ding [mailto:qd...@cs...]
> > > > > Sent: Friday, September 26, 2003 1:10 PM
> > > > > To: McDonald, Bruce
> > > > > Cc: Babeldoc Developer List; David Glick
> > > > > Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions.
Please
> > >
> > > Help
> > >
> > > > > Bruce:
> > > > >
> > > > > This is the test-pipeline.properties:
> > > > >
> > > > > entryStage=initialize
> > > > >
> > > > > initialize.stageType=Scripting
> > > > > initialize.nextStage=null
> > > > > initialize.failOnError=true
> > > > > initialize.language=javascript
> > > > > initialize.script=\
> > > > > java.io.File file = new java.io.File(document.get
("file_name"));
>
> \
>
> > > > > TestManager.validate(file);
--
David Glick
619-475-4052
dg...@co...
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|