You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(14) |
Mar
(107) |
Apr
(211) |
May
(93) |
Jun
(158) |
Jul
(159) |
Aug
(368) |
Sep
(188) |
Oct
(151) |
Nov
(115) |
Dec
(98) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(25) |
Feb
|
Mar
(33) |
Apr
(28) |
May
(116) |
Jun
(2) |
Jul
(117) |
Aug
(19) |
Sep
(9) |
Oct
(2) |
Nov
|
Dec
(4) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
(22) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(267) |
Sep
|
Oct
|
Nov
(6) |
Dec
(512) |
| 2008 |
Jan
(187) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Dejan K. <dej...@nb...> - 2003-07-10 15:03:07
|
Great. I guess SqlQueryPipelineStage should go in sql module and HttpClient probably in web module... If you have time you could also document stages and options (by writing PipelineStageInfo class) so we can later generate documentation for your stages.... Dejan Dejan ----- Original Message ----- From: "Leech, Jonathan" <jl...@vi...> To: "'Dejan Krsmanovic'" <dej...@nb...>; "Babeldoc Developer List" <bab...@li...> Sent: Thursday, July 10, 2003 4:48 PM Subject: RE: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages > Yes I will work on commiting soon, just need to finish up implementation of > maxthreads, do some cleanup, etc. I also have an HttpClientPipelineStage > and SqlQueryPipelineStage to commit as well. > > -Jonathan > > -----Original Message----- > From: Dejan Krsmanovic [mailto:dej...@nb...] > Sent: Thursday, July 10, 2003 8:45 AM > To: Babeldoc Developer List > Subject: Re: [Babeldoc-devel] threading and ordering of Router / > XpathSplitter Pipeline stages > > > Could you commit your code? If that is just new feature that users may or > may not use I don't see the reason why it could not become part of standard > distribution. Anyway, next (1.1) version is mostly experimental version with > a lot of new features. We will try to make them stable in 1.2. > > Dejan > > > ----- Original Message ----- > From: "Leech, Jonathan" <jl...@vi...> > To: "'Dejan Krsmanovic'" <dej...@nb...>; "Babeldoc Developer > List" <bab...@li...> > Sent: Thursday, July 10, 2003 4:00 PM > Subject: RE: [Babeldoc-devel] threading and ordering of Router / > XpathSplitter Pipeline stages > > > > I put almost all of the functionality in PipelineStage and > > PipelineStageFactory. I had to make a few changes to RouterPipelineStage, > I > > don't think I had to touch XpathSplitterPipelineStage to make it work. > Also > > assorted, hopefully non-impacting changes elsewhere to make everything > > behave nicely with threads. > > > > If you don't specify any of the new options, it works as it did before. > > > > -Jonathan > > > > > > -----Original Message----- > > From: Dejan Krsmanovic [mailto:dej...@nb...] > > Sent: Thursday, July 10, 2003 6:13 AM > > To: Babeldoc Developer List > > Subject: Re: [Babeldoc-devel] threading and ordering of Router / > > XpathSplitter Pipeline stages > > > > > > Are these new pipeline stages or existing stages with new options? Could > it > > be used with existing configuration? I mean if you don't specify order, > > threaded or maxtreads options would everything work as it worked earlier? > > > > Also, do you think it would be possible to generalize this functionality > in > > one abstract class and let Router and XpathSplitter (and other classes) to > > extend this class. We should identify common functionality for these > classes > > (something like is done with Writer stages). > > > > Opinions? > > > > Dejan > > > > > > ----- Original Message ----- > > From: Leech, Jonathan > > To: bab...@li... > > Sent: Thursday, July 10, 2003 12:01 AM > > Subject: [Babeldoc-devel] threading and ordering of Router / XpathSplitter > > Pipeline stages > > > > > > I've got it prototyped and working! Thanks Dejan for the idea of adding > an > > attribute to specify ordering -- I was stuck on the idea of the order > coming > > from the order in the config file... > > > > The general idea is to add the attributes 'order', 'threaded', and > > 'maxthreads' to any pipeline stages that can create more than one output > > document. > > > > The only thing its missing is the 'maxthreads' idea, I've got it hardcoded > > to 5. > > > > -Jonathan > > > > Example config of ordered router: > > example.stageType=Router > > example.nextStage.step1=true > > example.nextStage.step2=true > > example.nextStage.step3=true > > example.order.step1=1 > > example.order.step2=2 > > example.order.step3=3 > > > > Example config of parallel router: > > example.stageType=Router > > example.nextStage.step1=true > > example.nextStage.step2=true > > example.nextStage.step3=true > > example.threaded=true > > example.maxthreads=2 > > > > Example config of parallel XpathSlitter > > example.stageType=XpathSplitter > > example.nextStage=step1 > > example.XPath=//foo/bar > > example.threaded=true > > example.maxthreads=10 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Leech, J. <jl...@vi...> - 2003-07-10 14:49:47
|
Yes I will work on commiting soon, just need to finish up implementation of maxthreads, do some cleanup, etc. I also have an HttpClientPipelineStage and SqlQueryPipelineStage to commit as well. -Jonathan -----Original Message----- From: Dejan Krsmanovic [mailto:dej...@nb...] Sent: Thursday, July 10, 2003 8:45 AM To: Babeldoc Developer List Subject: Re: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages Could you commit your code? If that is just new feature that users may or may not use I don't see the reason why it could not become part of standard distribution. Anyway, next (1.1) version is mostly experimental version with a lot of new features. We will try to make them stable in 1.2. Dejan ----- Original Message ----- From: "Leech, Jonathan" <jl...@vi...> To: "'Dejan Krsmanovic'" <dej...@nb...>; "Babeldoc Developer List" <bab...@li...> Sent: Thursday, July 10, 2003 4:00 PM Subject: RE: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages > I put almost all of the functionality in PipelineStage and > PipelineStageFactory. I had to make a few changes to RouterPipelineStage, I > don't think I had to touch XpathSplitterPipelineStage to make it work. Also > assorted, hopefully non-impacting changes elsewhere to make everything > behave nicely with threads. > > If you don't specify any of the new options, it works as it did before. > > -Jonathan > > > -----Original Message----- > From: Dejan Krsmanovic [mailto:dej...@nb...] > Sent: Thursday, July 10, 2003 6:13 AM > To: Babeldoc Developer List > Subject: Re: [Babeldoc-devel] threading and ordering of Router / > XpathSplitter Pipeline stages > > > Are these new pipeline stages or existing stages with new options? Could it > be used with existing configuration? I mean if you don't specify order, > threaded or maxtreads options would everything work as it worked earlier? > > Also, do you think it would be possible to generalize this functionality in > one abstract class and let Router and XpathSplitter (and other classes) to > extend this class. We should identify common functionality for these classes > (something like is done with Writer stages). > > Opinions? > > Dejan > > > ----- Original Message ----- > From: Leech, Jonathan > To: bab...@li... > Sent: Thursday, July 10, 2003 12:01 AM > Subject: [Babeldoc-devel] threading and ordering of Router / XpathSplitter > Pipeline stages > > > I've got it prototyped and working! Thanks Dejan for the idea of adding an > attribute to specify ordering -- I was stuck on the idea of the order coming > from the order in the config file... > > The general idea is to add the attributes 'order', 'threaded', and > 'maxthreads' to any pipeline stages that can create more than one output > document. > > The only thing its missing is the 'maxthreads' idea, I've got it hardcoded > to 5. > > -Jonathan > > Example config of ordered router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.order.step1=1 > example.order.step2=2 > example.order.step3=3 > > Example config of parallel router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.threaded=true > example.maxthreads=2 > > Example config of parallel XpathSlitter > example.stageType=XpathSplitter > example.nextStage=step1 > example.XPath=//foo/bar > example.threaded=true > example.maxthreads=10 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Dejan K. <dej...@nb...> - 2003-07-10 14:45:50
|
Could you commit your code? If that is just new feature that users may or may not use I don't see the reason why it could not become part of standard distribution. Anyway, next (1.1) version is mostly experimental version with a lot of new features. We will try to make them stable in 1.2. Dejan ----- Original Message ----- From: "Leech, Jonathan" <jl...@vi...> To: "'Dejan Krsmanovic'" <dej...@nb...>; "Babeldoc Developer List" <bab...@li...> Sent: Thursday, July 10, 2003 4:00 PM Subject: RE: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages > I put almost all of the functionality in PipelineStage and > PipelineStageFactory. I had to make a few changes to RouterPipelineStage, I > don't think I had to touch XpathSplitterPipelineStage to make it work. Also > assorted, hopefully non-impacting changes elsewhere to make everything > behave nicely with threads. > > If you don't specify any of the new options, it works as it did before. > > -Jonathan > > > -----Original Message----- > From: Dejan Krsmanovic [mailto:dej...@nb...] > Sent: Thursday, July 10, 2003 6:13 AM > To: Babeldoc Developer List > Subject: Re: [Babeldoc-devel] threading and ordering of Router / > XpathSplitter Pipeline stages > > > Are these new pipeline stages or existing stages with new options? Could it > be used with existing configuration? I mean if you don't specify order, > threaded or maxtreads options would everything work as it worked earlier? > > Also, do you think it would be possible to generalize this functionality in > one abstract class and let Router and XpathSplitter (and other classes) to > extend this class. We should identify common functionality for these classes > (something like is done with Writer stages). > > Opinions? > > Dejan > > > ----- Original Message ----- > From: Leech, Jonathan > To: bab...@li... > Sent: Thursday, July 10, 2003 12:01 AM > Subject: [Babeldoc-devel] threading and ordering of Router / XpathSplitter > Pipeline stages > > > I've got it prototyped and working! Thanks Dejan for the idea of adding an > attribute to specify ordering -- I was stuck on the idea of the order coming > from the order in the config file... > > The general idea is to add the attributes 'order', 'threaded', and > 'maxthreads' to any pipeline stages that can create more than one output > document. > > The only thing its missing is the 'maxthreads' idea, I've got it hardcoded > to 5. > > -Jonathan > > Example config of ordered router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.order.step1=1 > example.order.step2=2 > example.order.step3=3 > > Example config of parallel router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.threaded=true > example.maxthreads=2 > > Example config of parallel XpathSlitter > example.stageType=XpathSplitter > example.nextStage=step1 > example.XPath=//foo/bar > example.threaded=true > example.maxthreads=10 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Leech, J. <jl...@vi...> - 2003-07-10 14:01:27
|
I put almost all of the functionality in PipelineStage and PipelineStageFactory. I had to make a few changes to RouterPipelineStage, I don't think I had to touch XpathSplitterPipelineStage to make it work. Also assorted, hopefully non-impacting changes elsewhere to make everything behave nicely with threads. If you don't specify any of the new options, it works as it did before. -Jonathan -----Original Message----- From: Dejan Krsmanovic [mailto:dej...@nb...] Sent: Thursday, July 10, 2003 6:13 AM To: Babeldoc Developer List Subject: Re: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages Are these new pipeline stages or existing stages with new options? Could it be used with existing configuration? I mean if you don't specify order, threaded or maxtreads options would everything work as it worked earlier? Also, do you think it would be possible to generalize this functionality in one abstract class and let Router and XpathSplitter (and other classes) to extend this class. We should identify common functionality for these classes (something like is done with Writer stages). Opinions? Dejan ----- Original Message ----- From: Leech, Jonathan To: bab...@li... Sent: Thursday, July 10, 2003 12:01 AM Subject: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages I've got it prototyped and working! Thanks Dejan for the idea of adding an attribute to specify ordering -- I was stuck on the idea of the order coming from the order in the config file... The general idea is to add the attributes 'order', 'threaded', and 'maxthreads' to any pipeline stages that can create more than one output document. The only thing its missing is the 'maxthreads' idea, I've got it hardcoded to 5. -Jonathan Example config of ordered router: example.stageType=Router example.nextStage.step1=true example.nextStage.step2=true example.nextStage.step3=true example.order.step1=1 example.order.step2=2 example.order.step3=3 Example config of parallel router: example.stageType=Router example.nextStage.step1=true example.nextStage.step2=true example.nextStage.step3=true example.threaded=true example.maxthreads=2 Example config of parallel XpathSlitter example.stageType=XpathSplitter example.nextStage=step1 example.XPath=//foo/bar example.threaded=true example.maxthreads=10 ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Dejan K. <dej...@nb...> - 2003-07-10 12:13:55
|
Are these new pipeline stages or existing stages with new options? Could it be used with existing configuration? I mean if you don't specify order, threaded or maxtreads options would everything work as it worked earlier? Also, do you think it would be possible to generalize this functionality in one abstract class and let Router and XpathSplitter (and other classes) to extend this class. We should identify common functionality for these classes (something like is done with Writer stages). Opinions? Dejan ----- Original Message ----- From: Leech, Jonathan To: bab...@li... Sent: Thursday, July 10, 2003 12:01 AM Subject: [Babeldoc-devel] threading and ordering of Router / XpathSplitter Pipeline stages I've got it prototyped and working! Thanks Dejan for the idea of adding an attribute to specify ordering -- I was stuck on the idea of the order coming from the order in the config file... The general idea is to add the attributes 'order', 'threaded', and 'maxthreads' to any pipeline stages that can create more than one output document. The only thing its missing is the 'maxthreads' idea, I've got it hardcoded to 5. -Jonathan Example config of ordered router: example.stageType=Router example.nextStage.step1=true example.nextStage.step2=true example.nextStage.step3=true example.order.step1=1 example.order.step2=2 example.order.step3=3 Example config of parallel router: example.stageType=Router example.nextStage.step1=true example.nextStage.step2=true example.nextStage.step3=true example.threaded=true example.maxthreads=2 Example config of parallel XpathSlitter example.stageType=XpathSplitter example.nextStage=step1 example.XPath=//foo/bar example.threaded=true example.maxthreads=10 |
|
From: Bruce M. <br...@mc...> - 2003-07-09 22:37:48
|
NICE! On Wednesday 09 July 2003 06:01 pm, Leech, Jonathan wrote: > I've got it prototyped and working! Thanks Dejan for the idea of adding an > attribute to specify ordering -- I was stuck on the idea of the order > coming from the order in the config file... > > The general idea is to add the attributes 'order', 'threaded', and > 'maxthreads' to any pipeline stages that can create more than one output > document. > > The only thing its missing is the 'maxthreads' idea, I've got it hardcoded > to 5. > > -Jonathan > > Example config of ordered router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.order.step1=1 > example.order.step2=2 > example.order.step3=3 > > Example config of parallel router: > example.stageType=Router > example.nextStage.step1=true > example.nextStage.step2=true > example.nextStage.step3=true > example.threaded=true > example.maxthreads=2 > > Example config of parallel XpathSlitter > example.stageType=XpathSplitter > example.nextStage=step1 > example.XPath=//foo/bar > example.threaded=true > example.maxthreads=10 |
|
From: Leech, J. <jl...@vi...> - 2003-07-09 22:02:31
|
I've got it prototyped and working! Thanks Dejan for the idea of adding an attribute to specify ordering -- I was stuck on the idea of the order coming from the order in the config file... The general idea is to add the attributes 'order', 'threaded', and 'maxthreads' to any pipeline stages that can create more than one output document. The only thing its missing is the 'maxthreads' idea, I've got it hardcoded to 5. -Jonathan Example config of ordered router: example.stageType=Router example.nextStage.step1=true example.nextStage.step2=true example.nextStage.step3=true example.order.step1=1 example.order.step2=2 example.order.step3=3 Example config of parallel router: example.stageType=Router example.nextStage.step1=true example.nextStage.step2=true example.nextStage.step3=true example.threaded=true example.maxthreads=2 Example config of parallel XpathSlitter example.stageType=XpathSplitter example.nextStage=step1 example.XPath=//foo/bar example.threaded=true example.maxthreads=10 |
|
From: <tr...@us...> - 2003-07-08 02:46:56
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core In directory sc8-pr-cvs1:/tmp/cvs-serv20137/src/com/babeldoc/core Modified Files: ResourceLoader.java Log Message: Now the getUrl uses the modules list to search for names... Index: ResourceLoader.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/ResourceLoader.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ResourceLoader.java 27 Jun 2003 02:19:57 -0000 1.6 --- ResourceLoader.java 8 Jul 2003 02:46:50 -0000 1.7 *************** *** 66,69 **** --- 66,72 ---- package com.babeldoc.core; + import com.babeldoc.core.module.BabeldocModule; + import com.babeldoc.core.module.BabeldocModuleList; + import java.io.*; *************** *** 212,215 **** --- 215,219 ---- throws IOException { //LogService.getInstance().logDebug("[getResourceStream] for name: "+name); + //System.out.println("Getting resource stream for: "+name); return getResourceStream(getUrl(name)); } *************** *** 285,288 **** --- 289,293 ---- } + // Try and load from the search path if (url == null) { url = getFirstMatchingUrlInSearchPath(name, *************** *** 291,294 **** --- 296,300 ---- //LogService.getInstance().logDebug("[getUrl] url: "+url+" for name: "+name); + //System.out.println("url: "+url); return url; } *************** *** 383,386 **** --- 389,405 ---- } } + } + } + + // Now get the name from the modules + BabeldocModule[] modules = BabeldocModuleList.getInstance() + .getSortedModules(); + + for (int i = modules.length - 1; i >= 0; --i) { + String moduleConfig = modules[i].getName() + "/" + name; + + URL url = Thread.currentThread().getContextClassLoader().getResource(moduleConfig); + if(url!=null) { + list.add(url); } } |
|
From: <tr...@us...> - 2003-07-08 02:46:56
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config/light
In directory sc8-pr-cvs1:/tmp/cvs-serv20137/src/com/babeldoc/core/config/light
Modified Files:
LightConfigService.java
Log Message:
Now the getUrl uses the modules list to search for names...
Index: LightConfigService.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config/light/LightConfigService.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** LightConfigService.java 27 Jun 2003 02:19:57 -0000 1.10
--- LightConfigService.java 8 Jul 2003 02:46:50 -0000 1.11
***************
*** 72,82 ****
import com.babeldoc.core.config.IConfig;
import com.babeldoc.core.config.IConfigService;
- import com.babeldoc.core.module.BabeldocModule;
- import com.babeldoc.core.module.BabeldocModuleList;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
- import java.io.InputStream;
import java.net.URL;
--- 72,79 ----
***************
*** 136,140 ****
Properties properties = new Properties();
! loadFromModules(newname, properties);
mergePropertiesFileFromUserSearchPath(newname, properties);
--- 133,137 ----
Properties properties = new Properties();
! // loadFromModules(newname, properties);
mergePropertiesFileFromUserSearchPath(newname, properties);
***************
*** 231,263 ****
output.close();
} catch (Exception ioex) {
- }
- }
- }
-
- /**
- * Run from the least dependant to the most dependant module, trying and load
- * the configuration matching the name.
- *
- * @param name
- * @param properties
- */
- private void loadFromModules(String name, Properties properties) {
- BabeldocModule[] modules = BabeldocModuleList.getInstance()
- .getSortedModules();
-
- for (int i = modules.length - 1; i >= 0; --i) {
- String moduleConfig = modules[i].getName() + "/" + name;
-
- // System.out.println("Trying to load: "+moduleConfig);
- InputStream is = Thread.currentThread().getContextClassLoader()
- .getResourceAsStream(moduleConfig);
-
- if (is != null) {
- try {
- // System.out.println("Loading: "+moduleConfig);
- properties.load(is);
- } catch (IOException e) {
- e.printStackTrace(); //TODO
- }
}
}
--- 228,231 ----
|
|
From: Ken G. <kg...@sp...> - 2003-07-07 03:08:22
|
I made this change locally to be able to view forked tickets in the web
console. I made a comment about it but there was no response. I have
seen no side effects and can only expect this change to be a good thing.
Ken
Stefan Krieger wrote:
> Folks,
>
> I needed to change "forkTicket" in sql.journal.GenericSqlJournal to make
> forking actually working.
> Without this change an unusable text is stored in the OTHER_DATA column.
> Does anyone expect any sideeffects ?
>
> Regards,
> Stefan
>
> public synchronized IJournalTicket forkTicket(IJournalTicket parentTicket)
> throws JournalException {
> try {
> //getLog().debug("[GenericSqlJournal.forkTicket] called");
> Connection con = (Connection) resource.checkOut();
> long nextVal = TableKeyHelper.getNextId(con, "LOG").longValue();
> resource.checkIn(con);
>
> IJournalTicket ticket = new JournalTicket(nextVal);
>
> // Log the operation
> // PATCH: use getId() instead of toString() to track the parentId in
> the Database
> log(ticket, JournalOperation.forkTicket, parentTicket.getId(), null,
> null);
> //log(ticket, JournalOperation.forkTicket, parentTicket.toString, null,
> null);
>
> return ticket;
> } catch (Exception iox) {
> throw new JournalException("[GenericSqlJournal.forkTicket]", iox);
> }
> }
|
|
From: Bruce M. <br...@mc...> - 2003-07-07 01:37:46
|
Looks good to me Stefan but I haven't used the sql journal in ages.
On Sunday 06 July 2003 12:19 pm, Stefan Krieger wrote:
> Folks,
>
> I needed to change "forkTicket" in sql.journal.GenericSqlJournal to make
> forking actually working.
> Without this change an unusable text is stored in the OTHER_DATA column.
> Does anyone expect any sideeffects ?
>
> Regards,
> Stefan
>
> public synchronized IJournalTicket forkTicket(IJournalTicket
> parentTicket) throws JournalException {
> try {
> //getLog().debug("[GenericSqlJournal.forkTicket] called");
> Connection con = (Connection) resource.checkOut();
> long nextVal = TableKeyHelper.getNextId(con, "LOG").longValue();
> resource.checkIn(con);
>
> IJournalTicket ticket = new JournalTicket(nextVal);
>
> // Log the operation
> // PATCH: use getId() instead of toString() to track the parentId in
> the Database
> log(ticket, JournalOperation.forkTicket, parentTicket.getId(), null,
> null);
> //log(ticket, JournalOperation.forkTicket, parentTicket.toString, null,
> null);
>
> return ticket;
> } catch (Exception iox) {
> throw new JournalException("[GenericSqlJournal.forkTicket]", iox);
> }
> }
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Stefan K. <ste...@co...> - 2003-07-06 16:19:18
|
Folks,
I needed to change "forkTicket" in sql.journal.GenericSqlJournal to make
forking actually working.
Without this change an unusable text is stored in the OTHER_DATA column.
Does anyone expect any sideeffects ?
Regards,
Stefan
public synchronized IJournalTicket forkTicket(IJournalTicket parentTicket)
throws JournalException {
try {
//getLog().debug("[GenericSqlJournal.forkTicket] called");
Connection con = (Connection) resource.checkOut();
long nextVal = TableKeyHelper.getNextId(con, "LOG").longValue();
resource.checkIn(con);
IJournalTicket ticket = new JournalTicket(nextVal);
// Log the operation
// PATCH: use getId() instead of toString() to track the parentId in
the Database
log(ticket, JournalOperation.forkTicket, parentTicket.getId(), null,
null);
//log(ticket, JournalOperation.forkTicket, parentTicket.toString, null,
null);
return ticket;
} catch (Exception iox) {
throw new JournalException("[GenericSqlJournal.forkTicket]", iox);
}
}
|
|
From: Dejan K. <dej...@ya...> - 2003-07-05 11:58:56
|
Great. We need a lot of improvements here. I will try to covince web designer from my company to work on this when she return from vacation... Dejan --- Bruce McDonald <br...@mc...> wrote: > All, > > I have added the website to CVS - just checkout > module website. Please make > changes to the website - I will set up a cron job to > checkout the latest code > to the webserver. I know that this is a problem > area and this is first step > at making this public so that we can work on this. > > regards, > Bruce > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
|
From: Bruce M. <br...@mc...> - 2003-07-05 05:27:43
|
All, I have added the website to CVS - just checkout module website. Please make changes to the website - I will set up a cron job to checkout the latest code to the webserver. I know that this is a problem area and this is first step at making this public so that we can work on this. regards, Bruce |
|
From: <tr...@us...> - 2003-07-05 05:17:15
|
Update of /cvsroot/babeldoc/website/html In directory sc8-pr-cvs1:/tmp/cvs-serv25515 Added Files: main.html Log Message: missing from initial import --- NEW FILE: main.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> <TITLE>babeldoc: Universal Document Processor</TITLE> <link href="site.css" rel="stylesheet" media="screen"> </HEAD> <BODY> <table width="598" border="0" cellspacing="0" cellpadding="0"> <tr> <td><br><br></td> </tr> <tr><td align="center" valign="top"><span class="important">babeldoc: universal document processor</span> <p>The <a href="http://www.opensource.org">Open Source</a> tool for business-to-business and systems-integrators and enterprises wishing to connect data and documents centers. Babeldoc is intended for systems integrators and EAI projects.</p> <p></p> <p><b>This just in:</b></p> <p>Babeldoc <a href="http://www.theserverside.com/home/thread.jsp?thread_id=19090&article_count=28">discussions</a> at the <a href="http://www.theserverside.com">TheServerSide</a></p> <p></p> </td> <td align="center" valign="middle"><img src="images/babeldoc-small.png" alt="" width="200" height="280" border="0"></td> </tr> <tr> <td align="center" valign="middle" colspan="2"></td> </tr> <tr><td colspan="2"> <br><br></td> </tr> <tr> <td align="center" valign="middle"colspan="2"><img src="images/powered-by-velocity.gif" alt="Powered By Velocity"><img src="images/apache_pb.gif" alt="Powered By Apache"></td> </tr> </table> </BODY> </HTML> |
|
From: Dejan K. <dej...@ya...> - 2003-07-04 09:30:29
|
No I don't think so. Configuration is keept in HashMaps and I think they are not keeping order of inserted elements. We should put write additional code and change configuration of this pipeline stage if we want to specify order of routing. Maybe it should be introduce new attribute or something like that. Configuration files are property files where order is not important so I don't think we should rely on order in which properties are specified. Dejan --- "Leech, Jonathan" <jl...@vi...> wrote: > Quick question for somebody to answer who knows more > than me about the > internals of pipeline configuration: > > The problem I'm having using the RouterPipelineStage > is that the nextStages > don't happen in the order they are specified in the > config file. I started > tracking this down, and got all the way to > LightProperties where the whole > config is stored as a java.util.Properties, and it > occurred to me that I > would have to do a lot more work to change its > behavior than anticapted. > > So would using the XML config option eliminate this > problem? > > -Jonathan > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
|
From: Bruce M. <br...@mc...> - 2003-07-03 23:42:04
|
Stefan,
Thanks for this - I will be adding this to the J2EE module.
On Thursday 03 July 2003 04:59 pm, Stefan Krieger wrote:
> Folks,
>
> I am missing the JNDIDatasource class to support resource type=jndi.
> Well, it was not difficult to implement...anyone interested ?
>
> Regards,
> Stefan
>
> --- cut here ;-)
>
> import com.babeldoc.core.resource.Resource;
> import com.babeldoc.core.resource.ResourceException;
>
> import javax.naming.InitialContext;
> import javax.sql.DataSource;
> import java.sql.Connection;
>
> /**
> * Gets a connection from a JNDI registered datasource.
> *
> * @author skrieger
> * @version 1.0
> */
>
> public class JndiDatasource extends Resource {
> public static final String DATASOURCE_NAME = "datasourceName";
>
> /**
> * Checkin this connection
> *
> * @param connection
> *
> * @throws ResourceException
> */
> public synchronized void checkIn(Object connection) throws
> ResourceException {
> try {
> ((Connection) connection).close();
> } catch (Exception e) {
> throw new ResourceException("[ResourceException.checkIn]", e);
> }
> }
>
> /**
> * Get a new connection.
> *
> * @return the connection
> *
> * @throws ResourceException
> */
> public synchronized Object checkOut() throws ResourceException {
> try {
> InitialContext c = new InitialContext() ;
> String dsName = getConfig().getString( DATASOURCE_NAME );
> if ( dsName == null ) {
> throw new IllegalArgumentException( DATASOURCE_NAME + " not
> set" ) ;
> }
> DataSource ds = (DataSource) c.lookup( dsName ) ;
> return ds.getConnection() ;
>
> } catch (Exception e) {
> throw new ResourceException("[ResourceException.checkOut]", e);
> }
> }
>
> }
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Bruce M. <br...@mc...> - 2003-07-03 23:19:49
|
You are asking about the multiple pipelines situation? If so, then you do not need to change the way the configuration is handled - just the way the next pipelinestage is process. Take a look inside the PipelineStageFactory class for how this is done. Or am I misunderstanding you? On Thursday 03 July 2003 06:19 pm, Leech, Jonathan wrote: > Quick question for somebody to answer who knows more than me about the > internals of pipeline configuration: > > The problem I'm having using the RouterPipelineStage is that the nextStages > don't happen in the order they are specified in the config file. I started > tracking this down, and got all the way to LightProperties where the whole > config is stored as a java.util.Properties, and it occurred to me that I > would have to do a lot more work to change its behavior than anticapted. > > So would using the XML config option eliminate this problem? > > -Jonathan |
|
From: Leech, J. <jl...@vi...> - 2003-07-03 22:20:14
|
Quick question for somebody to answer who knows more than me about the internals of pipeline configuration: The problem I'm having using the RouterPipelineStage is that the nextStages don't happen in the order they are specified in the config file. I started tracking this down, and got all the way to LightProperties where the whole config is stored as a java.util.Properties, and it occurred to me that I would have to do a lot more work to change its behavior than anticapted. So would using the XML config option eliminate this problem? -Jonathan |
|
From: Stefan K. <ste...@co...> - 2003-07-03 20:59:51
|
Folks,
I am missing the JNDIDatasource class to support resource type=jndi.
Well, it was not difficult to implement...anyone interested ?
Regards,
Stefan
--- cut here ;-)
import com.babeldoc.core.resource.Resource;
import com.babeldoc.core.resource.ResourceException;
import javax.naming.InitialContext;
import javax.sql.DataSource;
import java.sql.Connection;
/**
* Gets a connection from a JNDI registered datasource.
*
* @author skrieger
* @version 1.0
*/
public class JndiDatasource extends Resource {
public static final String DATASOURCE_NAME = "datasourceName";
/**
* Checkin this connection
*
* @param connection
*
* @throws ResourceException
*/
public synchronized void checkIn(Object connection) throws
ResourceException {
try {
((Connection) connection).close();
} catch (Exception e) {
throw new ResourceException("[ResourceException.checkIn]", e);
}
}
/**
* Get a new connection.
*
* @return the connection
*
* @throws ResourceException
*/
public synchronized Object checkOut() throws ResourceException {
try {
InitialContext c = new InitialContext() ;
String dsName = getConfig().getString( DATASOURCE_NAME );
if ( dsName == null ) {
throw new IllegalArgumentException( DATASOURCE_NAME + " not
set" ) ;
}
DataSource ds = (DataSource) c.lookup( dsName ) ;
return ds.getConnection() ;
} catch (Exception e) {
throw new ResourceException("[ResourceException.checkOut]", e);
}
}
}
|
|
From: Dejan K. <dej...@ya...> - 2003-07-03 16:08:24
|
--- "Leech, Jonathan" <jl...@vi...> wrote: > Does anybody have interest in a SQL pipeline stage > that would take a SQL > query and make an XML document from the results? I > think I need to build > one for my project. I think it would be very useful. Altough, I am not sure what actualy you need and if it is possible to write pipeline stage that would be general enough to be applied in other situations. I had similiar problem when trying to get data database for exchange rates that my company publish every day. I tried to solve it by writing sql scanner but XML I needed was slightly more complicated for sql scanner (I wanted generic solution). I ended up with scheduled job in database which generate XML and ftp scanner. > > Also I have an idea for the SQL journal, which is an > option for compressing > the BLOB data before writing to the database, and > decompressing on the way > out. I have data that I want to journal where every > response I get is ~30K, > and compresses to ~1K. I think it would be great idea. Of course, this should be configurable so user could decide wheter they want compressing or not. Dejan __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
|
From: Leech, J. <jl...@vi...> - 2003-07-03 14:59:17
|
Does anybody have interest in a SQL pipeline stage that would take a SQL query and make an XML document from the results? I think I need to build one for my project. Also I have an idea for the SQL journal, which is an option for compressing the BLOB data before writing to the database, and decompressing on the way out. I have data that I want to journal where every response I get is ~30K, and compresses to ~1K. -Jonathan |
|
From: <de...@us...> - 2003-07-02 12:29:28
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/feeder
In directory sc8-pr-cvs1:/tmp/cvs-serv14090/modules/core/src/com/babeldoc/core/pipeline/feeder
Modified Files:
AsynchronousFeeder.java
Log Message:
Fixed bug that causes initialization error when using DiskQueue
Index: AsynchronousFeeder.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/feeder/AsynchronousFeeder.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** AsynchronousFeeder.java 30 Jun 2003 22:14:56 -0000 1.7
--- AsynchronousFeeder.java 2 Jul 2003 12:29:25 -0000 1.8
***************
*** 112,126 ****
* @param map
*/
! public void initialize(Map map)
! throws GeneralException{
! if(map!=null) {
String qtype = (String)map.get(Q_TYPE);
! if(Q_TYPE_DISK.equals(qtype)) {
String qname = (String)map.get(Q_DIR_NAME);
String qdir = (String)map.get(Q_DISK_DIR);
! if(qname==null) {
throw new GeneralException("Disk queues must have a 'queueName'");
}
! if(qdir==null||new File(qdir).exists()) {
throw new GeneralException("Disk queues must have a 'queueDir'");
}
--- 112,125 ----
* @param map
*/
! public void initialize(Map map) throws GeneralException{
! if (map != null) {
String qtype = (String)map.get(Q_TYPE);
! if (Q_TYPE_DISK.equals(qtype)) {
String qname = (String)map.get(Q_DIR_NAME);
String qdir = (String)map.get(Q_DISK_DIR);
! if (qname == null || qname.equals("")) {
throw new GeneralException("Disk queues must have a 'queueName'");
}
! if (qdir == null || qdir.equals("")) {
throw new GeneralException("Disk queues must have a 'queueDir'");
}
|
|
From: Leech, J. <jl...@vi...> - 2003-07-01 22:15:11
|
I've got an XML document, and I've used XpathExtract to pull out some values and put them into document attributes. Then I want to use XpathSplitter to break the document down into parts, so that I can do something for each part (e.g. store values in the database using SqlWriter). However, the document attributes I assigned previously are all gone after the XpathSplitter stage. Is this by design? Is there another/better way to do what I'm trying to do? -Jonathan |
|
From: <de...@us...> - 2003-07-01 14:28:09
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/command
In directory sc8-pr-cvs1:/tmp/cvs-serv19170/modules/gui/src/com/babeldoc/gui/pipeline/command
Modified Files:
SwingFeederPanel.java
Log Message:
Commented one of catch clasuses to prevent compiler errors. We should reconsider this later...
Index: SwingFeederPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/command/SwingFeederPanel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SwingFeederPanel.java 11 Jun 2003 23:35:38 -0000 1.3
--- SwingFeederPanel.java 1 Jul 2003 14:28:04 -0000 1.4
***************
*** 171,176 ****
} catch (PipelineException e) {
e.printStackTrace(); //To change body of catch statement use Options | File Templates.
! } catch (JournalException e) {
! e.printStackTrace(); //To change body of catch statement use Options | File Templates.
} catch (IOException e) {
e.printStackTrace();
--- 171,176 ----
} catch (PipelineException e) {
e.printStackTrace(); //To change body of catch statement use Options | File Templates.
! //} catch (JournalException e) {
! // e.printStackTrace(); //To change body of catch statement use Options | File Templates.
} catch (IOException e) {
e.printStackTrace();
|