DO NOT REPLY [Bug 34942] - [VFS] no vfs_cache cleanup after ant task completed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34942. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34942 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 08:22 --- The only reason why it didnt make it into RC3 was that I am not sure if we really should use the tasks.properties as have the old v- task names. (See comment#30.) If we have a namespace we could name those tasks simply copy and then use vfs:copy in ant. What do you mean? And - already wanted to add this comment to the ticket. I just have forgotten. Sorry! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jelly] 1.0-final problem wrt tag caching
At least a quick summary of caching would be that: if caching is disabled, the tag object is renewed at the beginning of every new run. (where I understood disabled caching would imply the tag would disappear much earlier). Maybe that's a simple formulation... paul Le 15 août 05, à 02:49, Hans Gilde a écrit : Yes, you're running into a fundamental problem: there's no difference between the cache and the mechanism that tags use to look up their parents. The interface solution will be a partial fix, because tags that are never looked up by their children, never need caching. -Original Message- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent: Saturday, August 13, 2005 6:31 PM To: Jakarta Commons Developers List Subject: Re: [jelly] 1.0-final problem wrt tag caching Indeed... it is running by me as well but I am fully puzzled. I had added, after your commit, in my version the following which I believed was innocent... it wasn't: In TagScript.java, replace Tag tag = (Tag) threadLocalTagCache.get(t); with Tag tag = null; if(context.isCacheTags()) tag = (Tag) threadLocalTagCache.get(t); Indeed, otherwise, the tag is only cleared at the start of next run. Well, precisely this change made everything fail by me. I'll have to evaluate further for more tags-that-wish-caching but for now... fine! paul Le 13 août 05, à 18:25, peter royal a écrit : On Aug 10, 2005, at 6:14 PM, Paul Libbrecht wrote: I'm annoyed... I don't obtain the same results as you do. With the default cacheTags value as false, I obtain only your test failing. With the default cacheTags value as true, I obtain many failed tests. Did you not say that with your commit, all jelly-core tests were passing ? If not then we really need to push the NeedCaching and RefusesCaching interfaces. Right ? yes, with the change I made, all the tests in jelly-core were passing. can you give an example or two of a test that's failing for you? -pete -- peter royal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [javaflow] class loader
OK. What I can do is to completely replace the findClass method by using the URLCassLoader.findResource. aehem... please don't copy-and-paste. AFAIK we cannot do this because of sun's license restrictions. It won't be able to support package sealing nor can it easily define java.lang.Package correctly, but that applies to the current AntClassLoader-based one, so it's no worse. yeah, I wouldn't worry too much about that. cheers -- Torsten PGP.sig Description: This is a digitally signed message part
Re: [javaflow] Continuation.startSuspendedWith(Runnable)
On 13.08.2005, at 23:47, Kohsuke Kawaguchi wrote: Torsten, While implementing the workflow engine, I found that it's convenient to be able to create a Continuation without actually executing it. This is analogous to creating a thread in a suspended state. While this can be easily emulated by wrapping the Runnable into the following Runnable, new Runnable() { public void run() { Continuation.suspend(); realTarget.run(); } } it's bit convenient and faster/easier to do so in the javaflow itself, because all I need to do is: return new Continuation(new StackRecorder(target)); This definitely looks nicer. But I am not sure. :-/ ...can you please send me the diff off-list? cheers -- Torsten PGP.sig Description: This is a digitally signed message part
Re: [javaflow] integrating the latest BCEL
Torsten, When I instrument one of my classes with javaflow. I get a VerifyError from JVM --- the instrumented code isn't correct. While I haven't done much research on why/how, apparently the problem only happens when I use the 2004/03/29 version of BCEL. If I use the current trunk of BCEL as of today, the problem goes away. The 2004/03/29 version is more than a year old now, so I'd imagine there's been some bug fixes done since then. Now that BCEL has fixed 36110 (see [1]) at least to the point that our test cases won't break, would it make sense to modify javaflow to use the current trunk version? Sure! If it works - go ahead :) The BCEL version that comes with javaflow just had some bugs fixed. Add that time I did not have BCEL commit access. cheers -- Torsten PGP.sig Description: This is a digitally signed message part
Re: [jci] initial compiling
I have a problem with loading a class immediately after the setup of the CompilingClassLoader. With a setup like in the TestCases using a signal object it does not work (I get ClassNotFoundException), because the CCL does release a reload() event immediately after setup - before my files have been compiled. Why would you expect the classes be available right away? It's an asynchronous process. But maybe explain your environment a bit more. There is a bug in the listener behavior for the ReloadingClassLoader (it would require to signal the stop, not the reload. see the FIXME inside the code) but thats fine for the CCL. If the files are already on disk the start of the CL should start the fam that will trigger the compilation after the first run. The hasReloaded notification should happen after the compilation has finished and your classes should be available after that. Please try the latest version and report back. I did some substantial changes over the weekend. cheers -- Torsten PGP.sig Description: This is a digitally signed message part
svn commit: r232775 - in /jakarta/commons/proper/daemon/trunk/src/native/unix/native: arguments.c help.c
Author: jfclere Date: Mon Aug 15 01:50:17 2005 New Revision: 232775 URL: http://svn.apache.org/viewcvs?rev=232775view=rev Log: Fix PR 36051. Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/arguments.c jakarta/commons/proper/daemon/trunk/src/native/unix/native/help.c Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/arguments.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/arguments.c?rev=232775r1=232774r2=232775view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/native/arguments.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/arguments.c Mon Aug 15 01:50:17 2005 @@ -162,7 +162,7 @@ log_error(Invalid Error File specified); return(NULL); } -}else if (strstr(argv[x],-verbose)==argv[x]) { +} else if (strstr(argv[x],-verbose)==argv[x]) { args-opts[args-onum++]=strdup(argv[x]); } else if (strcmp(argv[x],-D)==0) { @@ -186,16 +186,17 @@ } else if (strstr(argv[x],-ea)==argv[x]) { args-opts[args-onum++]=strdup(argv[x]); -} else if (strstr(argv[x],-)==argv[x]) { -log_error(Invalid option %s,argv[x]); -return(NULL); - } else if (strcmp(argv[x],-procname) == 0) { args-procname = optional(argc, argv, x++); -if(args-procname == NULL) { +if( args-procname == NULL) { log_error(Invalid process name specified); return (NULL); } + +} else if (strstr(argv[x],-)==argv[x]) { +log_error(Invalid option %s,argv[x]); +return(NULL); + } else { args-clas=strdup(argv[x]); break; Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/help.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/help.c?rev=232775r1=232774r2=232775view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/native/help.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/help.c Mon Aug 15 01:50:17 2005 @@ -79,6 +79,9 @@ printf(-Xoption\n); printf(set Virtual Machine specific option\n); +printf(-procname procname\n); +printf(use the specified process name (works only for Linux)\n); + printf(-wait waittime\n); printf(wait waittime seconds for the service to start\n); printf(waittime should multiple of 10 (min=10)\n); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36051] - [daemon] procname argument is not accepted
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36051. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36051 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jci] initial compiling
Torsten Curdt tcurdt at apache.org writes: I have a problem with loading a class immediately after the setup of the CompilingClassLoader. With a setup like in the TestCases using a signal object it does not work (I get ClassNotFoundException), because the CCL does release a reload() event immediately after setup - before my files have been compiled. Why would you expect the classes be available right away? It's an asynchronous process. But maybe explain your environment a bit more. That's absolutely clear. I have a setup like in the TestCases with a signal object waiting for the reload signal. But the first reload signal is released by the CCL itself without waiting for the compiling. And IMO this is wrong. If the files are already on disk the start of the CL should start the fam that will trigger the compilation after the first run. Yes, it does. But at the same time it releases a hasReloaded event - before it is actually setup correctly. The hasReloaded notification should happen after the compilation has finished and your classes should be available after that. As I wrote above the first hasReloaded happens already by the CCL itself at the end of its start() method. The second hasReloaded is the one to go at the moment. But this looks more like a bug than a reliable feature. Please try the latest version and report back. I did some substantial changes over the weekend. Still the same like on Friday. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jci] initial compiling
The hasReloaded notification should happen after the compilation has finished and your classes should be available after that. As I wrote above the first hasReloaded happens already by the CCL itself at the end of its start() method. The second hasReloaded is the one to go at the moment. But this looks more like a bug than a reliable feature. Ahhh ...yes, the reload() in the start() method sounds wrong. Will look into this later today. cheers -- Torsten PGP.sig Description: This is a digitally signed message part
Re: [math] Re: commons math
Hi, this sounds great to me as well! I have been using [math] for some time and I found it very handy (congratulations to math team!). As for data mining functions I didn't have a chance to look what is implemented elsewhere yet (e.g: WEKA) but if there is anything what could be started in commons-math domena then I could offer my implementation of association mining package. It is not finished yet and still needs more tuning but I hope to finish it soon and see if it is helpful to other people. Regards, Lukas On 8/14/05, John Gant [EMAIL PROTECTED] wrote: Algorithms: - Feature reduction a. Basic cross correlation, including both spearman and pearson cross correlation algorithms. b. Principal Component Analysis. c. Entropy Based reduction. I currently have a, and b finished but need to brush up on my junit skills :) -Difference Measures I had in mind a difference engine, basically an engine that handles all difference operations. This difference engine could, in the constructor or using set methods, take an instance of one of the following difference methods. a. euclidean distance b. city-block distance -Pattern Discovery a. KMotif Discovery Algorithm. Again I have this algorithm completed, just need to boundary test everything. -Clustering Algorithms a. K-means Algorithm. I'd like to discuss the architecture of the k-means, I have a few ideas and would like a little feedback. I know this is just a small subset of the available algorithms, but this seems to be a good start. Thanks, John On 8/13/05, Phil Steitz [EMAIL PROTECTED] wrote: John, Sounds great! Extending the stat package to include some data mining capabilities would be a good and useful addition to commons-math, IMHO. To get started, the first thing to do is to read the developer's guide (http://jakarta.apache.org/commons/math/developers.html), which will tell point you to the general apache references and go over some IP stuff that we have to worry about in [math]. Then either here or on the Wiki (see the guide for a link), post a brief description of the kinds of mining algorithms that you are interested in developing and we can get this going. On this list, pls begin the subject line of all [math] messages with [math]. Thanks in advance for your contributions! Phil On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Hello, I am currently a graduate student in Computer Science and Computer Engineering at the University of Louisville, Kentucky. First let me congratulate the group of developers who commit and architect for apache commons. I have used many of the libraries and they are all of excellent quality (but I guess you already know that :)). I am interested in contributing to open source software and have interests that are in the domain of statistics with a focus in data mining. After writing many algorithms for classes, and asking an apache contributor if any of this would be needed elsewhere, he told me to purpose something to the dev list. So here it goes, I would like to help start a data mining section of commons math and advance the existing statistical libraries. I plan on developing the algorithms for personal use anyway, and would like to see some of my work be used by others. If anyone is interested we can continue this thread and I will email my code, and purpose my new algorithms. John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-configuration (in module jakarta-commons) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-configuration has an issue affecting its community integration. This issue affects 18 projects, and has been outstanding for 49 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-configuration : Jakarta commons - commons-jelly-tags-ojb : Commons Jelly - db-ojb : ObjectRelationalBridge - db-ojb-from-packages : ObjectRelationalBridge - db-torque : Persistence Layer - fulcrum-configuration-impl : Services Framework - fulcrum-intake : Services Framework - fulcrum-parser : Services Framework - fulcrum-security-adapter-turbine : Services Framework - fulcrum-security-memory : Services Framework - fulcrum-security-nt : Services Framework - fulcrum-template : Services Framework - jakarta-jetspeed : Enterprise Information Portal - jakarta-turbine-2 : A servlet based framework. - jakarta-turbine-3 : A servlet based framework. - jakarta-turbine-jcs : Cache - scarab : Issue Tracking Built for the Ages - test-ojb : ObjectRelationalBridge Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-configuration/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-configuration-15082005.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-configuration/gump_work/build_jakarta-commons_commons-configuration.html Work Name: build_jakarta-commons_commons-configuration (Type: Build) Work ended in a state of : Failed Elapsed: 4 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dmaven.final.name=commons-configuration-15082005 -f build-gump.xml jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/configuration] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-15082005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/packages/dom4j-1.4/dom4j-full.jar - Buildfile: build-gump.xml jar: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-commons/configuration/target/classes [javac] Compiling 52 source files to /x1/gump/public/workspace/jakarta-commons/configuration/target/classes [javac] /x1/gump/public/workspace/jakarta-commons/configuration/src/java/org/apache/commons/configuration/plist/PropertyListConfiguration.java:29: package org.apache.commons.codec.binary does not exist [javac] import org.apache.commons.codec.binary.Hex; [javac]^ [javac] /x1/gump/public/workspace/jakarta-commons/configuration/src/java/org/apache/commons/configuration/plist/PropertyListParser.java:11: package org.apache.commons.codec.binary does not exist [javac] import org.apache.commons.codec.binary.Hex; [javac]^ [javac]
[EMAIL PROTECTED]: Project commons-configuration (in module jakarta-commons) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-configuration has an issue affecting its community integration. This issue affects 18 projects, and has been outstanding for 49 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-configuration : Jakarta commons - commons-jelly-tags-ojb : Commons Jelly - db-ojb : ObjectRelationalBridge - db-ojb-from-packages : ObjectRelationalBridge - db-torque : Persistence Layer - fulcrum-configuration-impl : Services Framework - fulcrum-intake : Services Framework - fulcrum-parser : Services Framework - fulcrum-security-adapter-turbine : Services Framework - fulcrum-security-memory : Services Framework - fulcrum-security-nt : Services Framework - fulcrum-template : Services Framework - jakarta-jetspeed : Enterprise Information Portal - jakarta-turbine-2 : A servlet based framework. - jakarta-turbine-3 : A servlet based framework. - jakarta-turbine-jcs : Cache - scarab : Issue Tracking Built for the Ages - test-ojb : ObjectRelationalBridge Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-configuration/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-configuration-15082005.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-configuration/gump_work/build_jakarta-commons_commons-configuration.html Work Name: build_jakarta-commons_commons-configuration (Type: Build) Work ended in a state of : Failed Elapsed: 4 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dmaven.final.name=commons-configuration-15082005 -f build-gump.xml jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/configuration] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-15082005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/packages/dom4j-1.4/dom4j-full.jar - Buildfile: build-gump.xml jar: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-commons/configuration/target/classes [javac] Compiling 52 source files to /x1/gump/public/workspace/jakarta-commons/configuration/target/classes [javac] /x1/gump/public/workspace/jakarta-commons/configuration/src/java/org/apache/commons/configuration/plist/PropertyListConfiguration.java:29: package org.apache.commons.codec.binary does not exist [javac] import org.apache.commons.codec.binary.Hex; [javac]^ [javac] /x1/gump/public/workspace/jakarta-commons/configuration/src/java/org/apache/commons/configuration/plist/PropertyListParser.java:11: package org.apache.commons.codec.binary does not exist [javac] import org.apache.commons.codec.binary.Hex; [javac]^ [javac]
[EMAIL PROTECTED]: Project commons-betwixt (in module jakarta-commons) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-betwixt has an issue affecting its community integration. This issue affects 4 projects, and has been outstanding for 14 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-betwixt : Commons Betwixt Package - commons-jelly-tags-betwixt : Commons Jelly - commons-sql : Basic Services Architecture - maven-bootstrap : Project Management Tools Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-betwixt/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-betwixt-15082005.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-betwixt/gump_work/build_jakarta-commons_commons-betwixt.html Work Name: build_jakarta-commons_commons-betwixt (Type: Build) Work ended in a state of : Failed Elapsed: 2 mins 5 secs Command Line: java -Djava.awt.headless=true -Dant.build.clonevm=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-betwixt-15082005 -Dresourcedir=/usr/local/gump/public/workspace/jakarta-commons/betwixt jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/betwixt] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/classes:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-15082005.jar - [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.digester.Digester peek [junit] WARNING: Empty stack (returning null) [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.digester.Digester peek [junit] WARNING: Empty stack (returning null) [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] - --- [junit] Testcase: testCapitalizeNameMapper took 0.536 sec [junit] Testcase:
[EMAIL PROTECTED]: Project commons-betwixt (in module jakarta-commons) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-betwixt has an issue affecting its community integration. This issue affects 4 projects, and has been outstanding for 14 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-betwixt : Commons Betwixt Package - commons-jelly-tags-betwixt : Commons Jelly - commons-sql : Basic Services Architecture - maven-bootstrap : Project Management Tools Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-betwixt/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-betwixt-15082005.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-betwixt/gump_work/build_jakarta-commons_commons-betwixt.html Work Name: build_jakarta-commons_commons-betwixt (Type: Build) Work ended in a state of : Failed Elapsed: 2 mins 5 secs Command Line: java -Djava.awt.headless=true -Dant.build.clonevm=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-betwixt-15082005 -Dresourcedir=/usr/local/gump/public/workspace/jakarta-commons/betwixt jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/betwixt] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/classes:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-15082005.jar - [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.digester.Digester peek [junit] WARNING: Empty stack (returning null) [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.digester.Digester peek [junit] WARNING: Empty stack (returning null) [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] Aug 15, 2005 3:03:23 AM org.apache.commons.betwixt.expression.Context popOptions [junit] INFO: Cannot pop options off empty stack [junit] - --- [junit] Testcase: testCapitalizeNameMapper took 0.536 sec [junit] Testcase:
[EMAIL PROTECTED]: Project commons-jelly (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly has an issue affecting its community integration. This issue affects 38 projects, and has been outstanding for 101 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly : Commons Jelly - commons-jelly-tags-ant : Commons Jelly - commons-jelly-tags-antlr : Commons Jelly - commons-jelly-tags-avalon : Commons Jelly - commons-jelly-tags-bean : Commons Jelly - commons-jelly-tags-beanshell : Commons Jelly - commons-jelly-tags-bsf : Commons Jelly - commons-jelly-tags-define : Commons Jelly - commons-jelly-tags-dynabean : Commons Jelly - commons-jelly-tags-email : Commons Jelly - commons-jelly-tags-fmt : Commons Jelly - commons-jelly-tags-html : Commons Jelly - commons-jelly-tags-http : Commons Jelly - commons-jelly-tags-interaction : Commons Jelly - commons-jelly-tags-jaxme : Commons Jelly - commons-jelly-tags-jetty : Commons Jelly - commons-jelly-tags-jface : Commons Jelly - commons-jelly-tags-jms : Commons Jelly - commons-jelly-tags-jmx : Commons Jelly - commons-jelly-tags-jsl : Commons Jelly - commons-jelly-tags-junit : Commons Jelly - commons-jelly-tags-log : Commons Jelly - commons-jelly-tags-memory : Commons Jelly - commons-jelly-tags-quartz : Commons Jelly - commons-jelly-tags-regexp : Commons Jelly - commons-jelly-tags-soap : Commons Jelly - commons-jelly-tags-sql : Commons Jelly - commons-jelly-tags-swing : Commons Jelly - commons-jelly-tags-swt : Commons Jelly - commons-jelly-tags-threads : Commons Jelly - commons-jelly-tags-util : Commons Jelly - commons-jelly-tags-validate : Commons Jelly - commons-jelly-tags-velocity : Commons Jelly - commons-jelly-tags-xml : Commons Jelly - commons-jelly-tags-xmlunit : Commons Jelly - commons-latka : Functional Testing Suite - geronimo : Apache Geronimo, the J2EE server project of the Apache Softw... - maven : Project Management Tools Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-15082005.jar] identifier set to project name -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for property maven.jar.servletapi. -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for property maven.jar.jstl. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly/gump_work/build_commons-jelly_commons-jelly.html Work Name: build_commons-jelly_commons-jelly (Type: Build) Work ended in a state of : Failed Elapsed: 1 min 1 sec Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-15082005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/forehead/forehead-1.0-beta-5.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
[EMAIL PROTECTED]: Project commons-jelly (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly has an issue affecting its community integration. This issue affects 38 projects, and has been outstanding for 101 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly : Commons Jelly - commons-jelly-tags-ant : Commons Jelly - commons-jelly-tags-antlr : Commons Jelly - commons-jelly-tags-avalon : Commons Jelly - commons-jelly-tags-bean : Commons Jelly - commons-jelly-tags-beanshell : Commons Jelly - commons-jelly-tags-bsf : Commons Jelly - commons-jelly-tags-define : Commons Jelly - commons-jelly-tags-dynabean : Commons Jelly - commons-jelly-tags-email : Commons Jelly - commons-jelly-tags-fmt : Commons Jelly - commons-jelly-tags-html : Commons Jelly - commons-jelly-tags-http : Commons Jelly - commons-jelly-tags-interaction : Commons Jelly - commons-jelly-tags-jaxme : Commons Jelly - commons-jelly-tags-jetty : Commons Jelly - commons-jelly-tags-jface : Commons Jelly - commons-jelly-tags-jms : Commons Jelly - commons-jelly-tags-jmx : Commons Jelly - commons-jelly-tags-jsl : Commons Jelly - commons-jelly-tags-junit : Commons Jelly - commons-jelly-tags-log : Commons Jelly - commons-jelly-tags-memory : Commons Jelly - commons-jelly-tags-quartz : Commons Jelly - commons-jelly-tags-regexp : Commons Jelly - commons-jelly-tags-soap : Commons Jelly - commons-jelly-tags-sql : Commons Jelly - commons-jelly-tags-swing : Commons Jelly - commons-jelly-tags-swt : Commons Jelly - commons-jelly-tags-threads : Commons Jelly - commons-jelly-tags-util : Commons Jelly - commons-jelly-tags-validate : Commons Jelly - commons-jelly-tags-velocity : Commons Jelly - commons-jelly-tags-xml : Commons Jelly - commons-jelly-tags-xmlunit : Commons Jelly - commons-latka : Functional Testing Suite - geronimo : Apache Geronimo, the J2EE server project of the Apache Softw... - maven : Project Management Tools Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-15082005.jar] identifier set to project name -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for property maven.jar.servletapi. -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for property maven.jar.jstl. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly/gump_work/build_commons-jelly_commons-jelly.html Work Name: build_commons-jelly_commons-jelly (Type: Build) Work ended in a state of : Failed Elapsed: 1 min 1 sec Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-15082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-15082005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/forehead/forehead-1.0-beta-5.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
svn commit: r232790 - /jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c
Author: jfclere Date: Mon Aug 15 03:48:56 2005 New Revision: 232790 URL: http://svn.apache.org/viewcvs?rev=232790view=rev Log: Just add a comment. Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c?rev=232790r1=232789r2=232790view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Mon Aug 15 03:48:56 2005 @@ -707,6 +707,7 @@ unlink(args-pidf); /* If the child got out with 123 he wants to be restarted */ +/* See java_abort123 (we use this return code to restart when the JVM aborts) */ if (status==123) { log_debug(Reloading service); continue; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232794 - /jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c
Author: jfclere Date: Mon Aug 15 04:19:48 2005 New Revision: 232794 URL: http://svn.apache.org/viewcvs?rev=232794view=rev Log: Fix 35017 (wait 60 seconds before restarting!). Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c?rev=232794r1=232793r2=232794view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Mon Aug 15 04:19:48 2005 @@ -31,6 +31,7 @@ #define _LINUX_FS_H #include linux/capability.h #endif +#include time.h extern char **environ; @@ -600,6 +601,7 @@ pid_t pid=0; uid_t uid=0; gid_t gid=0; +time_t laststart; /* Parse command line arguments */ args=arguments(argc,argv); @@ -685,6 +687,7 @@ while ((pid=fork())!=-1) { /* We forked (again), if this is the child, we go on normally */ if (pid==0) exit(child(args,data,uid,gid)); +laststart = time(NULL); /* We are in the controller, we have to forward all interesting signals to the child, and wait for it to die */ @@ -710,6 +713,11 @@ /* See java_abort123 (we use this return code to restart when the JVM aborts) */ if (status==123) { log_debug(Reloading service); +/* prevent looping */ +if (laststart+60time(NULL)) { + log_debug(Waiting 60 s to prevent looping); + sleep(60); +} continue; } /* If the child got out with 0 he is shutting down */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35017] - [daemon] jsvc hangs on JRE error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35017. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35017 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35188] - [daemon] JSVC does not work with JRockit
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35188. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35188 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 13:22 --- That seems to be a JRockit bug. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232795 - /jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c
Author: jfclere Date: Mon Aug 15 04:27:15 2005 New Revision: 232795 URL: http://svn.apache.org/viewcvs?rev=232795view=rev Log: Fix 35188 (typos in messages and comments). Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c?rev=232795r1=232794r2=232795view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/apps/prunsrv/prunsrv.c Mon Aug 15 04:27:15 2005 @@ -331,7 +331,7 @@ } } -/* Debuging functions */ +/* Debugging functions */ static void printUsage(LPAPXCMDLINE lpCmdline) { #ifdef _DEBUG @@ -1007,7 +1007,7 @@ return rv; } -/* Service controll handler +/* Service control handler */ void WINAPI service_ctrl_handler(DWORD dwCtrlCode) { @@ -1166,7 +1166,7 @@ /* Service is started */ DWORD rv; reportServiceStatus(SERVICE_RUNNING, NO_ERROR, 0); -apxLogWrite(APXLOG_MARK_DEBUG Waitning worker to finish...); +apxLogWrite(APXLOG_MARK_DEBUG Waiting worker to finish...); /* Set console handler to capture CTRL events */ SetConsoleCtrlHandler((PHANDLER_ROUTINE)console_handler, TRUE); @@ -1203,7 +1203,7 @@ _service_mode = FALSE; _service_name = lpCmdline-szApplication; -apxLogWrite(APXLOG_MARK_INFO Debuging Service...); +apxLogWrite(APXLOG_MARK_INFO Debugging Service...); serviceMain(0, NULL); apxLogWrite(APXLOG_MARK_INFO Debug service finished.); @@ -1287,7 +1287,7 @@ rv = 8; break; default: -/* Unknow command option */ +/* Unknown command option */ apxLogWrite(APXLOG_MARK_ERROR Unknown command line option); printUsage(lpCmdline); rv = 99; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35318] - [daemon] debug log output writes Waitning rather than Waiting.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35318. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35318 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232797 - in /jakarta/commons/proper/daemon/trunk/src/native: nt/procrun/src/javajni.c unix/native/java.c
Author: jfclere Date: Mon Aug 15 04:33:58 2005 New Revision: 232797 URL: http://svn.apache.org/viewcvs?rev=232797view=rev Log: Fix PR 35318. Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c jakarta/commons/proper/daemon/trunk/src/native/unix/native/java.c Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c?rev=232797r1=232796r2=232797view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c Mon Aug 15 04:33:58 2005 @@ -339,7 +339,7 @@ } lpJava-iVersion = JNICALL_0(GetVersion); if (lpJava-iVersion JNI_VERSION_1_2) { -apxLogWrite(APXLOG_MARK_ERROR Unsuported JNI version %d, lpJava-iVersion); +apxLogWrite(APXLOG_MARK_ERROR Unsuported JNI version %#08x, lpJava-iVersion); return FALSE; } rv = TRUE; Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/java.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/java.c?rev=232797r1=232796r2=232797view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/native/java.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/java.c Mon Aug 15 04:33:58 2005 @@ -202,7 +202,7 @@ /* Do some debugging */ if (log_debug_flag==true) { log_debug(+-- DUMPING JAVA VM CREATION ARGUMENTS -); -log_debug(| Version: %x,arg.version); +log_debug(| Version: %#08x,arg.version); log_debug(| Ignore Unrecognized Arguments: %s, arg.ignoreUnrecognized==TRUE?True:False); log_debug(| Extra options: %d,arg.nOptions); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35340] - [daemon] improve JVM version message
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35340. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35340 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35403] - [daemon] Changes to make jsvc work on AMD64 w/ JDK 1.5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35403. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35403 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 13:51 --- why do you use $JAVA_HOME/jre/lib/ CPU /server/libjvm.so? Doesn't it work with client? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35659] - [daemon] Tomcat under jsvc is crashing soon
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35659. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35659 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 14:08 --- Any things in catalina.out? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Re: commons math
Excellent! I also found some older stuff that I had written yesterday, and it included a tree clustering algorithm. Within this code, I also found implementations of distibution-specific random number generators, i.e. triangular, uniform, exponential, etc. I am not sure if these would be useful in the statistical section, but I could refactor them to use commons math classes. Thanks, John On 8/15/05, Lukas Vlcek [EMAIL PROTECTED] wrote: Hi, this sounds great to me as well! I have been using [math] for some time and I found it very handy (congratulations to math team!). As for data mining functions I didn't have a chance to look what is implemented elsewhere yet (e.g: WEKA) but if there is anything what could be started in commons-math domena then I could offer my implementation of association mining package. It is not finished yet and still needs more tuning but I hope to finish it soon and see if it is helpful to other people. Regards, Lukas On 8/14/05, John Gant [EMAIL PROTECTED] wrote: Algorithms: - Feature reduction a. Basic cross correlation, including both spearman and pearson cross correlation algorithms. b. Principal Component Analysis. c. Entropy Based reduction. I currently have a, and b finished but need to brush up on my junit skills :) -Difference Measures I had in mind a difference engine, basically an engine that handles all difference operations. This difference engine could, in the constructor or using set methods, take an instance of one of the following difference methods. a. euclidean distance b. city-block distance -Pattern Discovery a. KMotif Discovery Algorithm. Again I have this algorithm completed, just need to boundary test everything. -Clustering Algorithms a. K-means Algorithm. I'd like to discuss the architecture of the k-means, I have a few ideas and would like a little feedback. I know this is just a small subset of the available algorithms, but this seems to be a good start. Thanks, John On 8/13/05, Phil Steitz [EMAIL PROTECTED] wrote: John, Sounds great! Extending the stat package to include some data mining capabilities would be a good and useful addition to commons-math, IMHO. To get started, the first thing to do is to read the developer's guide (http://jakarta.apache.org/commons/math/developers.html), which will tell point you to the general apache references and go over some IP stuff that we have to worry about in [math]. Then either here or on the Wiki (see the guide for a link), post a brief description of the kinds of mining algorithms that you are interested in developing and we can get this going. On this list, pls begin the subject line of all [math] messages with [math]. Thanks in advance for your contributions! Phil On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Hello, I am currently a graduate student in Computer Science and Computer Engineering at the University of Louisville, Kentucky. First let me congratulate the group of developers who commit and architect for apache commons. I have used many of the libraries and they are all of excellent quality (but I guess you already know that :)). I am interested in contributing to open source software and have interests that are in the domain of statistics with a focus in data mining. After writing many algorithms for classes, and asking an apache contributor if any of this would be needed elsewhere, he told me to purpose something to the dev list. So here it goes, I would like to help start a data mining section of commons math and advance the existing statistical libraries. I plan on developing the algorithms for personal use anyway, and would like to see some of my work be used by others. If anyone is interested we can continue this thread and I will email my code, and purpose my new algorithms. John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36030] - [daemon] invalid execve() usage
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36030. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36030 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 14:36 --- Using jsvc -procname /usr/bin/jsvc won't help. -procname is just to change the name of process. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35659] - [daemon] Tomcat under jsvc is crashing soon
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35659. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35659 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 14:45 --- (In reply to comment #1) Any things in catalina.out? No any unusual things in catalina.out. But I think I've fixed this problem, by compiling CVS version of jsvc. I've 3.5 weeks uptime with no crash yet, but on standart jsvc I had 1 crash per week. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35340] - [daemon] improve JVM version message
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35340. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35340 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 14:52 --- From looking at the commit log, I think the word unsupported is still missing a p in javajni.c; it should be Unsupported. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35612] - [daemon] Valid service names are rejected
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35612. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35612 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 14:57 --- Bug 33671 contains an alternative patch should you wish to keep the alphanumeric restriction on service names. The patch in 33671 just adds validation for the service name length and improves the error message. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[math] Re: commons math
Hi, As Phil noted the question of IP is very important. As far as I know association mining concept is not covered by any patent or copyright (in fact I would be very surprised if it is). Also I think (and authors of [math] would confirm) that it is important to provide good and clear documentation for every new function to [math]. John, do you have any documentation for you functions (I mean links to some papers where the function is described)? I am not [math] commiter but I am interested in your stuff. Is there any link where I could download your code? Regards, Lukas On 8/15/05, John Gant [EMAIL PROTECTED] wrote: Excellent! I also found some older stuff that I had written yesterday, and it included a tree clustering algorithm. Within this code, I also found implementations of distibution-specific random number generators, i.e. triangular, uniform, exponential, etc. I am not sure if these would be useful in the statistical section, but I could refactor them to use commons math classes. Thanks, John On 8/15/05, Lukas Vlcek [EMAIL PROTECTED] wrote: Hi, this sounds great to me as well! I have been using [math] for some time and I found it very handy (congratulations to math team!). As for data mining functions I didn't have a chance to look what is implemented elsewhere yet (e.g: WEKA) but if there is anything what could be started in commons-math domena then I could offer my implementation of association mining package. It is not finished yet and still needs more tuning but I hope to finish it soon and see if it is helpful to other people. Regards, Lukas On 8/14/05, John Gant [EMAIL PROTECTED] wrote: Algorithms: - Feature reduction a. Basic cross correlation, including both spearman and pearson cross correlation algorithms. b. Principal Component Analysis. c. Entropy Based reduction. I currently have a, and b finished but need to brush up on my junit skills :) -Difference Measures I had in mind a difference engine, basically an engine that handles all difference operations. This difference engine could, in the constructor or using set methods, take an instance of one of the following difference methods. a. euclidean distance b. city-block distance -Pattern Discovery a. KMotif Discovery Algorithm. Again I have this algorithm completed, just need to boundary test everything. -Clustering Algorithms a. K-means Algorithm. I'd like to discuss the architecture of the k-means, I have a few ideas and would like a little feedback. I know this is just a small subset of the available algorithms, but this seems to be a good start. Thanks, John On 8/13/05, Phil Steitz [EMAIL PROTECTED] wrote: John, Sounds great! Extending the stat package to include some data mining capabilities would be a good and useful addition to commons-math, IMHO. To get started, the first thing to do is to read the developer's guide (http://jakarta.apache.org/commons/math/developers.html), which will tell point you to the general apache references and go over some IP stuff that we have to worry about in [math]. Then either here or on the Wiki (see the guide for a link), post a brief description of the kinds of mining algorithms that you are interested in developing and we can get this going. On this list, pls begin the subject line of all [math] messages with [math]. Thanks in advance for your contributions! Phil On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Hello, I am currently a graduate student in Computer Science and Computer Engineering at the University of Louisville, Kentucky. First let me congratulate the group of developers who commit and architect for apache commons. I have used many of the libraries and they are all of excellent quality (but I guess you already know that :)). I am interested in contributing to open source software and have interests that are in the domain of statistics with a focus in data mining. After writing many algorithms for classes, and asking an apache contributor if any of this would be needed elsewhere, he told me to purpose something to the dev list. So here it goes, I would like to help start a data mining section of commons math and advance the existing statistical libraries. I plan on developing the algorithms for personal use anyway, and would like to see some of my work be used by others. If anyone is interested we can continue this thread and I will email my code, and purpose my new algorithms. John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Re: commons math
I have no link currently, although I can create a link soon (within the day). All of my algorithms are textbook algorithms, that I have used for class or other purposes. Although I am fairly certain these are not restricted in any way, I am not overly familiar with IP issues and welcome help on determining the status of these algorithms. Let me work on putting this code online this evening (I'm on EST), and I'll send a link out tonight so that my code is available. Please keep in mind that this does need refactoring to include commons math basic statistical and numerical classes. By this I mean that I have used my own mean, sum, max, min methods within these classes. I plan on refactoring this to include commons math based methods. Thanks, John On 8/15/05, Lukas Vlcek [EMAIL PROTECTED] wrote: Hi, As Phil noted the question of IP is very important. As far as I know association mining concept is not covered by any patent or copyright (in fact I would be very surprised if it is). Also I think (and authors of [math] would confirm) that it is important to provide good and clear documentation for every new function to [math]. John, do you have any documentation for you functions (I mean links to some papers where the function is described)? I am not [math] commiter but I am interested in your stuff. Is there any link where I could download your code? Regards, Lukas On 8/15/05, John Gant [EMAIL PROTECTED] wrote: Excellent! I also found some older stuff that I had written yesterday, and it included a tree clustering algorithm. Within this code, I also found implementations of distibution-specific random number generators, i.e. triangular, uniform, exponential, etc. I am not sure if these would be useful in the statistical section, but I could refactor them to use commons math classes. Thanks, John On 8/15/05, Lukas Vlcek [EMAIL PROTECTED] wrote: Hi, this sounds great to me as well! I have been using [math] for some time and I found it very handy (congratulations to math team!). As for data mining functions I didn't have a chance to look what is implemented elsewhere yet (e.g: WEKA) but if there is anything what could be started in commons-math domena then I could offer my implementation of association mining package. It is not finished yet and still needs more tuning but I hope to finish it soon and see if it is helpful to other people. Regards, Lukas On 8/14/05, John Gant [EMAIL PROTECTED] wrote: Algorithms: - Feature reduction a. Basic cross correlation, including both spearman and pearson cross correlation algorithms. b. Principal Component Analysis. c. Entropy Based reduction. I currently have a, and b finished but need to brush up on my junit skills :) -Difference Measures I had in mind a difference engine, basically an engine that handles all difference operations. This difference engine could, in the constructor or using set methods, take an instance of one of the following difference methods. a. euclidean distance b. city-block distance -Pattern Discovery a. KMotif Discovery Algorithm. Again I have this algorithm completed, just need to boundary test everything. -Clustering Algorithms a. K-means Algorithm. I'd like to discuss the architecture of the k-means, I have a few ideas and would like a little feedback. I know this is just a small subset of the available algorithms, but this seems to be a good start. Thanks, John On 8/13/05, Phil Steitz [EMAIL PROTECTED] wrote: John, Sounds great! Extending the stat package to include some data mining capabilities would be a good and useful addition to commons-math, IMHO. To get started, the first thing to do is to read the developer's guide (http://jakarta.apache.org/commons/math/developers.html), which will tell point you to the general apache references and go over some IP stuff that we have to worry about in [math]. Then either here or on the Wiki (see the guide for a link), post a brief description of the kinds of mining algorithms that you are interested in developing and we can get this going. On this list, pls begin the subject line of all [math] messages with [math]. Thanks in advance for your contributions! Phil On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Hello, I am currently a graduate student in Computer Science and Computer Engineering at the University of Louisville, Kentucky. First let me congratulate the group of developers who commit and architect for apache commons. I have used many of the libraries and they are all of excellent quality (but I guess you already know that :)). I am interested in contributing to open source software and have
DO NOT REPLY [Bug 36196] New: - [jci] compiler implementations: streams remain open ... and other minor issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36196. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36196 Summary: [jci] compiler implementations: streams remain open ... and other minor issues Product: Commons Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: minor Priority: P2 Component: Sandbox AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] 1. In the Eclipse compiler the streams are not closed. 2. Exceptions are just printed (e.printStacktrace()) instead of logged. 3. Consistency in formatting is missing. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36196] - [jci] compiler implementations: streams remain open ... and other minor issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36196. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36196 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 15:28 --- Created an attachment (id=16048) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16048action=view) Patch to the EclipseJavaCompiler -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36196] - [jci] compiler implementations: streams remain open ... and other minor issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36196. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36196 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 15:32 --- Created an attachment (id=16049) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16049action=view) Patch to the JaninoJavaCompiler This one is just about formatting. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Re: commons math
I will, later this evening, reply with the resources I used to create the software. When I mentioned textbook, I meant that I used the pseudocode as a guideline for development. None of the software I use/or have used was a direct copy from a book like Numerical Recipes, due to my need to customize the data structures. Thanks, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34942] - [VFS] no vfs_cache cleanup after ant task completed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34942. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34942 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 16:34 --- Ok, I see what you mean now. It's hard to say. If you look at ant-contrib, they haven't prefixed their task names. However, they also don't have any task names that conflict with ant-core or ant-optional tasks in the default namespace. This might be a good question for the ant-user list (which I'm not currently subscribed to). One immediate thought that comes to mind is that if the tasks.properties file is left in place and people use it directly instead of antlib and don't povide a namespace when they tasksdef the tasks, then the copy/move/delete/mkdir tasks either won't work or will conflict with strange ways with the core/optional tasks. The buld will almost certainly blow up. It might be wise to remove tasks.properties altogether and define everything explicitly in antlib.xml. This would force users to provide their own namespace when they declare VFS tasks since they'll have to enter one as a project xmlns entry. At that point, naming the taks something like copy rather than v-copy will be safe because copy will always be referenced within its own namespace. Again, I would consult with the Ant guru's before making a final decision. Jake -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34942] - [VFS] no vfs_cache cleanup after ant task completed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34942. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34942 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 16:46 --- Why not have tasks.properties to be backward compatible (with the old task prefix v-) and we create a new antlib.xml where we define our tasks (again) but without the v- prefix. That way we should have a smooth transition. Ok, for a short time we have to maintain two task definition files, but thats not that hard thay are very slim. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34942] - [VFS] no vfs_cache cleanup after ant task completed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34942. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34942 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 17:05 --- I see it as possibly confusing when users make the switch to the antlib stuff when their v-* or vfs:v-* stuff quits working. I guess I don't care too much either way. I won't be confused about it since I have full knowledge of the changes per this conversation. I worry about others who are not privy to this discussion. However, if you don't see a problem with support on this issue, why should I? :-) Go for it! Jake -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validator By Name
I'm working on a large project using Commons Validator, using exclusively the regex validation. I want to administer all my regexes from a single location. I don't want each developer to have to write their own regex for, e.g., a first name or a U.S. phone number. I want to write the regex in one place and have all the developers use that regex by name. That way I can ensure it's correct and consistent, and I can change it in one place. So, I would like a Commons Validator method that is passed in a name of a validator. Then it would look up that validator regex and apply that. Something like: public bool isValidByName(String text, String name); There would be an XML file that defines the validators: validator type=byName name=phoneNumber regex=(1[ -+]*)?\d{3}\-?\d{3}-?\d{4} / Design ande development should be pretty straight-forward. Just a lookup by name, then you pass it to matchesRegex(). On a longer term view, we could eventually make the ByName validator take any type of validation, or any combination there-of. So I could, e.g., make an email field that only allows France email addresses. But that gets trickier than the regex-by-name, and, frankly, it's more than I need right now. So, is this worthwhile functionality? Do I have any holes? I could probly write some or all of this myself, but I'd like discussion on what it needs to do and what the basic approach would be. And does this even belong in JCL? I tried to suggest it to Shale, and Craig suggested it belongs in JCL. Thanks, Ron Romero Texas ACCESS Alliance Work 512-732-5827 AIM: ronzromero [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [lang] StrMatcher in text subpackage
Hello: Perhaps the Javadoc could mention when to use a StrMatcher vs RE's in 1.4 or Jakarta's ORO. I would say that removing any code duplication is key in this on-going refactoring. So I look forward to seeing the complete refactoring. I also have a (fantasy?) goal that we could get 100% unit test coverage for the new text package. ;-) Gary -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Sunday, August 14, 2005 3:03 PM To: Jakarta Commons Developers List Subject: [lang] StrMatcher in text subpackage I have now performed the first step in unifying the disparate text subpackage, creating a top-level StrMatcher class. StrMatcher is extracted from StrTokenizer and tidied up. It provides a way of searching a character buffer for a match. Basic matchers do nothing interesting, but user-written subclasses could. So far, it's only used in StrBuilder, where indexOf, lastIndexOf, contains, delete and replace all have variants that take a StrMatcher now. The next step, unless there are objections, is to refactor StrTokenizer to use the new StrMatcher class (rather than the old one still inside it). Then methods can be added to StrBuilder such as split() and tokenizer(). Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [javaflow] class loader
Torsten Curdt wrote: OK. What I can do is to completely replace the findClass method by using the URLCassLoader.findResource. aehem... please don't copy-and-paste. AFAIK we cannot do this because of sun's license restrictions. I believe I only cut-and-paste from AntClassLoader, not URLClassLoader, but now that you mentioned it, I'm no longer too sure. Did you spot any code that look like from URLClassLoader? Should I just throw it away and reimplement it from scratch, just to be safe? -- Kohsuke Kawaguchi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jci] JaninoJavaCompiler and other issues
Hello, today I came across an issue with the Janino version 2.3.3 in use in JCI. It does not find static methods in classes. After an update to 2.3.8 (which unfortunately needs adaptions in JaninoJavaCompiler the compilation of my classes work again. Is there any interest in this update to JCI codebase? Next issue is triggered by this update to 2.3.8. We also use Janino for XSP compilation in Cocoon, which also did no longer work after the update to 2.3.8. I made the changes and now please let me point out the issues mentioned in the subject. The class is actually an implementation of Cocoon's LanguageCompiler interface and a wrapper around JaninoJavaCompiler. 1. The LanguageCompiler interface has a method setEncoding(String). Unfortunately I can not propagate the param to JaninoJavaCompiler, because the value is not parameterizable there, but hard-coded. 2. The CompilationProblem class has nice field storing e.g. location information. Unfortunately there is no access to these fields, just a toString() method. But the class CompilerError in Cocoon would like to see these informations. Would it be possible to add public getters to CompilationProblem? 3. The CompilationProblem is a nice abstraction, but isn't it somewhat limited? Both Eclipse and Janino provide more information than CompilationProblem can accept. Wouldn't it be better to convert CompilationProblem to an interface and create class like EclipseCompilationProblem and JaninoCompilationProblem being wrappers for the original problem/exception classes? So like in my case where I know that the CompilationProblem should be an instance of a JaninoCompilationProblem I can react more specifically (e.g. accessing the column number of the problem). WDYT? Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36190] - [cli] more structured exceptions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36190. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36190 [EMAIL PROTECTED] changed: What|Removed |Added Summary|more structured exceptions |[cli] more structured ||exceptions -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36189] - [cli] separate definition and values
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36189. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36189 [EMAIL PROTECTED] changed: What|Removed |Added Summary|separate definition and |[cli] separate definition |values |and values -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36188] - [cli] support type validation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36188. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36188 [EMAIL PROTECTED] changed: What|Removed |Added Summary|support type validation |[cli] support type ||validation -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36187] - [cli] support validation for one/many values
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36187. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36187 [EMAIL PROTECTED] changed: What|Removed |Added Summary|support validation for |[cli] support validation for |one/many values |one/many values -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36186] - [cli] Options.getOptions() should return options in the order they were insterted
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36186. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36186 [EMAIL PROTECTED] changed: What|Removed |Added Summary|Options.getOptions() should |[cli] Options.getOptions() |return options in the order |should return options in the |they were insterted |order they were insterted -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36185] - [cli] supporting options without a short option
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36185. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36185 [EMAIL PROTECTED] changed: What|Removed |Added Summary|supporting options without a|[cli] supporting options |short option|without a short option -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232839 - /jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c
Author: jfclere Date: Mon Aug 15 10:44:02 2005 New Revision: 232839 URL: http://svn.apache.org/viewcvs?rev=232839view=rev Log: fix 36030. Note that it requires /proc to be mounted. Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c?rev=232839r1=232838r2=232839view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Mon Aug 15 10:44:02 2005 @@ -631,8 +631,9 @@ if (strcmp(argv[0],args-procname)!=0) { char *oldpath=getenv(LD_LIBRARY_PATH); char *libf=java_library(args,data); -char *old=argv[0]; +char *filename; char buf[2048]; +int ret; char *tmp=NULL; char *p1=NULL; char *p2=NULL; @@ -653,9 +654,18 @@ log_debug(Invoking w/ LD_LIBRARY_PATH=%s,getenv(LD_LIBRARY_PATH)); +/* execve needs a full path */ +ret = readlink(/proc/self/exe,buf,sizeof(buf)-1); +if (ret=0) + strcpy(buf,argv[0]); +else + buf[ret]='\0'; + +filename=buf; + argv[0]=args-procname; -execve(old,argv,environ); -log_error(Cannot execute JSVC executor process); +execve(filename,argv,environ); +log_error(Cannot execute JSVC executor process (%s),filename); return(1); } log_debug(Running w/ LD_LIBRARY_PATH=%s,getenv(LD_LIBRARY_PATH)); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36030] - [daemon] invalid execve() usage
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36030. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36030 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 19:44 --- I have committed a fix. It needs /proc -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36031] - [daemon] Please support more architectures
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36031. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36031 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 20:11 --- I need some input: find $JAVA_HOME -name jvm.cfg find $JAVA_HOME -name *.so for the 3 platforms. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jci] JaninoJavaCompiler and other issues
today I came across an issue with the Janino version 2.3.3 in use in JCI. It does not find static methods in classes. After an update to 2.3.8 (which unfortunately needs adaptions in JaninoJavaCompiler the compilation of my classes work again. Is there any interest in this update to JCI codebase? Of course! ...what a question ;) Next issue is triggered by this update to 2.3.8. We also use Janino for XSP compilation in Cocoon, ..as well as the eclipse compiler - I know ;) which also did no longer work after the update to 2.3.8. I made the changes and now please let me point out the issues mentioned in the subject. The class is actually an implementation of Cocoon's LanguageCompiler interface and a wrapper around JaninoJavaCompiler. Why not create a JciCompiler implementation of the LanguageCompiler interface? It could act as a factory. The implementation could be passed in through the component configuration. 1. The LanguageCompiler interface has a method setEncoding(String). Unfortunately I can not propagate the param to JaninoJavaCompiler, because the value is not parameterizable there, but hard-coded. Ok ...already came across this too 2. The CompilationProblem class has nice field storing e.g. location information. Unfortunately there is no access to these fields, just a toString() method. But the class CompilerError in Cocoon would like to see these informations. Would it be possible to add public getters to CompilationProblem? Make sense 3. The CompilationProblem is a nice abstraction, but isn't it somewhat limited? Both Eclipse and Janino provide more information than CompilationProblem can accept. Wouldn't it be better to convert CompilationProblem to an interface and create class like EclipseCompilationProblem and JaninoCompilationProblem being wrappers for the original problem/exception classes? So like in my case where I know that the CompilationProblem should be an instance of a JaninoCompilationProblem I can react more specifically (e.g. accessing the column number of the problem). Sounds like a good idea! Will look into it tonight cheers -- Torsten PGP.sig Description: This is a digitally signed message part
svn commit: r232843 - /jakarta/commons/proper/daemon/trunk/src/native/unix/CHANGES.txt
Author: jfclere Date: Mon Aug 15 11:14:33 2005 New Revision: 232843 URL: http://svn.apache.org/viewcvs?rev=232843view=rev Log: The corrections I have done today ;-) Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/CHANGES.txt Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/CHANGES.txt URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/CHANGES.txt?rev=232843r1=232842r2=232843view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/unix/CHANGES.txt (original) +++ jakarta/commons/proper/daemon/trunk/src/native/unix/CHANGES.txt Mon Aug 15 11:14:33 2005 @@ -16,3 +16,8 @@ Changes with next-unreleased-yet version. * Add support for hp-ux. + * fix 35017. + * fix 36051. + * fix 35318. + * fix 35340. + * fix 36030. (using /proc/self/exe and readlink). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232844 - /jakarta/commons/proper/daemon/trunk/src/native/nt/service/instmain.c
Author: jfclere Date: Mon Aug 15 11:16:16 2005 New Revision: 232844 URL: http://svn.apache.org/viewcvs?rev=232844view=rev Log: Fix 36050 (attachement 15913!). Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/service/instmain.c Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/service/instmain.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/nt/service/instmain.c?rev=232844r1=232843r2=232844view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/nt/service/instmain.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/nt/service/instmain.c Mon Aug 15 11:16:16 2005 @@ -182,7 +182,7 @@ /* open the service control manager with full access right */ hManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS); if (NULL != hManager) { -/* create the service +/* create the service */ hService = CreateService(hManager, SZSERVICENAME, /* name of the service */ SZSERVICEDISPLAYNAME, /* description */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [javaflow] class loader
aehem... please don't copy-and-paste. AFAIK we cannot do this because of sun's license restrictions. I believe I only cut-and-paste from AntClassLoader, not URLClassLoader, but now that you mentioned it, I'm no longer too sure. Did you spot any code that look like from URLClassLoader? I haven't checked yet. Should I just throw it away and reimplement it from scratch, just to be safe? Well, it would be better if you are not sure cheers -- Torsten PGP.sig Description: This is a digitally signed message part
DO NOT REPLY [Bug 36052] - [daemon] Improve documentation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36052. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36052 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 20:25 --- Please make ONE attachement with all those corrections. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [javaflow] class loader
Out of curiosity, how would Sun know if you copy/pasted rather than writing from scratch, assuming you use the same variable/method names or you actually did copy/paste and changed some variable/method names? I don't know the legality of how that all works. I'm just wondering. How would they actually prove a violation when you're writing code that essentially does the same exact thing? -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 2:19 PM To: Jakarta Commons Developers List Subject: Re: [javaflow] class loader aehem... please don't copy-and-paste. AFAIK we cannot do this because of sun's license restrictions. I believe I only cut-and-paste from AntClassLoader, not URLClassLoader, but now that you mentioned it, I'm no longer too sure. Did you spot any code that look like from URLClassLoader? I haven't checked yet. Should I just throw it away and reimplement it from scratch, just to be safe? Well, it would be better if you are not sure cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35753] - [configuration] Missing useful functionality of XPath in HierarchicalConfiguration
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35753. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35753 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 20:29 --- I would really love to have such a feature in commons-configuration. XPath support is indeed very often requested. However I feel before we can start to implement this feature, it would be wise to do a little polishing of the HierarchicalConfiguration.Node class to create a clean and consistent interface (which must be backwards compatible). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36058] - [daemon] jsvc.support for setting umask
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36058. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36058 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 20:31 --- Changing to a normal user is not enough? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36031] - [daemon] Please support more architectures
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36031. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36031 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 20:34 --- Hi, first thanks for the fix for 36030 ! Well I cannot give you this input as $JAVA_HOME is not defined in Debian and also not a specific (especially non-free) JDK. So basically I package commons-daemon with the kaffe vm. However, also the other vms (like sablevm, gcj) don't support the jvm.cfg file. I thought its enough to specify JAVA_HOME (set to kaffe) during build (at least it works on the supported architectures) and for execution giving the java home and jvm to jsvc with the commandline parameters. Wolfgang -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [lang] StrMatcher in text subpackage
Gary Gregory wrote: I also have a (fantasy?) goal that we could get 100% unit test coverage for the new text package. ;-) Maybe possible, but my maven jcoverage is broken at the moment and gives no useful results. So, its not something I can work on. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232857 - /jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c
Author: jfclere Date: Mon Aug 15 12:01:52 2005 New Revision: 232857 URL: http://svn.apache.org/viewcvs?rev=232857view=rev Log: typos in messsage (PR 35340). Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c Modified: jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c?rev=232857r1=232856r2=232857view=diff == --- jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c (original) +++ jakarta/commons/proper/daemon/trunk/src/native/nt/procrun/src/javajni.c Mon Aug 15 12:01:52 2005 @@ -339,7 +339,7 @@ } lpJava-iVersion = JNICALL_0(GetVersion); if (lpJava-iVersion JNI_VERSION_1_2) { -apxLogWrite(APXLOG_MARK_ERROR Unsuported JNI version %#08x, lpJava-iVersion); +apxLogWrite(APXLOG_MARK_ERROR Unsupported JNI version %#08x, lpJava-iVersion); return FALSE; } rv = TRUE; @@ -360,7 +360,7 @@ } /* we need at least 1.2 JNI */ if ((lpJava-iVersion = vmArgs11.version) JNI_VERSION_1_2) { -apxLogWrite(APXLOG_MARK_ERROR Unsuported JNI version %d, vmArgs11.version); +apxLogWrite(APXLOG_MARK_ERROR Unsupported JNI version %d, vmArgs11.version); return FALSE; } if (dwMs) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35340] - [daemon] improve JVM version message
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=35340. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35340 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 21:02 --- Ok, now this typo is fixed. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [javaflow] class loader
Out of curiosity, how would Sun know if you copy/pasted rather than writing from scratch, assuming you use the same variable/method names or you actually did copy/paste and changed some variable/method names? I don't know the legality of how that all works. I'm just wondering. How would they actually prove a violation when you're writing code that essentially does the same exact thing? Doing the same and looking the same are two different things ...IANAL but in order to avoid any possible problems it's probably easier to just implement it from scratch ...or make it based on the ant code. Over at legal-discuss you should be able to get more information if you are interested. cheers -- Torsten PGP.sig Description: This is a digitally signed message part
DO NOT REPLY [Bug 36031] - [daemon] Please support more architectures
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36031. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36031 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 21:05 --- Just replace $JAVA_HOME with the full directory path to the top level of the JDKs you need. He just needs some info, and you don't have to have the $JAVA_HOME do find /full/path/to/top/of/jdk -name jvm.cfg find /full/path/to/top/of/jdk -name *.so instead for all the mentioned or needed JDKs/environments...he needs paths to the dynamic libraries and config files. Any info you have on replacements for jvm.cfg can help as well. Will gcj run in VM mode or will it only make hybrid native/java objs? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [lang] StrMatcher in text subpackage
I have been trying to unsubscribe from the mailing list so many times and am still getting emails. Would anyone please let me know how I can remove myself from the email mailing system in Jakarta Commons Developer List? Thanks Jonathan -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 2:56 PM To: Jakarta Commons Developers List Subject: Re: [lang] StrMatcher in text subpackage Gary Gregory wrote: I also have a (fantasy?) goal that we could get 100% unit test coverage for the new text package. ;-) Maybe possible, but my maven jcoverage is broken at the moment and gives no useful results. So, its not something I can work on. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jci] JaninoJavaCompiler and other issues
After an update to 2.3.8 (which unfortunately needs adaptions in JaninoJavaCompiler the compilation of my classes work again. Is there any interest in this update to JCI codebase? Of course! ...what a question ;) There is just the problem of the incompatible change, i.e. JCI does no longer work with Janino versions below 2.3.4. But this might be a minor issue as long as JCI has not been released. Next issue is triggered by this update to 2.3.8. We also use Janino for XSP compilation in Cocoon, ..as well as the eclipse compiler - I know ;) Yes, but this one works OOTB without JCI ;) The class is actually an implementation of Cocoon's LanguageCompiler interface and a wrapper around JaninoJavaCompiler. Why not create a JciCompiler implementation of the LanguageCompiler interface? It could act as a factory. The implementation could be passed in through the component configuration. Ah, of course, that's most consistent. Will look into it tonight I can do some of the work too and send in some patches if you like. I will see what you have managed tonight. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232860 - in /jakarta/commons/sandbox/jci/trunk/src: java/org/apache/commons/jci/CompilingClassLoader.java test/org/apache/commons/jci/CompilingClassLoaderTestCase.java
Author: tcurdt Date: Mon Aug 15 12:18:02 2005 New Revision: 232860 URL: http://svn.apache.org/viewcvs?rev=232860view=rev Log: reload should not be called by the classloader itself Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/CompilingClassLoader.java jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/CompilingClassLoader.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/CompilingClassLoader.java?rev=232860r1=232859r2=232860view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/CompilingClassLoader.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/CompilingClassLoader.java Mon Aug 15 12:18:02 2005 @@ -74,7 +74,5 @@ }, repository); thread = new Thread(fam); thread.start(); -reload(); - } } Modified: jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java?rev=232860r1=232859r2=232860view=diff == --- jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java Mon Aug 15 12:18:02 2005 @@ -35,25 +35,16 @@ } private void initialCompile() throws Exception { -delay(); - -waitForSignal(reload); - -writeFile(jci/Simple.java, Programs.simple); - -writeFile(jci/Extended.java, Programs.extended); - +delay(); +writeFile(jci/Simple.java, Programs.simple); +writeFile(jci/Extended.java, Programs.extended); waitForSignal(reload); } public void testCompileProblems() throws Exception { -delay(); - -waitForSignal(reload); - +delay(); writeFile(jci/Simple.java, Programs.error); - waitForSignal(reload); // FIXME @@ -78,8 +69,8 @@ final Object extended = cl.loadClass(jci.Extended).newInstance(); assertTrue(Extended:Simple.equals(extended.toString())); +delay(); writeFile(jci/Simple.java, Programs.SIMPLE); - waitForSignal(reload); final Object SIMPLE = cl.loadClass(jci.Simple).newInstance(); @@ -98,8 +89,8 @@ final Object extended = cl.loadClass(jci.Extended).newInstance(); assertTrue(Extended:Simple.equals(extended.toString())); +delay(); assertTrue(new File(directory, jci/Extended.java).delete()); - waitForSignal(reload); final Object oldSimple = cl.loadClass(jci.Simple).newInstance(); @@ -113,9 +104,7 @@ } delay(); - FileUtils.deleteDirectory(new File(directory, jci)); - waitForSignal(reload); try { @@ -136,8 +125,8 @@ final Object extended = cl.loadClass(jci.Extended).newInstance(); assertTrue(Extended:Simple.equals(extended.toString())); +delay(); assertTrue(new File(directory, jci/Simple.java).delete()); - waitForSignal(reload); try { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jci] initial compiling
The hasReloaded notification should happen after the compilation has finished and your classes should be available after that. As I wrote above the first hasReloaded happens already by the CCL itself at the end of its start() method. The second hasReloaded is the one to go at the moment. But this looks more like a bug than a reliable feature. Ahhh ...yes, the reload() in the start() method sounds wrong. Will look into this later today. Should be fixed :) cheers -- Torsten PGP.sig Description: This is a digitally signed message part
DO NOT REPLY [Bug 36031] - [daemon] Please support more architectures
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36031. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36031 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 21:25 --- I understood that I have to replace $JAVA_HOME :-) But on these platforms exists no SUN JDK and the free java runtimes have no jvm.cfg ! For the libraries: kaffe (for i386) /usr/lib/kaffe/jthreads/jre/lib/i386/libreplace.so /usr/lib/kaffe/jthreads/jre/lib/i386/libkaffegc.so /usr/lib/kaffe/jthreads/jre/lib/i386/libkaffeverifier.so /usr/lib/kaffe/jthreads/jre/lib/i386/libkaffevm.so /usr/lib/kaffe/jthreads/jre/lib/i386/libclasspath.so /usr/lib/kaffe/jthreads/jre/lib/i386/libnative.so /usr/lib/kaffe/jthreads/jre/lib/i386/libio.so /usr/lib/kaffe/jthreads/jre/lib/i386/libnio.so /usr/lib/kaffe/jthreads/jre/lib/i386/libnet.so /usr/lib/kaffe/jthreads/jre/lib/i386/libzip.so /usr/lib/kaffe/jthreads/jre/lib/i386/libmath.so /usr/lib/kaffe/jthreads/jre/lib/i386/libsecurity.so /usr/lib/kaffe/jthreads/jre/lib/i386/libmanagement.so /usr/lib/kaffe/pthreads/jre/lib/i386/libkaffevm.so /usr/lib/kaffe/pthreads/jre/lib/i386/libnative.so /usr/lib/kaffe/pthreads/jre/lib/i386/libio.so /usr/lib/kaffe/pthreads/jre/lib/i386/libnio.so /usr/lib/kaffe/pthreads/jre/lib/i386/libnet.so /usr/lib/kaffe/pthreads/jre/lib/i386/libzip.so /usr/lib/kaffe/pthreads/jre/lib/i386/libmath.so /usr/lib/kaffe/pthreads/jre/lib/i386/libsecurity.so /usr/lib/kaffe/pthreads/jre/lib/i386/libmanagement.so /usr/lib/kaffe/pthreads/jre/lib/i386/libgtkpeer.so /usr/lib/kaffe/pthreads/jre/lib/i386/libjawt.so /usr/lib/kaffe/pthreads/jre/lib/i386/libtritonusalsa.so /usr/lib/kaffe/pthreads/jre/lib/i386/libtritonusesd.so /usr/lib/kaffe/pthreads/jre/lib/i386/libreplace.so /usr/lib/kaffe/pthreads/jre/lib/i386/libkaffegc.so /usr/lib/kaffe/pthreads/jre/lib/i386/libkaffeverifier.so /usr/lib/kaffe/pthreads/jre/lib/i386/libclasspath.so where pthreads and jthreads are two different vm types. Replace i386 with mips (for mips/mipsel), ia64, powerpc, s390, alpha, sparc, parisc (hppa), m68k for the different debian architectures. Hope that helps, Wolfgang -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [lang] StrMatcher in text subpackage
Hello: Stephen: You can find a current maven site:generate, including Clover coverage reports, here: http://people.apache.org/~ggregory/commons-lang/2.2-dev/docs/ Clover reports: http://people.apache.org/~ggregory/commons-lang/2.2-dev/docs/clover/ Gary -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 11:56 AM To: Jakarta Commons Developers List Subject: Re: [lang] StrMatcher in text subpackage Gary Gregory wrote: I also have a (fantasy?) goal that we could get 100% unit test coverage for the new text package. ;-) Maybe possible, but my maven jcoverage is broken at the moment and gives no useful results. So, its not something I can work on. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [lang] StrMatcher in text subpackage
BTW, I've tried to use JCoverage in the past without success due to a bug in the number of files that can be covered. Have you also tried Emma? I know of a colleague who's had some success with it. http://emma.sourceforge.net/ Gary -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 12:35 PM To: Jakarta Commons Developers List Subject: RE: [lang] StrMatcher in text subpackage Hello: Stephen: You can find a current maven site:generate, including Clover coverage reports, here: http://people.apache.org/~ggregory/commons-lang/2.2-dev/docs/ Clover reports: http://people.apache.org/~ggregory/commons-lang/2.2-dev/docs/clover/ Gary -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 11:56 AM To: Jakarta Commons Developers List Subject: Re: [lang] StrMatcher in text subpackage Gary Gregory wrote: I also have a (fantasy?) goal that we could get 100% unit test coverage for the new text package. ;-) Maybe possible, but my maven jcoverage is broken at the moment and gives no useful results. So, its not something I can work on. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[daemon] classloader and jsvc
I recently tracked down a NullPointerException in my jsvc loaded java application to the fact that Thread.getContextClassLoader() returning null. JAXBContext.newInstance(String contextPath) effectively is JAXBContext.newInstance(contextPath, Thread.getContextClassLoader()) and dies if the class loader is null. For my application, a fix was if (Thread.getContextClassLoader() == null) { Thread.setContextClassLoader(ClassLoader.getSystemClassLoader()); } My question: is this is bug? If so, where? Should jsvc, since it loads the application, do this for me? Should JAXB do this (it should perhaps provide more info when this happens - it took debugging to find it)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232868 - in /jakarta/commons/sandbox/jci/trunk/src: java/org/apache/commons/jci/ java/org/apache/commons/jci/listeners/ test/org/apache/commons/jci/
Author: tcurdt Date: Mon Aug 15 13:26:37 2005 New Revision: 232868 URL: http://svn.apache.org/viewcvs?rev=232868view=rev Log: distinguish between reload and check Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoaderListener.java jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilingClassLoaderTestCase.java jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/ReloadingClassLoaderTestCase.java Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java?rev=232868r1=232867r2=232868view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java Mon Aug 15 13:26:37 2005 @@ -68,22 +68,25 @@ public void start() { fam = new FilesystemAlterationMonitor(); -fam.addListener(new ReloadingListener(store) { -public void reload() { -super.reload(); -ReloadingClassLoader.this.reload(); -} +fam.addListener(new ReloadingListener(store) { +protected void notifyAboutCheck( boolean pReload ) { +super.notifyAboutCheck(pReload); +if (pReload) { +ReloadingClassLoader.this.reload(); +} else { +ReloadingClassLoader.this.notifyReloadingListeners(false); +} +} }, repository); thread = new Thread(fam); thread.start(); -reload(); } public void stop() { fam.stop(); try { thread.join(); -} catch (InterruptedException e) { +} catch (final InterruptedException e) { ; } } @@ -102,12 +105,17 @@ protected void reload() { log.debug(reloading); -delegate = new ResourceStoreClassLoader(parent, store); +delegate = new ResourceStoreClassLoader(parent, store); + +notifyReloadingListeners(true); +} + +private void notifyReloadingListeners(final boolean pReload) { synchronized (reloadingListeners) { for (final Iterator it = reloadingListeners.iterator(); it.hasNext();) { final ReloadingClassLoaderListener listener = (ReloadingClassLoaderListener) it.next(); -listener.hasReloaded(); +listener.hasReloaded(pReload); } } } @@ -116,11 +124,8 @@ final int rootLength = base.getAbsolutePath().length(); final String absFileName = file.getAbsolutePath(); final int p = absFileName.lastIndexOf('.'); -final String relFileName = absFileName.substring( -rootLength + 1, -p -); -final String clazzName = relFileName.replace(File.separatorChar,'.'); +final String relFileName = absFileName.substring(rootLength + 1, p); +final String clazzName = relFileName.replace(File.separatorChar, '.'); return clazzName; } Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoaderListener.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoaderListener.java?rev=232868r1=232867r2=232868view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoaderListener.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoaderListener.java Mon Aug 15 13:26:37 2005 @@ -20,5 +20,5 @@ * @author tcurdt */ public interface ReloadingClassLoaderListener { -void hasReloaded(); +void hasReloaded(final boolean pReload); } Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java?rev=232868r1=232867r2=232868view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java (original) +++
svn commit: r232871 - /jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java
Author: tcurdt Date: Mon Aug 15 13:44:06 2005 New Revision: 232871 URL: http://svn.apache.org/viewcvs?rev=232871view=rev Log: close the streams (thanks to Joerg) Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java?rev=232871r1=232870r2=232871view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Mon Aug 15 13:44:06 2005 @@ -16,6 +16,7 @@ package org.apache.commons.jci.compilers.eclipse; import java.io.ByteArrayOutputStream; +import java.io.IOException; import java.io.InputStream; import java.util.HashSet; import java.util.Locale; @@ -170,8 +171,8 @@ try { ClassFileReader classFileReader = new ClassFileReader(clazzBytes, fileName, true); return new NameEnvironmentAnswer(classFileReader, null); -} catch (ClassFormatException e) { -e.printStackTrace(); +} catch (final ClassFormatException e) { +log.error(wrong class format, e); } } @@ -190,7 +191,7 @@ //log.debug(loading from classloader + clazzName); final byte[] buffer = new byte[8192]; -ByteArrayOutputStream baos = new ByteArrayOutputStream(buffer.length); +final ByteArrayOutputStream baos = new ByteArrayOutputStream(buffer.length); int count; try { while ((count = is.read(buffer, 0, buffer.length)) 0) { @@ -201,8 +202,24 @@ final char[] fileName = clazzName.toCharArray(); ClassFileReader classFileReader = new ClassFileReader(clazzBytes, fileName, true); return new NameEnvironmentAnswer(classFileReader, null); -} catch (Exception e) { -e.printStackTrace(); +} catch (final IOException e) { +log.error(could not read class, e); +} catch (final ClassFormatException e) { +log.error(wrong class format, e); +} finally { +try { +baos.close(); +} catch (IOException oe) { +log.error(could not close output stream, oe); +} + +if (is != null) { +try { +is.close(); +} catch (final IOException ie) { +log.error(could not close input stream, ie); +} +} } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232874 - /jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java
Author: tcurdt Date: Mon Aug 15 13:51:13 2005 New Revision: 232874 URL: http://svn.apache.org/viewcvs?rev=232874view=rev Log: formatting and cleanup Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java?rev=232874r1=232873r2=232874view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Mon Aug 15 13:51:13 2005 @@ -18,6 +18,7 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; +import java.net.URL; import java.util.HashSet; import java.util.Locale; import java.util.Map; @@ -50,15 +51,15 @@ private final static Log log = LogFactory.getLog(EclipseJavaCompiler.class); private final EclipseJavaCompilerSettings settings; - + public EclipseJavaCompiler() { this(new EclipseJavaCompilerSettings()); } - + public EclipseJavaCompiler(final EclipseJavaCompilerSettings pSettings) { settings = pSettings; -} - +} + final class CompilationUnit implements ICompilationUnit { final private String clazzName; @@ -69,18 +70,14 @@ CompilationUnit(final ResourceReader pReader, final String pClazzName) { reader = pReader; - clazzName = pClazzName; - fileName = StringUtils.replaceChars(clazzName, '.', '/') + .java; - int dot = clazzName.lastIndexOf('.'); if (dot 0) { typeName = clazzName.substring(dot + 1).toCharArray(); } else { typeName = clazzName.toCharArray(); } - final StringTokenizer izer = new StringTokenizer(clazzName, .); packageName = new char[izer.countTokens() - 1][]; for (int i = 0; i packageName.length; i++) { @@ -103,18 +100,12 @@ public char[][] getPackageName() { return packageName; } - } -public void compile( -final String[] pClazzNames, -final ResourceReader pReader, -final ResourceStore pStore, -final CompilationProblemHandler pProblemHandler -) { +public void compile( final String[] pClazzNames, final ResourceReader pReader, +final ResourceStore pStore, final CompilationProblemHandler pProblemHandler ) { final Map settingsMap = settings.getMap(); - final Set clazzIndex = new HashSet(); ICompilationUnit[] compilationUnits = new ICompilationUnit[pClazzNames.length]; for (int i = 0; i compilationUnits.length; i++) { @@ -123,14 +114,12 @@ clazzIndex.add(clazzName); log.debug(compiling + clazzName); } - + final IErrorHandlingPolicy policy = DefaultErrorHandlingPolicies.proceedWithAllProblems(); final IProblemFactory problemFactory = new DefaultProblemFactory(Locale.getDefault()); final INameEnvironment nameEnvironment = new INameEnvironment() { public NameEnvironmentAnswer findType( final char[][] compoundTypeName ) { -//log.debug(NameEnvironment.findType compound); - final StringBuffer result = new StringBuffer(); for (int i = 0; i compoundTypeName.length; i++) { if (i != 0) { @@ -138,13 +127,10 @@ } result.append(compoundTypeName[i]); } - return findType(result.toString()); } public NameEnvironmentAnswer findType( final char[] typeName, final char[][] packageName ) { -//log.debug(NameEnvironment.findType); - final StringBuffer result = new StringBuffer(); for (int i = 0; i packageName.length; i++) { if (i != 0) { @@ -152,44 +138,32 @@ } result.append(packageName[i]); } - result.append('.'); result.append(typeName); - return findType(result.toString()); - } -private NameEnvironmentAnswer findType(final String clazzName) { -//log.debug(NameEnvironment.findType + clazzName); - +private NameEnvironmentAnswer findType( final String clazzName ) { byte[] clazzBytes = pStore.read(clazzName); if (clazzBytes != null) { -
DO NOT REPLY [Bug 36196] - [jci] compiler implementations: streams remain open ... and other minor issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36196. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36196 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232875 - /jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/janino/JaninoJavaCompiler.java
Author: tcurdt Date: Mon Aug 15 13:55:36 2005 New Revision: 232875 URL: http://svn.apache.org/viewcvs?rev=232875view=rev Log: formatting Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/janino/JaninoJavaCompiler.java Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/janino/JaninoJavaCompiler.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/janino/JaninoJavaCompiler.java?rev=232875r1=232874r2=232875view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/janino/JaninoJavaCompiler.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/janino/JaninoJavaCompiler.java Mon Aug 15 13:55:36 2005 @@ -42,20 +42,20 @@ import org.codehaus.janino.util.ClassFile; /** - * + * * @author [EMAIL PROTECTED] */ public class JaninoJavaCompiler implements JavaCompiler { - + private final static Log log = LogFactory.getLog(JaninoJavaCompiler.class); private class CompilingIClassLoader extends IClassLoader { - + private ResourceReader resourceReader; private CompilationProblemHandler problemHandler; private Map classes,types; private ClassLoaderIClassLoader loader; - + private CompilingIClassLoader(ResourceReader resourceReader, CompilationProblemHandler problemHandler, Map classes) { super(null); this.resourceReader = resourceReader; @@ -76,59 +76,55 @@ ) { //Quickly hand these off return loader.loadIClass(type); - } -//log.debug(Looking for +className); +} if (types.containsKey(type)) { return (IClass) types.get(type); } -String fileNameForClass = className.replace('.', File.separatorChar)+.java; -//log.debug(Using resource reader to find +fileNameForClass); +String fileNameForClass = className.replace('.', File.separatorChar) + .java; if (!resourceReader.isAvailable(fileNameForClass)) { return loader.loadIClass(type); -} else { -ByteArrayInputStream instream = new ByteArrayInputStream(new String(resourceReader.getContent(fileNameForClass)).getBytes()); -Scanner scanner = null; -try { -scanner = new Scanner(fileNameForClass, instream,UTF-8); -Java.CompilationUnit unit = new Parser(scanner).parseCompilationUnit(); -log.debug(compile +className); -ClassFile[] classFiles = unit.compile(this,DebuggingInformation.ALL); -for (int i=0; iclassFiles.length; i++) { -log.debug(compiled +classFiles[i].getThisClassName()); - classes.put(classFiles[i].getThisClassName(),classFiles[i].toByteArray()); -} -IClass ic = unit.findClass(className); -if (null != ic) { -types.put(type,ic); -} -return ic; -} catch (ScanException e) { -problemHandler.handle(new CompilationProblem(0, e.getLocation().getFileName(), e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getLineNumber(), true)); -} catch (ParseException e) { -problemHandler.handle(new CompilationProblem(0, e.getLocation().getFileName(), e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getLineNumber(), true)); -} catch (IOException e) { -problemHandler.handle(new CompilationProblem(0, fileNameForClass, IO: + e.getMessage(), 0, 0, true)); -} catch (CompileException e) { -e.printStackTrace(); -problemHandler.handle(new CompilationProblem(0, e.getLocation().getFileName(), e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getLineNumber(), true)); -} finally { -if (scanner != null) { -try { -scanner.close(); -} catch (IOException e1) { -log.error(e1); -} +} + +ByteArrayInputStream instream = new ByteArrayInputStream(new String(resourceReader.getContent(fileNameForClass)).getBytes()); +Scanner scanner = null; +try { +scanner = new Scanner(fileNameForClass, instream, UTF-8); +Java.CompilationUnit unit = new Parser(scanner).parseCompilationUnit(); +log.debug(compile +
svn commit: r232876 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/text/StrBuilder.java test/org/apache/commons/lang/text/StrBuilderTest.java
Author: scolebourne Date: Mon Aug 15 13:57:06 2005 New Revision: 232876 URL: http://svn.apache.org/viewcvs?rev=232876view=rev Log: Increase test coverage Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java?rev=232876r1=232875r2=232876view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java Mon Aug 15 13:57:06 2005 @@ -1692,23 +1692,24 @@ return -1; } int strLen = str.length(); -if (strLen 0 strLen = size) { -if (strLen == 1) { -return indexOf(str.charAt(0), startIndex); -} -char[] thisBuf = buffer; -outer: -for (int i = startIndex; i thisBuf.length - strLen; i++) { -for (int j = 0; j strLen; j++) { -if (str.charAt(j) != thisBuf[i + j]) { -continue outer; -} +if (strLen == 1) { +return indexOf(str.charAt(0), startIndex); +} +if (strLen == 0) { +return startIndex; +} +if (strLen size) { +return -1; +} +char[] thisBuf = buffer; +outer: +for (int i = startIndex; i thisBuf.length - strLen; i++) { +for (int j = 0; j strLen; j++) { +if (str.charAt(j) != thisBuf[i + j]) { +continue outer; } -return i; } - -} else if (strLen == 0) { -return 0; +return i; } return -1; } @@ -1745,12 +1746,10 @@ return -1; } int len = size; -if (len 0) { -char[] buf = buffer; -for (int i = startIndex; i len; i++) { -if (matcher.isMatch(buf, i, startIndex, len) 0) { -return i; -} +char[] buf = buffer; +for (int i = startIndex; i len; i++) { +if (matcher.isMatch(buf, i, startIndex, len) 0) { +return i; } } return -1; @@ -1867,14 +1866,11 @@ if (matcher == null || startIndex 0) { return -1; } -int len = size; -if (len 0) { -char[] buf = buffer; -int endIndex = startIndex + 1; -for (int i = startIndex; i = 0; i--) { -if (matcher.isMatch(buf, i, 0, endIndex) 0) { -return i; -} +char[] buf = buffer; +int endIndex = startIndex + 1; +for (int i = startIndex; i = 0; i--) { +if (matcher.isMatch(buf, i, 0, endIndex) 0) { +return i; } } return -1; Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java?rev=232876r1=232875r2=232876view=diff == --- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java (original) +++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java Mon Aug 15 13:57:06 2005 @@ -689,6 +689,8 @@ assertEquals(dececced, sb.toString()); sb.replaceAll('c', 'f'); assertEquals(defeffed, sb.toString()); +sb.replaceAll('d', 'd'); +assertEquals(defeffed, sb.toString()); } //--- @@ -702,6 +704,8 @@ assertEquals(decbccba, sb.toString()); sb.replaceFirst('c', 'f'); assertEquals(defbccba, sb.toString()); +sb.replaceAll('d', 'd'); +assertEquals(defbccba, sb.toString()); } //--- @@ -1102,6 +1106,7 @@ assertEquals(hello, sb.midString(-5, 5)); assertEquals(, sb.midString(0, -1)); assertEquals(, sb.midString(20, 2)); +assertEquals(hello, sb.midString(14, 22)); } public void testRightString() { @@ -1155,32 +1160,36 @@ // --- public void testIndexOf_char() { StrBuilder sb = new
svn commit: r232878 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/text/StrTokenizer.java java/org/apache/commons/lang/text/VariableFormatter.java test/org/apache/commons/lang/text/StrTokenizerTest.java
Author: scolebourne Date: Mon Aug 15 13:58:23 2005 New Revision: 232878 URL: http://svn.apache.org/viewcvs?rev=232878view=rev Log: Remove StrTokenizer.Matcher, replace with StrMatcher Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/VariableFormatter.java jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=232878r1=232877r2=232878view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java Mon Aug 15 13:58:23 2005 @@ -16,7 +16,6 @@ package org.apache.commons.lang.text; import java.util.ArrayList; -import java.util.Arrays; import java.util.List; import java.util.ListIterator; @@ -77,64 +76,22 @@ */ public class StrTokenizer implements ListIterator, Cloneable { -/** - * Matches the comma character. - * Best used for codedelimiter/code. - */ -public static final Matcher COMMA_MATCHER = new CharMatcher(','); -/** - * Matches the tab character. - * Best used for codedelimiter/code. - */ -public static final Matcher TAB_MATCHER = new CharMatcher('\t'); -/** - * Matches the space character. - * Best used for codedelimiter/code. - */ -public static final Matcher SPACE_MATCHER = new CharMatcher(' '); -/** - * Matches the same characters as StringTokenizer, - * namely space, tab, newline, formfeed. - * Best used for codedelimiter/code. - */ -public static final Matcher SPLIT_MATCHER = createCharSetMatcher( \t\n\r\f); -/** - * Matches the double quote character. - * Best used for codequote/code. - */ -public static final Matcher SINGLE_QUOTE_MATCHER = new CharMatcher('\''); -/** - * Matches the double quote character. - * Best used for codequote/code. - */ -public static final Matcher DOUBLE_QUOTE_MATCHER = new CharMatcher(''); -/** - * Matches the String trim() whitespace characters. - * Best used for codetrimmer/code. - */ -public static final Matcher TRIM_MATCHER = new TrimMatcher(); -/** - * Matches no characters. Don't use this for delimiters! - * Best used for codetrimmer/code. - */ -public static final Matcher NONE_MATCHER = new NoMatcher(); - private static final StrTokenizer CSV_TOKENIZER_PROTOTYPE; private static final StrTokenizer TSV_TOKENIZER_PROTOTYPE; static { CSV_TOKENIZER_PROTOTYPE = new StrTokenizer(); -CSV_TOKENIZER_PROTOTYPE.setDelimiterMatcher(COMMA_MATCHER); -CSV_TOKENIZER_PROTOTYPE.setQuoteMatcher(DOUBLE_QUOTE_MATCHER); -CSV_TOKENIZER_PROTOTYPE.setIgnoredMatcher(NONE_MATCHER); -CSV_TOKENIZER_PROTOTYPE.setTrimmerMatcher(TRIM_MATCHER); +CSV_TOKENIZER_PROTOTYPE.setDelimiterMatcher(StrMatcher.commaMatcher()); + CSV_TOKENIZER_PROTOTYPE.setQuoteMatcher(StrMatcher.doubleQuoteMatcher()); +CSV_TOKENIZER_PROTOTYPE.setIgnoredMatcher(StrMatcher.noneMatcher()); +CSV_TOKENIZER_PROTOTYPE.setTrimmerMatcher(StrMatcher.trimMatcher()); CSV_TOKENIZER_PROTOTYPE.setEmptyTokenAsNull(false); CSV_TOKENIZER_PROTOTYPE.setIgnoreEmptyTokens(false); TSV_TOKENIZER_PROTOTYPE = new StrTokenizer(); -TSV_TOKENIZER_PROTOTYPE.setDelimiterMatcher(TAB_MATCHER); -TSV_TOKENIZER_PROTOTYPE.setQuoteMatcher(DOUBLE_QUOTE_MATCHER); -TSV_TOKENIZER_PROTOTYPE.setIgnoredMatcher(NONE_MATCHER); -TSV_TOKENIZER_PROTOTYPE.setTrimmerMatcher(TRIM_MATCHER); +TSV_TOKENIZER_PROTOTYPE.setDelimiterMatcher(StrMatcher.tabMatcher()); + TSV_TOKENIZER_PROTOTYPE.setQuoteMatcher(StrMatcher.doubleQuoteMatcher()); +TSV_TOKENIZER_PROTOTYPE.setIgnoredMatcher(StrMatcher.noneMatcher()); +TSV_TOKENIZER_PROTOTYPE.setTrimmerMatcher(StrMatcher.trimMatcher()); TSV_TOKENIZER_PROTOTYPE.setEmptyTokenAsNull(false); TSV_TOKENIZER_PROTOTYPE.setIgnoreEmptyTokens(false); } @@ -149,13 +106,13 @@ private int tokenPos; /** The delimiter matcher */ -private Matcher delim = SPLIT_MATCHER; +private StrMatcher delim = StrMatcher.splitMatcher(); /** The quote matcher */ -private Matcher quote = NONE_MATCHER; +private StrMatcher quote = StrMatcher.noneMatcher(); /** The ignored matcher */ -private Matcher ignored = NONE_MATCHER; +private StrMatcher ignored = StrMatcher.noneMatcher(); /** The trimmer matcher */ -private Matcher
svn commit: r232879 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrMatcherTest.java
Author: scolebourne Date: Mon Aug 15 13:58:53 2005 New Revision: 232879 URL: http://svn.apache.org/viewcvs?rev=232879view=rev Log: Increase test coverage Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrMatcherTest.java Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrMatcherTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrMatcherTest.java?rev=232879r1=232878r2=232879view=diff == --- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrMatcherTest.java (original) +++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrMatcherTest.java Mon Aug 15 13:58:53 2005 @@ -185,6 +185,7 @@ assertEquals(0, matcher.isMatch(BUFFER2, 5, 0, BUFFER2.length)); assertSame(StrMatcher.noneMatcher(), StrMatcher.charSetMatcher()); assertSame(StrMatcher.noneMatcher(), StrMatcher.charSetMatcher((String) null)); +assertTrue(StrMatcher.charSetMatcher(a) instanceof StrMatcher.CharMatcher); } //--- @@ -198,6 +199,7 @@ assertEquals(0, matcher.isMatch(BUFFER2, 5, 0, BUFFER2.length)); assertSame(StrMatcher.noneMatcher(), StrMatcher.charSetMatcher(new char[0])); assertSame(StrMatcher.noneMatcher(), StrMatcher.charSetMatcher((char[]) null)); +assertTrue(StrMatcher.charSetMatcher(a.toCharArray()) instanceof StrMatcher.CharMatcher); } //--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232880 - /jakarta/commons/sandbox/jci/trunk/TODO
Author: tcurdt Date: Mon Aug 15 14:01:36 2005 New Revision: 232880 URL: http://svn.apache.org/viewcvs?rev=232880view=rev Log: update todo list Modified: jakarta/commons/sandbox/jci/trunk/TODO Modified: jakarta/commons/sandbox/jci/trunk/TODO URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/TODO?rev=232880r1=232879r2=232880view=diff == --- jakarta/commons/sandbox/jci/trunk/TODO (original) +++ jakarta/commons/sandbox/jci/trunk/TODO Mon Aug 15 14:01:36 2005 @@ -5,6 +5,7 @@ o embedded java compiler o javac o jikes -o transformation pipelines +o transformation pipelines (more than just one transformation) o make suffixes matching (*.java, *.class) configurable o documentation +o turn the CompilationProblem into an interface - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 36031] - [daemon] Please support more architectures
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=36031. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36031 --- Additional Comments From [EMAIL PROTECTED] 2005-08-15 23:02 --- What are the difference between jthreads and pthreads? (easy guess is if compiled with -lpthread pthreads should be the directory to use from the libraries). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232882 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/
Author: scolebourne Date: Mon Aug 15 14:04:19 2005 New Revision: 232882 URL: http://svn.apache.org/viewcvs?rev=232882view=rev Log: Add serialization version Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IllegalClassException.java jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IncompleteArgumentException.java jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NotImplementedException.java jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NullArgumentException.java jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SerializationException.java jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/UnhandledException.java Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IllegalClassException.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IllegalClassException.java?rev=232882r1=232881r2=232882view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IllegalClassException.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IllegalClassException.java Mon Aug 15 14:04:19 2005 @@ -43,6 +43,9 @@ */ public class IllegalClassException extends IllegalArgumentException { +/** Serialization version. */ +private static final long serialVersionUID = 8063272569377254819L; + /** * pInstantiates with the expected type, and actual object./p * Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IncompleteArgumentException.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IncompleteArgumentException.java?rev=232882r1=232881r2=232882view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IncompleteArgumentException.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/IncompleteArgumentException.java Mon Aug 15 14:04:19 2005 @@ -46,6 +46,9 @@ */ public class IncompleteArgumentException extends IllegalArgumentException { +/** Serialization version. */ +private static final long serialVersionUID = 4954193403612068178L; + /** * pInstantiates with the specified description./p * Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NotImplementedException.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NotImplementedException.java?rev=232882r1=232881r2=232882view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NotImplementedException.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NotImplementedException.java Mon Aug 15 14:04:19 2005 @@ -51,6 +51,9 @@ public class NotImplementedException extends UnsupportedOperationException implements Nestable { +/** Serialization version. */ +private static final long serialVersionUID = -6894122266938754088L; + /** * The exception helper to delegate nested exception handling to. */ Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NullArgumentException.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NullArgumentException.java?rev=232882r1=232881r2=232882view=diff == --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NullArgumentException.java (original) +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NullArgumentException.java Mon Aug 15 14:04:19 2005 @@ -44,11 +44,14 @@ */ public class NullArgumentException extends IllegalArgumentException { - /** -* pInstantiates with the given argument name./p -* -* @param argName the name of the argument that was codenull/code. -*/ +/** Serialization version. */ +private static final long serialVersionUID = 1174360235354917591L; + +/** + * pInstantiates with the given argument name./p + * + * @param argName the name of the argument that was codenull/code. + */ public NullArgumentException(String argName) { super((argName == null ? Argument : argName) + must not be null.); } Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SerializationException.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SerializationException.java?rev=232882r1=232881r2=232882view=diff
svn commit: r232884 - in /jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci: CompilerUtils.java ReloadingClassLoaderTestCase.java
Author: tcurdt Date: Mon Aug 15 14:11:12 2005 New Revision: 232884 URL: http://svn.apache.org/viewcvs?rev=232884view=rev Log: fixed the dependency delete test Modified: jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilerUtils.java jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/ReloadingClassLoaderTestCase.java Modified: jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilerUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilerUtils.java?rev=232884r1=232883r2=232884view=diff == --- jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilerUtils.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/CompilerUtils.java Mon Aug 15 14:11:12 2005 @@ -25,7 +25,7 @@ new ResourceReader() { public char[] getContent( String pFileName ) { for (int i = 0; i pPrograms.length; i++) { -final String clazzName = pClazzes[i].replace('.', '/') + .class; +final String clazzName = pClazzes[i].replace('.', '/') + .java; if (clazzName.equals(pFileName)) { return pPrograms[i].toCharArray(); } Modified: jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/ReloadingClassLoaderTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/ReloadingClassLoaderTestCase.java?rev=232884r1=232883r2=232884view=diff == --- jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/ReloadingClassLoaderTestCase.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/test/org/apache/commons/jci/ReloadingClassLoaderTestCase.java Mon Aug 15 14:11:12 2005 @@ -44,7 +44,7 @@ ); assertTrue(clazzSimple.length 0); assertTrue(clazzSIMPLE.length 0); -//assertTrue(clazzExtended.length 0); +assertTrue(clazzExtended.length 0); } protected void setUp() throws Exception { @@ -134,33 +134,33 @@ } public void testDeleteDependency() throws Exception { -//waitForSignal(reload); -// -//log.debug(creating classes); -// -//delay(); -//writeFile(jci/Simple.class, clazzSimple); -//writeFile(jci/Extended.class, clazzExtended); -//waitForSignal(reload); -// -//final Object simple = cl.loadClass(jci.Simple).newInstance(); -//assertTrue(Simple.equals(simple.toString())); -// -//final Object extended = cl.loadClass(jci.Extended).newInstance(); -//assertTrue(Extended:Simple.equals(extended.toString())); -// -//log.debug(deleting class dependency); -// -//assertTrue(new File(directory, jci/Simple.class).delete()); -// -//waitForSignal(reload); -// -//try { -//cl.loadClass(jci.Extended).newInstance(); -//fail(); -//} catch(final NoClassDefFoundError e) { -//assertTrue(jci/Simple.equals(e.getMessage())); -//} +waitForSignal(checkedSignal); + +log.debug(creating classes); + +delay(); +writeFile(jci/Simple.class, clazzSimple); +writeFile(jci/Extended.class, clazzExtended); +waitForSignal(checkedSignal); + +final Object simple = cl.loadClass(jci.Simple).newInstance(); +assertTrue(Simple.equals(simple.toString())); + +final Object extended = cl.loadClass(jci.Extended).newInstance(); +assertTrue(Extended:Simple.equals(extended.toString())); + +log.debug(deleting class dependency); + +assertTrue(new File(directory, jci/Simple.class).delete()); + +waitForSignal(reloadSignal); + +try { +cl.loadClass(jci.Extended).newInstance(); +fail(); +} catch(final NoClassDefFoundError e) { +assertTrue(jci/Simple.equals(e.getMessage())); +} } public void testClassNotFound() { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [javaflow] instrumenting 'NEW' op
I don't think I understand the instrumentation logic completely, but from a cursory look, the idea is to evaluate constructor parameters before the 'new' op (and StackRecorder is used as a temporary place to store evaluated objects.) That's true ...Stephan introduced that to get rid of uninitialized objects on the stack. TBH I would like to find a different way of doing that. Maybe we can save the type of the object on the stack and then create a new uninitialized object on the restore. This is actually causing an NPE if I run the above code outside the continuation environment (because StackRecorder is null.) Well ...usually you should not run this code outside the continuation environment. Maybe we should try to force that. So far that was the most common problem people had getting started with javaflow. Why is this necessary? I'd imagine it's related to restoring/ capturing stack frames when Continuation.suspend is invoked inside a constructor, Yepp :) but it's not clear to me why we need to handle 'new's/'invokespecial's differently from, say, 'invokevirtual'. H... not sure if we need to. Usually I would say we don't need to treat it differently, too. Also, I noticed that the BcelClassTransformer isn't actually generating the stack capture/restore code for invokespecial. Is that a TODO? Is this related to the following line in the TODO file? o fix unintialized objects for method/constructor calls Yes, that's about that the new operator. cheers -- Torsten PGP.sig Description: This is a digitally signed message part
Re: DO NOT REPLY [Bug 36060] New: - [math][patch] Integration Source Files
Phil Steitz wrote: Great!! I created a release branch for 1.1 and updated the POM in trunk to 1.2, so there will be no contention with the release. I also committed the sources in what I think is the latest version to trunk. Pls check out and make any changes you see fit. Now that's convenient! Thank you! BTW I'd rather created a new Integration or SoC entry in bugzilla and declared the existing bugs as blockers rather than mark them as duplicate. This way, reports from others could be easily tracked too without mixing them with Zhang's contribution. New, exiting bugzilla feature. (Another BTW: also a neat way to track release blocking bugs and feature requests). I think one could argue for including both kinds of things, similiar to other places in [math]. Provide users with the choice to select an algorithm or use a default or adaptive selection. The problem is that making a reasonable choice about which algorithm to use requires months, if not years of education and experience. I'd say if we require this, a lot of people will be dissapointed. As I said, the holy grail is an algorithm which is consistently performance-wise within a factor of two (or five) of a carefully picked, perhaps customized algorithm, and either gives the correct answer or bails out for 99.99% of the cases anybody wants to throw at it. Including functions like 1/(x^3), x*sin(1/x) or 1E+6*exp(-((x-0.5)/1E-6)^100). Unfortunately, unpleasant things like singularities in the integration interval are uncomfortably common in real world problems. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232889 - in /jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci: ReloadingClassLoader.java listeners/ReloadingListener.java
Author: tcurdt Date: Mon Aug 15 14:44:16 2005 New Revision: 232889 URL: http://svn.apache.org/viewcvs?rev=232889view=rev Log: proper name Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java?rev=232889r1=232888r2=232889view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/ReloadingClassLoader.java Mon Aug 15 14:44:16 2005 @@ -69,8 +69,8 @@ public void start() { fam = new FilesystemAlterationMonitor(); fam.addListener(new ReloadingListener(store) { -protected void notifyAboutCheck( boolean pReload ) { -super.notifyAboutCheck(pReload); +protected void notifyOfCheck( boolean pReload ) { +super.notifyOfCheck(pReload); if (pReload) { ReloadingClassLoader.this.reload(); } else { Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java?rev=232889r1=232888r2=232889view=diff == --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/listeners/ReloadingListener.java Mon Aug 15 14:44:16 2005 @@ -87,7 +87,7 @@ reload = true; } -notifyAboutCheck(reload); +notifyOfCheck(reload); } public void onCreateFile( final File file ) { @@ -113,7 +113,7 @@ public void onDeleteDirectory( final File file ) { } -protected void notifyAboutCheck(final boolean pReload) { +protected void notifyOfCheck(final boolean pReload) { if (pReload) { log.debug(reload required); } else { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unsubscribe from commons-cvs?
Any way to unsubscribe from commons-cvs, but stay on the developers list?
[lang] LocaleUtils
I have checked in a LocaleUtils class, without tests. This is to show what I have in mind for this class. Not big, just to cover a few operations that you can't easily achieve with the locale class itself. It is definitely not intended as the first step of a localization system. Anyway, please take a look. If opinions are that [lang] shouldn't cover this area, then it can get deleted. Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232895 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java
Author: scolebourne Date: Mon Aug 15 15:07:49 2005 New Revision: 232895 URL: http://svn.apache.org/viewcvs?rev=232895view=rev Log: Increase test coverage Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java?rev=232895r1=232894r2=232895view=diff == --- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java (original) +++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderTest.java Mon Aug 15 15:07:49 2005 @@ -704,7 +704,7 @@ assertEquals(decbccba, sb.toString()); sb.replaceFirst('c', 'f'); assertEquals(defbccba, sb.toString()); -sb.replaceAll('d', 'd'); +sb.replaceFirst('d', 'd'); assertEquals(defbccba, sb.toString()); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unsubscribe from commons-cvs?
James Carman wrote: Any way to unsubscribe from commons-cvs, but stay on the developers list? I dont think so. You should probably just set up a filter/rule in your mail client. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unsubscribe from commons-cvs?
The only bad part about that is Outlook will still show the new mail icon on my system tray even if the rule permanently deletes it. I don't know why we force all the developers to receive the CVS (subversion) notifications. -Original Message- From: Rory Winston [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 6:12 PM To: Jakarta Commons Developers List Subject: Re: Unsubscribe from commons-cvs? James Carman wrote: Any way to unsubscribe from commons-cvs, but stay on the developers list? I dont think so. You should probably just set up a filter/rule in your mail client. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r232900 - in /jakarta/commons/proper/io/trunk/src: java/org/apache/commons/io/filefilter/AndFileFilter.java java/org/apache/commons/io/filefilter/OrFileFilter.java test/org/apache/commons/
Author: scolebourne Date: Mon Aug 15 15:22:30 2005 New Revision: 232900 URL: http://svn.apache.org/viewcvs?rev=232900view=rev Log: Handle null List constructor more gracefully Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java?rev=232900r1=232899r2=232900view=diff == --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java Mon Aug 15 15:22:30 2005 @@ -42,6 +42,7 @@ /** * Constructs a new instance of codeAndFileFilter/code. + * * @since Commons IO 1.1 */ public AndFileFilter() { @@ -51,14 +52,16 @@ /** * Constructs a new instance of codeAndFileFilter/code * with the specified list of filters. - * @param fileFilters a List of IOFileFilter instances + * + * @param fileFilters a List of IOFileFilter instances, copied, null ignored * @since Commons IO 1.1 */ public AndFileFilter(final List fileFilters) { if (fileFilters == null) { -throw new IllegalArgumentException(The filters List must not be null); +this.fileFilters = new ArrayList(); +} else { +this.fileFilters = new ArrayList(fileFilters); } -this.fileFilters = new ArrayList(fileFilters); } /** Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java?rev=232900r1=232899r2=232900view=diff == --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java Mon Aug 15 15:22:30 2005 @@ -42,6 +42,7 @@ /** * Constructs a new instance of codeOrFileFilter/code. + * * @since Commons IO 1.1 */ public OrFileFilter() { @@ -52,11 +53,15 @@ * Constructs a new instance of codeOrFileFilter/code * with the specified filters. * - * @param fileFilters the file filters for this filter + * @param fileFilters the file filters for this filter, copied, null ignored * @since Commons IO 1.1 */ public OrFileFilter(final List fileFilters) { -this.fileFilters = new ArrayList(fileFilters); +if (fileFilters == null) { +this.fileFilters = new ArrayList(); +} else { +this.fileFilters = new ArrayList(fileFilters); +} } /** Modified: jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java?rev=232900r1=232899r2=232900view=diff == --- jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java (original) +++ jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java Mon Aug 15 15:22:30 2005 @@ -209,7 +209,7 @@ public void testNameFilterNullArgument() throws Exception { String test = null; try { - IOFileFilter filter = new NameFileFilter(test); + new NameFileFilter(test); fail( constructing a NameFileFilter with a null String argument should fail.); } catch( IllegalArgumentException iae ) { } @@ -218,7 +218,7 @@ public void testNameFilterNullArrayArgument() throws Exception { String[] test = null; try { - IOFileFilter filter = new NameFileFilter(test); + new NameFileFilter(test); fail( constructing a NameFileFilter with a null String[] argument should fail.); } catch( IllegalArgumentException iae ) { } @@ -227,7 +227,7 @@ public void testNameFilterNullListArgument() throws Exception { List test = null; try { - IOFileFilter filter = new NameFileFilter(test); + new NameFileFilter(test); fail( constructing a NameFileFilter with a null List
Re: [math] Re: commons math
Great! As long as the code is original and the algorithms are standard, there should be no problem with IP. Please just include references to sources describing the algorithms and, of course, unit tests when you submit code. If you are familiar with R and have access to it, validating the unit test target values against R is a nice to have. (There are some examples in src/experimental/R/). Please also try to include API and inline documentation similar to what you see elsewhere in [math]. Thanks! Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Re: commons math
On 8/15/05, John Gant [EMAIL PROTECTED] wrote: Excellent! I also found some older stuff that I had written yesterday, and it included a tree clustering algorithm. Within this code, I also found implementations of distibution-specific random number generators, i.e. triangular, uniform, exponential, etc. Have a look at the o.a.c.math.random package. Uniform and exponential are covered there, bt triangular is not. If you have others, we can talk about adding these. I am not sure if these would be useful in the statistical section, but I could refactor them to use commons math classes. Thanks, John On 8/15/05, Lukas Vlcek [EMAIL PROTECTED] wrote: Hi, this sounds great to me as well! I have been using [math] for some time and I found it very handy (congratulations to math team!). As for data mining functions I didn't have a chance to look what is implemented elsewhere yet (e.g: WEKA) but if there is anything what could be started in commons-math domena then I could offer my implementation of association mining package. It is not finished yet and still needs more tuning but I hope to finish it soon and see if it is helpful to other people. Regards, Lukas On 8/14/05, John Gant [EMAIL PROTECTED] wrote: Algorithms: - Feature reduction a. Basic cross correlation, including both spearman and pearson cross correlation algorithms. b. Principal Component Analysis. c. Entropy Based reduction. I currently have a, and b finished but need to brush up on my junit skills :) -Difference Measures I had in mind a difference engine, basically an engine that handles all difference operations. This difference engine could, in the constructor or using set methods, take an instance of one of the following difference methods. a. euclidean distance b. city-block distance -Pattern Discovery a. KMotif Discovery Algorithm. Again I have this algorithm completed, just need to boundary test everything. -Clustering Algorithms a. K-means Algorithm. I'd like to discuss the architecture of the k-means, I have a few ideas and would like a little feedback. I know this is just a small subset of the available algorithms, but this seems to be a good start. Thanks, John On 8/13/05, Phil Steitz [EMAIL PROTECTED] wrote: John, Sounds great! Extending the stat package to include some data mining capabilities would be a good and useful addition to commons-math, IMHO. To get started, the first thing to do is to read the developer's guide (http://jakarta.apache.org/commons/math/developers.html), which will tell point you to the general apache references and go over some IP stuff that we have to worry about in [math]. Then either here or on the Wiki (see the guide for a link), post a brief description of the kinds of mining algorithms that you are interested in developing and we can get this going. On this list, pls begin the subject line of all [math] messages with [math]. Thanks in advance for your contributions! Phil On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Hello, I am currently a graduate student in Computer Science and Computer Engineering at the University of Louisville, Kentucky. First let me congratulate the group of developers who commit and architect for apache commons. I have used many of the libraries and they are all of excellent quality (but I guess you already know that :)). I am interested in contributing to open source software and have interests that are in the domain of statistics with a focus in data mining. After writing many algorithms for classes, and asking an apache contributor if any of this would be needed elsewhere, he told me to purpose something to the dev list. So here it goes, I would like to help start a data mining section of commons math and advance the existing statistical libraries. I plan on developing the algorithms for personal use anyway, and would like to see some of my work be used by others. If anyone is interested we can continue this thread and I will email my code, and purpose my new algorithms. John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe,
Re: [math] Re: commons math
On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Algorithms: - Feature reduction a. Basic cross correlation, including both spearman and pearson cross correlation algorithms. b. Principal Component Analysis. c. Entropy Based reduction. All good, IMHO, esp. a. and b. I currently have a, and b finished but need to brush up on my junit skills :) -Difference Measures I had in mind a difference engine, basically an engine that handles all difference operations. This difference engine could, in the constructor or using set methods, take an instance of one of the following difference methods. a. euclidean distance b. city-block distance Can you describe a little more exactly what you mean here and how it would be used? -Pattern Discovery a. KMotif Discovery Algorithm. I am not familiar with this algorithm or its uses. Can you provide some more info and references? Again I have this algorithm completed, just need to boundary test everything. -Clustering Algorithms a. K-means Algorithm. +1 I'd like to discuss the architecture of the k-means, I have a few ideas and would like a little feedback. I know this is just a small subset of the available algorithms, but this seems to be a good start. Yes. Ask away... Thanks, John On 8/13/05, Phil Steitz [EMAIL PROTECTED] wrote: John, Sounds great! Extending the stat package to include some data mining capabilities would be a good and useful addition to commons-math, IMHO. To get started, the first thing to do is to read the developer's guide (http://jakarta.apache.org/commons/math/developers.html), which will tell point you to the general apache references and go over some IP stuff that we have to worry about in [math]. Then either here or on the Wiki (see the guide for a link), post a brief description of the kinds of mining algorithms that you are interested in developing and we can get this going. On this list, pls begin the subject line of all [math] messages with [math]. Thanks in advance for your contributions! Phil On 8/13/05, John Gant [EMAIL PROTECTED] wrote: Hello, I am currently a graduate student in Computer Science and Computer Engineering at the University of Louisville, Kentucky. First let me congratulate the group of developers who commit and architect for apache commons. I have used many of the libraries and they are all of excellent quality (but I guess you already know that :)). I am interested in contributing to open source software and have interests that are in the domain of statistics with a focus in data mining. After writing many algorithms for classes, and asking an apache contributor if any of this would be needed elsewhere, he told me to purpose something to the dev list. So here it goes, I would like to help start a data mining section of commons math and advance the existing statistical libraries. I plan on developing the algorithms for personal use anyway, and would like to see some of my work be used by others. If anyone is interested we can continue this thread and I will email my code, and purpose my new algorithms. John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Gant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]