[jelly] release hosting

2004-02-11 Thread Torsten Curdt
Is there a particular reason why the jelly release is hosted on ibiblio.org? (No nagging - just curious) -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [jelly] release hosting

2004-02-11 Thread Torsten Curdt
Is there a particular reason why the jelly release is hosted on ibiblio.org? (No nagging - just curious) Maven friendliness of its main developer at the time. Since then (very recently), a maven repository has been started on Apache side. Oh, plus... releases are not yet very frequent... Ah...

Re: repository

2004-02-12 Thread Torsten Curdt
I haven't found an explicit rule in the commons charter but is this the trail new commons components need to take? ...or usually do? proposal -if accepted- sandbox -later maybe- repository Yes this is one way of putting it. ok Does a new component need to exist somewhere else first? Or is a plan

Re: [jelly] release hosting

2004-02-12 Thread Torsten Curdt
Excellent! Thanks, Mark! Now that there is a Maven Repository on the mirrors, it doesn't need to be specifically pointed there, thats just one mirror of it now. http://www.apache.org/dist/java-repository/commons-jelly/ http://apache.130th.net/java-repository/commons-jelly/ ...

Re: [FileUpload] FileUploadException

2004-02-19 Thread Torsten Curdt
please do not request a return receipt on mailing list thanks -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Log4JLogger vs Log4JCategoryLog

2004-03-02 Thread Torsten Curdt
What's the difference between the Log4JLogger and the Log4JCategoryLog? What's the difference logging through a category in the end? cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[logging] LogKitLogger

2004-03-02 Thread Torsten Curdt
Just wondering ...is someone really using LogKit with commons-logging outside of an Avalon project? cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Log4JLogger vs Log4JCategoryLog

2004-03-03 Thread Torsten Curdt
Eric Giguere wrote: Hi The difference is in the Log4j version. Category is the deprecated logging class in older version of log4j. These 2 flavors of the Logging class is to give the abiliby to use old and new versions of log4j. Hope it helps Aaaah! That helps :) Thanks, Eric! -- Torsten

[logging] classloading

2004-03-04 Thread Torsten Curdt
I know there were quite some discussion about the classloading scheme of commons-logging and how it is supposed to be used in a multi-classloader environment. Did I understand correctly that... ...assuming I have servlet container and all my applications want to use commons-logging but not

Re: ApacheCon talks

2004-07-09 Thread Torsten Curdt
Henri, I'm pondering the idea of giving one/two talks at the ApacheCon in November. Not sure how many people a talk about the sandbox would attract ...but IMO commons would be a good thing to talk about. Actually I thought about submitting a proposal myself. But IMHO 3 hours (wow!) is way to much

Re: [digester] Books/examples?

2004-11-09 Thread Torsten Curdt
There was a fellow asking questions about various commons projects a while ago, with the intention of writing a book on jakarta-commons. I haven't heard anything since, though, so I guess the project sunk... Not sure if you might be talking about me or one my fellow Co-Authors :) ...but we did

Re: [digester] Books/examples?

2004-11-10 Thread Torsten Curdt
Not sure if you might be talking about me or one my fellow Co-Authors :) ...but we did write a book about Jakarta Commons that should come out this month. It will also cover digester. ...but it's in german. glad to hear about that (the book bit, of course :) yeah, I know ...english would have

Re: [ANN] resources wiki page [WAS Re: [digester] Books/examples?]

2004-11-15 Thread Torsten Curdt
we've decided that the wiki seems like the best place: http://wiki.apache.org/jakarta-commons/JakartaCommonsResources added! thanks for the link, Robert cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [ANN] resources wiki page [WAS Re: [digester] Books/examples? ]

2004-11-15 Thread Torsten Curdt
Torsten, Thanks for the quick reply. Are you saying it has been incorporated into Jelly? You mean whether it covers Jelly? Yes, there is also a chapter about Jelly. But more of an introduction. Covering all the different taglibs would be worth a book itself ;-)

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Torsten Curdt
If you could just post your OS and what the result was, I would greatly appreciate it. Thanks in advance! Linux for Ubuntu Linux (Hoary)/i386, Sun JDK 1.4.2 HTH -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: gpl software with commons components?

2005-04-21 Thread Torsten Curdt
Matthijs Wensveen wrote: Hi everyone, Maybe this question has been asked a thousand times already, in that case I am sorry. I have made a piece of software that I want to place on sourceforge. It is a library that makes use of lucene and a lot of other jakarta commons components. Those jars

Re: [VFS] OutOfMemory Exception on large files

2005-06-08 Thread Torsten Curdt
We are using HTTP protocol. We have code something like this (in a simple junit test):- Neither http nor url supports output streams, so I guess your target URL is a webdav:// resource, isnt it? We can even reproduce it with the file: protocol! final String sourceURI =

Re: [CLI] two different versions of commons-cli-1.0.jar?

2005-07-06 Thread Torsten Curdt
It would appear that after the 1.0 release no-one updated the currentVersion tag in project.xml and that at some later time someone compiled the trunk code and published it on ibiblio as commons-cli-1.0 when it was actually a snapshot of trunk. It sure looks to me like the version on ibiblio

Re: [VFS] Problems resolving smb uri

2005-07-11 Thread Torsten Curdt
On 11.07.2005, at 20:34, Mark Shifman wrote: Hi: I just downloaded commons-vfs-1.0-RC2 today and was trying to get data from an smb share. using: FileSystemManager fsManager = VFS.getManager(); FileObject smbFile = fsManager.resolveFile( smb:// theUser:[EMAIL PROTECTED]:445/ms79 );

Re: JXPath - Iterating over all elements that 'lie on the way'

2005-07-14 Thread Torsten Curdt
However, I also want to iterate over all objects that 'lie on the way', i.e. in the above example I additionally want to iterate over all departments. Is there a way to access all objects that have been visited while resolving the XPath expression? Or can I write my own extension to the

Re: [VFS] bug ?

2005-08-19 Thread Torsten Curdt
On 19.08.2005, at 10:07, Philippe Poulard wrote: hi Mario, there is a bug in VFS RC3 : StandardFileSystemManager fsm = null; fsm = (StandardFileSystemManager) VFS.getManager(); fsm.setBaseFile( new File( System.getProperty( user.dir ) ) ); fsm.setDefaultProvider( new UrlFileProvider() );

Re: [VFS] bug ?

2005-08-19 Thread Torsten Curdt
fsm.setBaseFile( new File( System.getProperty( user.dir ) ) ); well, it's somewhat obvious : yepp - but to me the other way around ;) when you load an HTML document from a web server, you have : http://www.acme.com/path/to/document.html if the document contain : img src=picture.jpg/ link

Re: [VFS] bug ?

2005-08-19 Thread Torsten Curdt
Solving it in a clean way might break their application. I think this is not acceptable for a RC-1.0 release transition. As long it's not released - it's not released yet ;) i think that VFS users didn't already have to deal with relative files resolution regarding something else than a

Re: how to start a new project in the sandbox

2005-09-28 Thread Torsten Curdt
how does one start a new jakarta-commons project. Mark, do you already have commit access to any other apache project? I would like to start a new project and would like to get some information. Usually projects start out in the sandbox and then graduate to commons proper. I am not sure

Re: [vfs] filecontent

2005-10-10 Thread Torsten Curdt
Is there someway on vfs to create a content provider for files with extension jpg. There is already a contribution waiting which extends VFS with a service provider. That way you should be able to implement e.g. a ExifService You can get access to it with ExifService exif = (ExifService)

Re: [VFS] SFTP and which jsch library

2005-11-03 Thread Torsten Curdt
On 03.11.2005, at 07:20, Mario Ivankovits wrote: Hi! Why was the following added to SftpFileObject? import org.apache.commons.vfs.provider.webdav.WebdavFileObject; CopyPaste mistake. I currently evaluate Eclipse and other than IDEA I havent found the option to always optimize imports

Re: JavaFlow Groovy

2005-11-15 Thread Torsten Curdt
Is is possible to use JavaFlow with Groovy classes (at least, generated by groovyc, dynamic loading will be superior)? In theory it should also work with groovy classes. I personally haven't tested it but it's also on my TODO list to make sure that's working. Aside: You can have also have

Re: JavaFlow Groovy

2005-11-16 Thread Torsten Curdt
snip/ Thanks for the details. I will have a look into it ASAP. As for now please have a look into the provided ANT task and try rewriting at build time. (So no need of the class loader) Just to see whether that makes a difference. In case it doesn't I need both, the unmodified and the rewritten

Re: How can I unsubscribe?

2005-11-17 Thread Torsten Curdt
In such cases please contact [EMAIL PROTECTED] That should go to the moderator that can remove you from the list. This information should have also be provided when sending a message to commons-user-help cheers -- Torsten On 17.11.2005, at 12:52, Thomas Fehr wrote: me too! Thomas Dave

Re: [vfs] Disabling default file caching

2005-11-23 Thread Torsten Curdt
Calling directory.close() before directory.getChildren() helps indeed. But it isn't nice at all especially because this is the default behavior. It will definitely require addressing. I think a distinction should be made between short runs (e.g. Ant task) and long runs (like a file

Re: What JDK version are you using?

2006-01-23 Thread Torsten Curdt
What JDK version are you using? - [ ] JDK 1.2 [ ] JDK 1.3 [x] JDK 1.4 [x] JDK 1.5 (or JDK 5) - codec, collections, cli, digester, io, lang, logging, vfs and of course jci and javaflow ;) PS: better use the prefix POLL next time cheers -- Torsten

Re: [jxpath] Java code from JXpath expression

2006-03-07 Thread Torsten Curdt
Well, I am no expert but I think this cannot be done without huge hacks. Why you want to do this? Do you want to use it as a code generation tool? Yes... sort of. I'm having some performance issues related to the use of reflection, I was thinking to extract the Java code from the JXPath

Re: [jxpath] Java code from JXpath expression

2006-03-07 Thread Torsten Curdt
On 08.03.2006, at 14:31, Dmitri Plotnikov wrote: Hi, I have thought about using this type of compilation to byte code. Unfortunately, I got mired in the tremendous _potential_ complexity of data models that JXPath works with. Imagine that you have an expression that needs to traverse

Re: Javaflow available for Maven ...

2006-04-26 Thread Torsten Curdt
Hi! I want to vote for moving the Jakarta Commons Javaflow project out of the Sandbox and make it a Commons Proper project. Also, it would be great if Javaflow would be published on the Maven2 repositories. Is there something we could do to help with this? Well, if you are only after a

Re: javaflow: binary?

2006-06-13 Thread Torsten Curdt
I want to include javaflow in my master thesis in order to stop jobs on remote computers and transfer them to other machines. I downloaded javaflow from the svn but couldn't get it work at the first try. The tests do not work from maven at the moment ...but it should be as easy as mvn clean

Re: [collections] Proposal - Multiindex Container

2006-06-19 Thread Torsten Curdt
Comments are welcome. Well, start to elaborate :) cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Is JXPath used and/or loved

2006-07-09 Thread Torsten Curdt
Over in cocoon land it is being used all over the place. I think it rocks ...yepp cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Javaflow: Reference to the Runnable?

2006-07-12 Thread Torsten Curdt
Hi Marcus I am using javaflow. What I want to do is the following: Call Continuation.suspend() from within a thread. Transfer the Continuation object over the network call Continuation.continueWith(..) Cool _but_: in order to let the thread work properly at another place within the network,

[javaflow] ant task (was Reference to the Runnable?)

2006-07-13 Thread Torsten Curdt
Another question for the javaflow ant task: The homepage says that the attribute destdir is required. However, when I use it, I get the following error message: --- snip/ What am I doing wrong? Have a look yourself:

Re: Javaflow: suspending a thread from outside the thread

2006-08-01 Thread Torsten Curdt
I could make a public suspend() method within the thread that calls Continuation.suspend();, but the problem is that the second user just gets a continuation object and has no reference to the actual thread. Please note that you don't really need to make it public as Continuation.suspend() is a

Re: Javaflow: Bug in Continuation.getContext();?

2006-08-02 Thread Torsten Curdt
I have a Runnable class that is sometimes started with a context object and sometimes without. Alright ...the code looks ok and should work just fine. You do instrument the FlowRunnable2 but not the jafaflowTest2 ? When I call it without a context object, Continuation.getContext() throws a

Re: Re: Javaflow: suspending a thread from outside the thread

2006-08-02 Thread Torsten Curdt
I see your point. But it is not trivial to periodically check a context variable if the thread performs complex calculation and uses other object's methods which take a long time to execute. In java, I could just call Thread.stop(), even if it is depricated... Deprecated because in reality you

Re: Re: Javaflow: Bug in Continuation.getContext();?

2006-08-02 Thread Torsten Curdt
Here is the output if you uncomment the line thread.test(): - Exception in thread main java.lang.NullPointerException at org.apache.commons.javaflow.Continuation.getContext (Continuation.java:73) at Test.test(javaflowTest.java:11) at

Re: [commons-net, commons-email] help! - How to reduce commons net and email lib sizes?

2006-08-04 Thread Torsten Curdt
This should help http://vafer.org/blog/tag/minijar ...hope to get it integrated into the maven2 dependency/assembly plugin one day cheers -- Torsten On 8/5/06, Anil Philip [EMAIL PROTECTED] wrote: Hello, I have a very pressing problem. My application is distributed via Java Webstart, hence

Re: Re: [commons-net, commons-email] help! - How to reduce commons net and email lib sizes?

2006-08-04 Thread Torsten Curdt
On 8/5/06, Anil Philip [EMAIL PROTECTED] wrote: You mentioned It's not as sophisticated as proguard that does even remove dead code inside classes. However Proguard leaves libraries alone. Does your minijar operate on libraries? eg. commons-net-1.4.jar Or would I have to build the jar from the

Re: Re: help! how to reduce the size of Commons libs needed?

2006-08-07 Thread Torsten Curdt
Thanks for replying. How would I know what classes I need for ftp and email? This is what minijar would work out for you automatically ;-) ...but there is no ant interface for it yet. cheers -- Torsten - To unsubscribe,

Re: Javaflow: Ant-Task Bug?

2006-08-23 Thread Torsten Curdt
On running the javaflow transformation task, I get the following exception: /Users/mdeluigi/SourceCode/build.xml:114: org.apache.bcel.verifier.exc.AssertionViolatedException: INTERNAL ERROR: Missing class: java.lang.ClassNotFoundException: Exception while looking for class

Re: Re: Javaflow: Ant-Task Bug?

2006-08-24 Thread Torsten Curdt
For the task: I tried asm 2.2.3 and asm 3.0 RC1, but I always get this exception: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.init(ZZ)V I can't make any sense out of it. Looks like for some reason you have the wrong version of ASM in your classpath?! For me, it seems as it's

Re: Re: Javaflow: Ant-Task Bug?

2006-08-24 Thread Torsten Curdt
Looks like for some reason you have the wrong version of ASM in your classpath?! Do you know which ASM version worked? The one that's being used to compile it ;-) ...it's in the lib directory. Maybe print out your classpath on startup. cheers -- Torsten

Re: commons-vfs and bandwidth

2006-10-16 Thread Torsten Curdt
how you can couting input/ouput stream. it's with commons-vfs? No, you just create your own CountingInputStream, maybe best by inherit from FilterInputStream, override the read(...) methods and add the number of bytes read to a counter. On the first read(...) you store the

Re: [vfs] DefaultFileMonitor doesn't signal when a file is created.

2006-11-22 Thread Torsten Curdt
On 11/22/06, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi Steven! I put a monitor on a configuration file (not a folder). During testing I noticed that the monitoring doesn't recognize when the file is created. I get changed and deleted events but never a created event. As far as I

Re: Commons Logging - FileAppender Issue

2007-01-05 Thread Torsten Curdt
I'm using Log4j to manage log, I want to convert this by Commons Logging by converting just this line : private static Logger sLogger = Logger.getLogger (LoggingManager.class); by this one : private static Log sLogger = LogFactory.getLog(LoggingManager.class); Regarding the static give this

Re: [CLI]where to find latest release and manual

2007-04-04 Thread Torsten Curdt
We have just recently been discussing a clean up on the dev list. CLI 1.x needs a release. CLI 2.x is already been used by some projects but still needs some work for a proper release. HTH -- Torsten On 04.04.2007, at 09:28, Michael Niemaz wrote: Sorry I did not notice the mailing list was

[ANNOUNCEMENT] release of common jci 1.0

2007-06-20 Thread Torsten Curdt
Jakarta Commons JCI 1.0 is now available! http://jakarta.apache.org/commons/jci/ JCI is a java compiler interface. It can be used to either compile java (or any other language that can be compiled to java classes like e.g. groovy or javascript) to java. It is well integrated with a FAM