|
From: Qin D. <qd...@cs...> - 2003-09-30 21:34:55
|
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...
|
|
From: David G. <dg...@co...> - 2003-09-30 21:43:16
|
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...
|
|
From: Qin D. <qd...@cs...> - 2003-09-30 22:02:38
|
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...
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 15:38:26
|
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 15:52:48
|
Bruce: I know you can do it without doubts. I just had a hard time to
believe I can not duplicate your steps to set this up. It's not like we
had lots of things to do to set up this.
David: have you tried to set this up using a differnt window machine (the
one without babeldoc at all). Then, follow the steps 1) download; 2) setup
babeldoc_home; 3) setup babeldoc_user; 4) set up the directory template;
and 5) run the command? If the problem is my machine (this one is
company's. It has many restrictions), then I should have no problem running
it at home. And my friend should have no problem because he is not from
this company. But on the other hand, as David said, I can run the test
within the babeldoc download from both at work and at home. That's tell me
I might not set up the babeldoc_user correctly somehow. It is very strange.
Thank you both for helping me. I'll let you know if I can debug the code
successfully myself.
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/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]
10/01/03 10:32 Questions. Please Help
AM
I use it on windows, linux, aix.
-----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
|
|
From: David G. <dg...@co...> - 2003-10-01 16:13:19
|
Hi Qin,
I don't have access to a Windows NT systems to test on. I have tested
previously on Windows 2000 without problems, or at least, without YOUR
problems... :-). I've also walked a friend through setting up a clean
Windows 2000 machine without problems. Since your home XP system behaves
exactly the same as your work NT system, it's almost definitely something
that I can't think of.
But we'll keep trying...
David
On Wednesday 01 October 2003 8:51 am, Qin Ding wrote:
> Bruce: I know you can do it without doubts. I just had a hard time to
> believe I can not duplicate your steps to set this up. It's not like we
> had lots of things to do to set up this.
>
> David: have you tried to set this up using a differnt window machine (the
> one without babeldoc at all). Then, follow the steps 1) download; 2) setup
> babeldoc_home; 3) setup babeldoc_user; 4) set up the directory template;
> and 5) run the command? If the problem is my machine (this one is
> company's. It has many restrictions), then I should have no problem running
> it at home. And my friend should have no problem because he is not from
> this company. But on the other hand, as David said, I can run the test
> within the babeldoc download from both at work and at home. That's tell me
> I might not set up the babeldoc_user correctly somehow. It is very strange.
>
> Thank you both for helping me. I'll let you know if I can debug the code
> successfully myself.
>
> 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/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] 10/01/03 10:32 Questions.
> Please Help AM
>
>
>
>
>
>
> I use it on windows, linux, aix.
>
> -----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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: McDonald, B. <Bru...@ba...> - 2003-10-01 15:54:40
|
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 16:01:33
|
Hi, David:
Country: US
Language: en
----------------------------------------------------------------------------------------
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: "McDonald, Bruce"
@cox.net> <Bru...@ba...>, Qin
Ding/ASD/CSC@CSC
10/01/03 10:40 cc: Babeldoc Developer List
AM <bab...@li...>
Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
Questions. Please Help
One other thought, Qin: what is the locale of your system?
On Wednesday 01 October 2003 8:32 am, McDonald, Bruce wrote:
> I use it on windows, linux, aix.
>
> -----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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 16:25:33
|
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 17:41:35
Attachments:
btest1.zip
|
Bruece: Please see the results below and also the directory layout.
(See attached file: btest1.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]
10/01/03 11:44 Questions. Please Help
AM
Ok, so all of the tests passed fine. Your problems aren't as terminal as I
thought.
Now I want you to create a very simple pipeline. Do it in a new directory
(not in the c:\Qin directory).
0. setup your path: set PATH=%BABELDOC_HOME%\bin;%PATH% (confirm babeldoc
runs)
1. Create new directory: c:\btest1
2. Set BABELDOC_USER=c:\btest1 (confirm this)
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\btest1
3. cd %BABELDOC_USER% (confirm this)
C:\>cd %BABELDOC_USER%
C:\btest1>
4. mkdir pipeline
5. create the file c:\btest1\pipeline\config.properties :
----cut here----
btest.type=simple
btest.configFile=pipeline/btest
----cut here----
6. Create the file c:\btest1\pipeline\btest.properties
----cut here----
entryStage=entry
entry.stageType=Null
entry.nextStage=null
----cut here----
7. Confirm that this pipeline exists: "babeldoc pipeline -Q" You should
see your pipeline listed.
C:\btest1>babeldoc pipeline -Q
test-xml, entry stage: entry
documentation, entry stage: attrdefault
btest, entry stage: entry
test, entry stage: entry
8. Now list the pipeline stages: "babeldoc pipeline -L nlpe1_rpt"
C:\btest1>babeldoc pipeline -L nlpe1_rpt
<2003-10-01 12:33:13,172> ERROR [main] :
[PipelineCommand.getPipelineStageFacto
ry] Possibly invalid pipeline stage: nlpe1_rpt
Plz report back.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 12:24 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
-------------------------------------------------------
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 18:19:20
|
Bruce:
The result is
C:\btest1>babeldoc process -p btest -f dummy.txt
<2003-10-01 13:15:42,538> INFO [main] : PipelineStage name: entry
Wow! Does it mean it works yet? I can't wait!
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/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]
10/01/03 12:46 Questions. Please Help
PM
That last statement should be:
babeldoc pipeline -L btest
Now lets run something through the pipeline
babeldoc process -p btest -f dummy.txt
where dummy.txt is any small file.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 1:40 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruece: Please see the results below and also the directory layout.
(See attached file: btest1.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]
10/01/03 11:44 Questions. Please Help
AM
Ok, so all of the tests passed fine. Your problems aren't as terminal as I
thought.
Now I want you to create a very simple pipeline. Do it in a new directory
(not in the c:\Qin directory).
0. setup your path: set PATH=%BABELDOC_HOME%\bin;%PATH% (confirm babeldoc
runs)
1. Create new directory: c:\btest1
2. Set BABELDOC_USER=c:\btest1 (confirm this)
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\btest1
3. cd %BABELDOC_USER% (confirm this)
C:\>cd %BABELDOC_USER%
C:\btest1>
4. mkdir pipeline
5. create the file c:\btest1\pipeline\config.properties :
----cut here----
btest.type=simple
btest.configFile=pipeline/btest
----cut here----
6. Create the file c:\btest1\pipeline\btest.properties
----cut here----
entryStage=entry
entry.stageType=Null
entry.nextStage=null
----cut here----
7. Confirm that this pipeline exists: "babeldoc pipeline -Q" You should
see your pipeline listed.
C:\btest1>babeldoc pipeline -Q
test-xml, entry stage: entry
documentation, entry stage: attrdefault
btest, entry stage: entry
test, entry stage: entry
8. Now list the pipeline stages: "babeldoc pipeline -L nlpe1_rpt"
C:\btest1>babeldoc pipeline -L nlpe1_rpt
<2003-10-01 12:33:13,172> ERROR [main] :
[PipelineCommand.getPipelineStageFacto
ry] Possibly invalid pipeline stage: nlpe1_rpt
Plz report back.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 12:24 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
-------------------------------------------------------
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 19:01:46
|
----------------------------------------------------------------------------------------
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]
10/01/03 01:22 Questions. Please Help
PM
Yes,
It works that means that there is something wrong with the way your
configuration is working. Can you do the following:
1. move the qin\config\* to the qin directory and change the BABELDOC_USER
to reflect this. Does this fix it?
Yes
C:\btest1>babeldoc process -p test-pipeline -f dummy.txt
<2003-10-01 13:43:40,471> INFO [main] : PipelineStage name: initialize
dummy.txt
I tried to confirm this. I put everything back to qin\config and
BABELDOC_USER point to c:\qin\config. It failed again. So, does it mean
BABELDOC_USER should only points to the root directory; no sub directory?
I started scanner. Then dropped the dummy.txt into c:\test\inventory: I got
this error:
Caused by: org.apache.bsf.BSFException: JavaScript Error: The choice of
Java met
hod java.io.PrintStream.println matching JavaScript argument types (null)
is amb
iguous; candidate methods are: void println(java.lang.String), void
println(char
[]), void println(java.lang.Object)
at
org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknow
n Source)
at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown
Sourc
e)
at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source)
at org.apache.bsf.BSFManager$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.bsf.BSFManager.exec(Unknown Source)
... 12 more
I don't understand why manual run and scanner run the same file produced
the different results. But that's different issues here.
Thank you VERY, VERY much.
2. move the pipeline-test.properties file to the directory pipeline (which
used to be in config) - change the
pipeline/config.properties file to reflect this change.
3 Let me know
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 2:18 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
The result is
C:\btest1>babeldoc process -p btest -f dummy.txt
<2003-10-01 13:15:42,538> INFO [main] : PipelineStage name: entry
Wow! Does it mean it works yet? I can't wait!
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/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]
10/01/03 12:46 Questions. Please Help
PM
That last statement should be:
babeldoc pipeline -L btest
Now lets run something through the pipeline
babeldoc process -p btest -f dummy.txt
where dummy.txt is any small file.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 1:40 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruece: Please see the results below and also the directory layout.
(See attached file: btest1.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]
10/01/03 11:44 Questions. Please Help
AM
Ok, so all of the tests passed fine. Your problems aren't as terminal as I
thought.
Now I want you to create a very simple pipeline. Do it in a new directory
(not in the c:\Qin directory).
0. setup your path: set PATH=%BABELDOC_HOME%\bin;%PATH% (confirm babeldoc
runs)
1. Create new directory: c:\btest1
2. Set BABELDOC_USER=c:\btest1 (confirm this)
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\btest1
3. cd %BABELDOC_USER% (confirm this)
C:\>cd %BABELDOC_USER%
C:\btest1>
4. mkdir pipeline
5. create the file c:\btest1\pipeline\config.properties :
----cut here----
btest.type=simple
btest.configFile=pipeline/btest
----cut here----
6. Create the file c:\btest1\pipeline\btest.properties
----cut here----
entryStage=entry
entry.stageType=Null
entry.nextStage=null
----cut here----
7. Confirm that this pipeline exists: "babeldoc pipeline -Q" You should
see your pipeline listed.
C:\btest1>babeldoc pipeline -Q
test-xml, entry stage: entry
documentation, entry stage: attrdefault
btest, entry stage: entry
test, entry stage: entry
8. Now list the pipeline stages: "babeldoc pipeline -L nlpe1_rpt"
C:\btest1>babeldoc pipeline -L nlpe1_rpt
<2003-10-01 12:33:13,172> ERROR [main] :
[PipelineCommand.getPipelineStageFacto
ry] Possibly invalid pipeline stage: nlpe1_rpt
Plz report back.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 12:24 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
-------------------------------------------------------
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 20:02:29
|
Bruce and David:
Now I am in business thanks to both of you very much.
initialize.script=\
java.lang.System.out.println(document.get("file_name"));\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);\
When I call document.get("file_name"), I get just a string name of the
document. Is it true? Does this name reference to the original document
that I passed in via -f Aftermarket.dat? Seems to me it is just a name but
no reference to the file.
Do we have something like this:
java.io.File file = document.getFile(document.get("file_name"));
So I can pass that File into my validation routine. Please advise. Thanks
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/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]
10/01/03 10:40 Questions. Please Help
AM
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
|
|
From: David G. <dg...@co...> - 2003-10-01 20:20:34
|
Hi Qin,
Congratulations on getting up! What was the problem with the c:\qin
directory?
Regarding your question, I'm not sure I understand what you're asking. The
document.get("file_name") returns the name of the document as passed on the
command line with the -f parameter. I assume it also is the name of the file
found by the scanner, but I don't use it this way so I can't say for sure.
The initialize.script stage in your example looks like it will properly
instantiate the File class for you. Is it not working?
David
On Wednesday 01 October 2003 1:01 pm, Qin Ding wrote:
> Bruce and David:
>
> Now I am in business thanks to both of you very much.
>
> initialize.script=\
> java.lang.System.out.println(document.get("file_name"));\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);\
>
> When I call document.get("file_name"), I get just a string name of the
> document. Is it true? Does this name reference to the original document
> that I passed in via -f Aftermarket.dat? Seems to me it is just a name but
> no reference to the file.
>
> Do we have something like this:
> java.io.File file = document.getFile(document.get("file_name"));
>
> So I can pass that File into my validation routine. Please advise. Thanks
>
> 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/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] 10/01/03 10:40 Questions.
> Please Help AM
>
>
>
>
>
>
> 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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: McDonald, B. <Bru...@ba...> - 2003-10-01 20:27:54
|
I use it on windows, linux, aix.
-----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
|
|
From: David G. <dg...@co...> - 2003-10-01 15:35:57
|
One other thought, Qin: what is the locale of your system?
On Wednesday 01 October 2003 8:32 am, McDonald, Bruce wrote:
> I use it on windows, linux, aix.
>
> -----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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
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
|
|
From: McDonald, B. <Bru...@ba...> - 2003-10-01 20:28:04
|
Ok, so all of the tests passed fine. Your problems aren't as terminal as I thought.
Now I want you to create a very simple pipeline. Do it in a new directory (not in the c:\Qin directory).
0. setup your path: set PATH=%BABELDOC_HOME%\bin;%PATH% (confirm babeldoc runs)
1. Create new directory: c:\btest1
2. Set BABELDOC_USER=c:\btest1 (confirm this)
3. cd %BABELDOC_USER% (confirm this)
4. mkdir pipeline
5. create the file c:\btest1\pipeline\config.properties :
----cut here----
btest.type=simple
btest.configFile=pipeline/btest
----cut here----
6. Create the file c:\btest1\pipeline\btest.properties
----cut here----
entryStage=entry
entry.stageType=Null
entry.nextStage=null
----cut here----
7. Confirm that this pipeline exists: "babeldoc pipeline -Q" You should see your pipeline listed.
8. Now list the pipeline stages: "babeldoc pipeline -L nlpe1_rpt"
Plz report back.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 12:24 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
-------------------------------------------------------
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
|
|
From: Qin D. <qd...@cs...> - 2003-10-01 20:30:22
|
David: Thank you. The problem is BABELDOC_USER has to point to the root
directory c:\qin (not c:\qin\config). Bruce asked me to move all the
subdirectores under config to c:\qin. Everything runs smoothly like water.
Now, David:
Is there a way to get original file out? Something like this:
String fileName = document.get("file_name");\
File file = document.getFile(fileName);\
So, I can call my Testmanager.validate(file); I want the original file
document out and then pass it to my routin. How do you do that? Please
advise.
By the way, when I run the following script:
initialize.script=\
java.io.File file = new java.io.File(fileName);\
I got this error:
<2003-10-01 15:10:37,683> ERROR [main] : [PipelineFeeder.process]
com.babeldoc.core.pipeline.PipelineException: Script processing failed
at
com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown
Source)
at
com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
Source)
at
com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
Source)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
Source)
at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
Caused by: org.apache.bsf.BSFException: JavaScript Error: Internal Error:
SyntaxError: missing ; before statement (<BABELDOC>; )
at
org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown
Source)
at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown
Source)
at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source)
at org.apache.bsf.BSFManager$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.bsf.BSFManager.exec(Unknown Source)
... 27 more
----------------------------------------------------------------------------------------
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, "McDonald, Bruce"
@cox.net> <Bru...@ba...>
cc: Babeldoc Developer List
10/01/03 03:24 <bab...@li...>
PM Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user]
Questions. Please Help
Hi Qin,
Congratulations on getting up! What was the problem with the c:\qin
directory?
Regarding your question, I'm not sure I understand what you're asking. The
document.get("file_name") returns the name of the document as passed on the
command line with the -f parameter. I assume it also is the name of the
file
found by the scanner, but I don't use it this way so I can't say for sure.
The initialize.script stage in your example looks like it will properly
instantiate the File class for you. Is it not working?
David
On Wednesday 01 October 2003 1:01 pm, Qin Ding wrote:
> Bruce and David:
>
> Now I am in business thanks to both of you very much.
>
> initialize.script=\
> java.lang.System.out.println(document.get("file_name"));\
> java.io.File file = new java.io.File(document.get("file_name"));\
> TestManager.validate(file);\
>
> When I call document.get("file_name"), I get just a string name of the
> document. Is it true? Does this name reference to the original document
> that I passed in via -f Aftermarket.dat? Seems to me it is just a name
but
> no reference to the file.
>
> Do we have something like this:
> java.io.File file = document.getFile(document.get("file_name"));
>
> So I can pass that File into my validation routine. Please advise.
Thanks
>
> 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/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] 10/01/03 10:40 Questions.
> Please Help AM
>
>
>
>
>
>
> 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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: David G. <dg...@co...> - 2003-10-01 20:38:43
|
You're assignment statements won't work. Don't forget that a script stage
uses Javascript, not Java. You'll need to use something like:
var fileName = document.get("file_name");\
etc.
If you're not familiar with Javascript, you may want to look through some of
the examples in Babeldoc. They do some pretty cool things!
David
On Wednesday 01 October 2003 1:28 pm, Qin Ding wrote:
> David: Thank you. The problem is BABELDOC_USER has to point to the root
> directory c:\qin (not c:\qin\config). Bruce asked me to move all the
> subdirectores under config to c:\qin. Everything runs smoothly like water.
>
> Now, David:
>
> Is there a way to get original file out? Something like this:
>
> String fileName = document.get("file_name");\
> File file = document.getFile(fileName);\
>
> So, I can call my Testmanager.validate(file); I want the original file
> document out and then pass it to my routin. How do you do that? Please
> advise.
>
> By the way, when I run the following script:
> initialize.script=\
> java.io.File file = new java.io.File(fileName);\
>
> I got this error:
>
> <2003-10-01 15:10:37,683> ERROR [main] : [PipelineFeeder.process]
> com.babeldoc.core.pipeline.PipelineException: Script processing failed
> at
> com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
> com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
> at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
> at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> Source)
> at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.core.Main.handleCommand(Unknown Source)
> at com.babeldoc.core.Main.main(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> at com.babeldoc.init.Main.main(Unknown Source)
> Caused by: org.apache.bsf.BSFException: JavaScript Error: Internal Error:
> SyntaxError: missing ; before statement (<BABELDOC>; )
> at
> org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown
> Source)
> at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown
> Source)
> at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source)
> at org.apache.bsf.BSFManager$6.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.bsf.BSFManager.exec(Unknown Source)
> ... 27 more
>
>
>
> ---------------------------------------------------------------------------
>-------------
>
> 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, "McDonald, Bruce" @cox.net>
> <Bru...@ba...> cc: Babeldoc Developer List
> 10/01/03 03:24 <bab...@li...> PM
> Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions.
> Please Help
>
>
>
>
>
> Hi Qin,
>
> Congratulations on getting up! What was the problem with the c:\qin
> directory?
>
> Regarding your question, I'm not sure I understand what you're asking. The
>
> document.get("file_name") returns the name of the document as passed on the
>
> command line with the -f parameter. I assume it also is the name of the
> file
> found by the scanner, but I don't use it this way so I can't say for sure.
>
> The initialize.script stage in your example looks like it will properly
> instantiate the File class for you. Is it not working?
>
>
> David
>
> On Wednesday 01 October 2003 1:01 pm, Qin Ding wrote:
> > Bruce and David:
> >
> > Now I am in business thanks to both of you very much.
> >
> > initialize.script=\
> > java.lang.System.out.println(document.get("file_name"));\
> > java.io.File file = new java.io.File(document.get("file_name"));\
> > TestManager.validate(file);\
> >
> > When I call document.get("file_name"), I get just a string name of the
> > document. Is it true? Does this name reference to the original document
> > that I passed in via -f Aftermarket.dat? Seems to me it is just a name
>
> but
>
> > no reference to the file.
> >
> > Do we have something like this:
> > java.io.File file = document.getFile(document.get("file_name"));
> >
> > So I can pass that File into my validation routine. Please advise.
>
> Thanks
>
> > 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/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] 10/01/03 10:40 Questions.
> > Please Help AM
> >
> >
> >
> >
> >
> >
> > 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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: McDonald, B. <Bru...@ba...> - 2003-10-01 20:43:56
|
That last statement should be:
babeldoc pipeline -L btest
Now lets run something through the pipeline
babeldoc process -p btest -f dummy.txt
where dummy.txt is any small file.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 1:40 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruece: Please see the results below and also the directory layout.
(See attached file: btest1.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]
10/01/03 11:44 Questions. Please Help
AM
Ok, so all of the tests passed fine. Your problems aren't as terminal as I
thought.
Now I want you to create a very simple pipeline. Do it in a new directory
(not in the c:\Qin directory).
0. setup your path: set PATH=%BABELDOC_HOME%\bin;%PATH% (confirm babeldoc
runs)
1. Create new directory: c:\btest1
2. Set BABELDOC_USER=c:\btest1 (confirm this)
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\btest1
3. cd %BABELDOC_USER% (confirm this)
C:\>cd %BABELDOC_USER%
C:\btest1>
4. mkdir pipeline
5. create the file c:\btest1\pipeline\config.properties :
----cut here----
btest.type=simple
btest.configFile=pipeline/btest
----cut here----
6. Create the file c:\btest1\pipeline\btest.properties
----cut here----
entryStage=entry
entry.stageType=Null
entry.nextStage=null
----cut here----
7. Confirm that this pipeline exists: "babeldoc pipeline -Q" You should
see your pipeline listed.
C:\btest1>babeldoc pipeline -Q
test-xml, entry stage: entry
documentation, entry stage: attrdefault
btest, entry stage: entry
test, entry stage: entry
8. Now list the pipeline stages: "babeldoc pipeline -L nlpe1_rpt"
C:\btest1>babeldoc pipeline -L nlpe1_rpt
<2003-10-01 12:33:13,172> ERROR [main] :
[PipelineCommand.getPipelineStageFacto
ry] Possibly invalid pipeline stage: nlpe1_rpt
Plz report back.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 12:24 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
-------------------------------------------------------
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
|
|
From: McDonald, B. <Bru...@ba...> - 2003-10-01 21:11:59
|
Yes,
It works that means that there is something wrong with the way your configuration is working. Can you do the following:
1. move the qin\config\* to the qin directory and change the BABELDOC_USER to reflect this. Does this fix it?
2. move the pipeline-test.properties file to the directory pipeline (which used to be in config) - change the
pipeline/config.properties file to reflect this change.
3 Let me know
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 2:18 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
The result is
C:\btest1>babeldoc process -p btest -f dummy.txt
<2003-10-01 13:15:42,538> INFO [main] : PipelineStage name: entry
Wow! Does it mean it works yet? I can't wait!
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/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]
10/01/03 12:46 Questions. Please Help
PM
That last statement should be:
babeldoc pipeline -L btest
Now lets run something through the pipeline
babeldoc process -p btest -f dummy.txt
where dummy.txt is any small file.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 1:40 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruece: Please see the results below and also the directory layout.
(See attached file: btest1.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]
10/01/03 11:44 Questions. Please Help
AM
Ok, so all of the tests passed fine. Your problems aren't as terminal as I
thought.
Now I want you to create a very simple pipeline. Do it in a new directory
(not in the c:\Qin directory).
0. setup your path: set PATH=%BABELDOC_HOME%\bin;%PATH% (confirm babeldoc
runs)
1. Create new directory: c:\btest1
2. Set BABELDOC_USER=c:\btest1 (confirm this)
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\btest1
3. cd %BABELDOC_USER% (confirm this)
C:\>cd %BABELDOC_USER%
C:\btest1>
4. mkdir pipeline
5. create the file c:\btest1\pipeline\config.properties :
----cut here----
btest.type=simple
btest.configFile=pipeline/btest
----cut here----
6. Create the file c:\btest1\pipeline\btest.properties
----cut here----
entryStage=entry
entry.stageType=Null
entry.nextStage=null
----cut here----
7. Confirm that this pipeline exists: "babeldoc pipeline -Q" You should
see your pipeline listed.
C:\btest1>babeldoc pipeline -Q
test-xml, entry stage: entry
documentation, entry stage: attrdefault
btest, entry stage: entry
test, entry stage: entry
8. Now list the pipeline stages: "babeldoc pipeline -L nlpe1_rpt"
C:\btest1>babeldoc pipeline -L nlpe1_rpt
<2003-10-01 12:33:13,172> ERROR [main] :
[PipelineCommand.getPipelineStageFacto
ry] Possibly invalid pipeline stage: nlpe1_rpt
Plz report back.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 12:24 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce:
See the results below please:
----------------------------------------------------------------------------------------
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]
10/01/03 10:40 Questions. Please Help
AM
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
C:\>java -fullversion
java full version "1.4.1_03-b02"
1. Download babeldoc 1.2.0-RC1 into the directory c:\babeldoc (or
somewhere)
in c:\babeldoc
2. Set your BABELDOC_HOME= ... this directory
BABELDOC_HOME=c:\babeldoc
BABELDOC_USER=c:\qin\config
HOMEDRIVE=H:
HOMEPATH=\
JAVA_HOME=D:\j2sdk1.4.1_03
3. echo %BABELDOC_HOME% - make sure that this is correct.
C:\>echo %BABELDOC_HOME%
c:\babeldoc
4. cd %BABELDOC_HOME% - you should be in the babeldoc directory.
C:\>cd %BABELDOC_HOME%
C:\babeldoc>
5. run this: bin\babeldoc - you should see babeldoc version
C:\babeldoc\bin>babeldoc
Usage: babeldoc <command>
where command must be one of:
xls2xml, scanmon, setupwiz, addstagewiz, lightconfig, sqlload, pipeline,
setentr
ywiz, journal, process, journalbrowser, flat2xml, scanner, guiprocess,
pipelineb
uilder, module, babelfish.
Babeldoc 1.2.0-RC1 Copyright (C) 2002 Bruce McDonald, Dejan Krsmanovic, et
al.
Babeldoc comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute
it under certain conditions
6. run this: bin\babeldoc process -p test -f test/quickstart/stats.xml
C:\babeldoc\bin>babeldoc process -p test -f test/quickstart/stats.xml
<2003-10-01 11:16:31,245> INFO [main] : PipelineStage name: entry
<2003-10-01 11:16:31,555> INFO [main] : PipelineStage name: transform
<2003-10-01 11:16:32,667> INFO [main] : PipelineStage name: choose
<2003-10-01 11:16:32,717> INFO [main] : PipelineStage name: writer
7. Check the file: stats.html
The stats.html is in bin directory
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>1998
Major League Baseball Statistics
</TITLE>
</HEAD>
<BODY>
<H1>1998
Major League Baseball Statistics
</H1>
<H2 ALIGN="CENTER">American League</H2>
.....
8. run this: bin\babeldoc process -p documentation
C:\babeldoc\bin>babeldoc process -p documentation
<2003-10-01 11:21:57,544> INFO [main] : PipelineStage name: attrdefault
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: callstages
<2003-10-01 11:21:58,015> INFO [main] : PipelineStage name: stagexml
<2003-10-01 11:21:58,586> INFO [main] : PipelineStage name: stagexform
<2003-10-01 11:21:59,687> INFO [main] : PipelineStage name: stagewriter
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: callscanners
<2003-10-01 11:21:59,727> INFO [main] : PipelineStage name: scannerxml
<2003-10-01 11:21:59,887> INFO [main] : PipelineStage name:
scannertransform
<2003-10-01 11:22:00,098> INFO [main] : PipelineStage name: scannerwriter
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name:
callprocessors
<2003-10-01 11:22:00,118> INFO [main] : PipelineStage name: processorxml
<2003-10-01 11:22:00,258> INFO [main] : PipelineStage name:
processortransform
<2003-10-01 11:22:00,338> INFO [main] : PipelineStage name:
processorwriter
<2003-10-01 11:22:00,358> INFO [main] : PipelineStage name: loaduserguide
<2003-10-01 11:22:00,408> INFO [main] : PipelineStage name:
callgenerateug
<2003-10-01 11:22:00,418> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:00,438> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:00,488> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:00,518> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:20,277> INFO [main] : PipelineStage name: writer
<2003-10-01 11:22:20,317> INFO [main] : PipelineStage name: loaddevguide
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name:
callgeneratedg
<2003-10-01 11:22:20,327> INFO [main] : PipelineStage name: basename
<2003-10-01 11:22:20,347> INFO [main] : PipelineStage name: templatize
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: choose
<2003-10-01 11:22:20,367> INFO [main] : PipelineStage name: transform
<2003-10-01 11:22:25,454> INFO [main] : PipelineStage name: writer
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
-------------------------------------------------------
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
|
|
From: McDonald, B. <Bru...@ba...> - 2003-10-02 02:21:44
|
Its just the name of the file.
-----Original Message-----
From: Qin Ding [mailto:qd...@cs...]
Sent: Wednesday, October 01, 2003 4:01 PM
To: McDonald, Bruce
Cc: Babeldoc Developer List; David Glick
Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help
Bruce and David:
Now I am in business thanks to both of you very much.
initialize.script=\
java.lang.System.out.println(document.get("file_name"));\
java.io.File file = new java.io.File(document.get("file_name"));\
TestManager.validate(file);\
When I call document.get("file_name"), I get just a string name of the
document. Is it true? Does this name reference to the original document
that I passed in via -f Aftermarket.dat? Seems to me it is just a name but
no reference to the file.
Do we have something like this:
java.io.File file = document.getFile(document.get("file_name"));
So I can pass that File into my validation routine. Please advise. Thanks
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/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]
10/01/03 10:40 Questions. Please Help
AM
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
|
|
From: David G. <dg...@co...> - 2003-10-02 15:46:00
|
Hi Qin,
Here's a stage that I use to load values from a properties file. You should
be able to do something similar in your case:
######
# Get the next document ID
######
get-next-doc-id.stageType=Scripting
get-next-doc-id.nextStage=perl-post-doc
get-next-doc-id.failOnError=true
get-next-doc-id.language=javascript
get-next-doc-id.script=\
var document_id;\
var propertiesFile = new
java.io.File(${document.get("merchant_properties")});\
var properties = new java.util.Properties();\
if (propertiesFile.exists()) {properties.load(new
java.io.FileInputStream(propertiesFile));}\
document_id = properties.getProperty("next_document_id", "10001");\
document_id++;\
properties.setProperty("next_document_id", document_id);\
properties.store(new java.io.FileOutputStream(propertiesFile),null);\
document.put("document_id", document_id);
Note that you cannot import in Javascript. This is why you have to use the
fully-qualified class name.
Hope this helps,
David
On Thursday 02 October 2003 8:19 am, Qin Ding wrote:
> David, Good morning:
>
> I checked the scripting examples. I did not see any examples that shows
> how I can extract the original file as type java.io.File. The closest one
> is md5 example, which shows how to get Inputstream out of the document. I
> assume this is the inputstream of the original file. So, I changed my
> script like this:
> initialize.script=\
> importClass(Packages.longlegs.core.filevalidation.TestManager);\
> TestManager.validate(document.get("file_name"),
> document.getInputStream());\
>
> I deployed my file validation jar into babeldoc/lib directory, of course.
>
> When I ran the pipeline, I got this error stating my TestManager is not
> defined.
>
> <2003-10-02 09:57:37,517> INFO [main] : PipelineStage name: initialize
> <2003-10-02 09:57:37,978> ERROR [main] :
> [DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage
> name: initialize Error: com.babeldoc.core.pipeline.PipelineException:
> Script processing failed
> <2003-10-02 09:57:37,978> ERROR [main] : [PipelineFeeder.process]
> com.babeldoc.core.pipeline.PipelineException: Script processing failed
> at
> com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipe
>lineStage(Unknown Source)
> at
> com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unk
>nown Source)
> at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source)
> at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown
> Source)
> at
> com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source)
> at com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown
> Source)
> at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> Source)
> at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.core.Main.handleCommand(Unknown Source)
> at com.babeldoc.core.Main.main(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> at com.babeldoc.init.Main.main(Unknown Source)
> Caused by: org.apache.bsf.BSFException: JavaScript Error: Internal Error:
> ReferenceError: "TestManager" is not defined.
> at
> org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown
> Source)
> at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown
> Source)
> at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source)
> at org.apache.bsf.BSFManager$6.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.bsf.BSFManager.exec(Unknown Source)
> ... 27 more
>
>
> ---------------------------------------------------------------------------
>-------------
>
> 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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|
|
From: David G. <dg...@co...> - 2003-10-02 15:55:19
|
Oops! I told an untruth. You CAN use imports in Javascript, as you've done.
Remember this when you trust what I say... :-)
David
On Thursday 02 October 2003 8:50 am, David Glick wrote:
> Hi Qin,
>
> Here's a stage that I use to load values from a properties file. You
> should be able to do something similar in your case:
>
> ######
> # Get the next document ID
> ######
> get-next-doc-id.stageType=Scripting
> get-next-doc-id.nextStage=perl-post-doc
> get-next-doc-id.failOnError=true
> get-next-doc-id.language=javascript
> get-next-doc-id.script=\
> var document_id;\
> var propertiesFile = new
> java.io.File(${document.get("merchant_properties")});\
> var properties = new java.util.Properties();\
> if (propertiesFile.exists()) {properties.load(new
> java.io.FileInputStream(propertiesFile));}\
> document_id = properties.getProperty("next_document_id", "10001");\
> document_id++;\
> properties.setProperty("next_document_id", document_id);\
> properties.store(new java.io.FileOutputStream(propertiesFile),null);\
> document.put("document_id", document_id);
>
> Note that you cannot import in Javascript. This is why you have to use the
> fully-qualified class name.
>
>
> Hope this helps,
>
> David
>
> On Thursday 02 October 2003 8:19 am, Qin Ding wrote:
> > David, Good morning:
> >
> > I checked the scripting examples. I did not see any examples that shows
> > how I can extract the original file as type java.io.File. The closest one
> > is md5 example, which shows how to get Inputstream out of the document. I
> > assume this is the inputstream of the original file. So, I changed my
> > script like this:
> > initialize.script=\
> > importClass(Packages.longlegs.core.filevalidation.TestManager);\
> > TestManager.validate(document.get("file_name"),
> > document.getInputStream());\
> >
> > I deployed my file validation jar into babeldoc/lib directory, of course.
> >
> > When I ran the pipeline, I got this error stating my TestManager is not
> > defined.
> >
> > <2003-10-02 09:57:37,517> INFO [main] : PipelineStage name: initialize
> > <2003-10-02 09:57:37,978> ERROR [main] :
> > [DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage
> > name: initialize Error: com.babeldoc.core.pipeline.PipelineException:
> > Script processing failed
> > <2003-10-02 09:57:37,978> ERROR [main] : [PipelineFeeder.process]
> > com.babeldoc.core.pipeline.PipelineException: Script processing failed
> > at
> > com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown
> > Source)
> > at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown
> > Source)
> > at
> > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPi
> >pe lineStage(Unknown Source)
> > at
> > com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(U
> >nk nown Source)
> > at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown
> > Source)
> > at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown
> > Source) at
> > com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Source)
> > at
> > com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown
> > Source) at
> > com.babeldoc.core.pipeline.feeder.FeederFactory.process(Unknown Source)
> > at
> > com.babeldoc.core.pipeline.command.PipelineFeeder.process(Unknown Source)
> > at
> > com.babeldoc.core.pipeline.command.PipelineFeeder.execute(Unknown Source)
> > at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
> > at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
> > at com.babeldoc.core.pipeline.command.PipelineFeeder.<init>(Unknown
> > Source)
> > at com.babeldoc.core.pipeline.command.PipelineFeeder.main(Unknown
> > Source)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:3 9) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> > at com.babeldoc.core.Main.handleCommand(Unknown Source)
> > at com.babeldoc.core.Main.main(Unknown Source)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:3 9) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mp l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> > at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
> > at com.babeldoc.init.Main.main(Unknown Source)
> > Caused by: org.apache.bsf.BSFException: JavaScript Error: Internal Error:
> > ReferenceError: "TestManager" is not defined.
> > at
> > org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown
> > Source)
> > at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown
> > Source)
> > at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source)
> > at org.apache.bsf.BSFManager$6.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at org.apache.bsf.BSFManager.exec(Unknown Source)
> > ... 27 more
> >
> >
> > -------------------------------------------------------------------------
> >-- -------------
> >
> > 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
Transmit Consulting, Inc
619-475-4052
dg...@tr...
|