Hi Samuel,
Samuel Fleischle wrote on Thursday, September 13, 2007 3:51 PM:
Hi,
I updated from Commons Lang 2.1 to Commons Lang 2.3 and got
some issues with the changed compareTo() method of Enum with
anonymouse inner classes:
Here is my simplified Enum:
public class ItemStatus
Samuel Fleischle wrote on Friday, September 14, 2007 9:19 AM:
Hi Jörg,
thanks for your quick response and your approach to solve
this issue. But anyway I think it should be possible to add
these Enums to a Set without throwing a ClassCastException
regardless of which class, anonymous inner
David J. Biesack wrote on Monday, October 08, 2007 3:02 PM:
Date: Sat, 6 Oct 2007 23:31:19 -0500
From: Qingtian Wang [EMAIL PROTECTED]
Well, it's pick-your-poison kind of a deal. Either block on one
instance and take a performance hit, or burn up the memory with lots
of instances.
David J. Biesack wrote on Monday, October 08, 2007 4:40 PM:
Date: Mon, 8 Oct 2007 16:23:59 +0200
From: =?iso-8859-1?Q?J=F6rg_Schaible?=
[EMAIL PROTECTED]
David J. Biesack wrote on Monday, October 08, 2007 3:02 PM:
Date: Sat, 6 Oct 2007 23:31:19 -0500
From: Qingtian Wang [EMAIL
Constantin Moisei wrote:
Hello,
I'm using commons-fileupload.jar with ajax to do a multi file upload.
I have the feeling that my ISP uploads the file and when they receive
it all only then they pass it to me. That causes me to get the file
almost instantly.
I'm displaying a progress
Hi,
can somebody explain the following numbers - especially why FTP is that dead
slow compared to SFTP handling a lot of files? I measure a simple copy action
of a directory containing some few files:
FTP
*
Gary Gregory wrote:
Hello Laurent:
This behavior is 'normal'. The concepts of object equality
(the equals() method) and object identity (==) are different.
Well, this was not Laurent's question. He was wondering, why the EqualsBuilder
seems to use in his example the Long objects' identity
Hi Oliver,
Oliver Heger wrote:
Ricardo Espírito Santo schrieb:
I've tried xml:space=preserve and still no luck.
Yes, this special attribute is not yet supported. If you
like, you can
open a new ticket in our bug tracking system [1] and enter an
enhancement request.
@Jörg: Would you
Hi Jim,
Jim the Standing Bear wrote:
Hello,
I read somewhere that the URL Encoding of the space character can be
either %20 or +. The behavior of the URLEncoders from both
commons-codec and jdk converts spaces to +. Is there anyway to force
the URLEncoder to convert spaces to %20
Jean-Philippe Daigle wrote:
[snip]
Ah, so there's one more thing I hadn't tried, which I just did, and
explained a bit of the situation: completely removing the
logging block
(don't check isDebugEnabled(), don't call .debug(), etc.
Removing the whole logging block results in getting the
Mario Ivankovits wrote:
Hi!
1. Do you have any mechanism in mind to give feedback on the result
of the operation?
Not yet, this is all work in progress. But probably changing the
FileOperation interface to ProcessReturn process()
and add a new ProcessReturn interface with.
boolean
Oliver Heger wrote:
Jörg Schaible schrieb:
[snip]
Actually, it works as designed. getString() delivers the
first list entry. And I am sure, that quite everyone will
consider this as a bug ... it makes no sense to me either :-/
- Jörg
You can disable this behavior by calling
lmk wrote at Montag, 15. Dezember 2008 15:18:
how can I do that?
http://en.wikipedia.org/wiki/Hosts_file
- Jörg
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail:
lmk wrote at Montag, 15. Dezember 2008 15:33:
Actually I have a host name defined on hosts file, but, I cannot ping it
however.
Well, that should be possible if the entry in the hosts file is correct and
the hosts file is in use.
I can connect to SFTP server with Win SCP, I put the server
lmk wrote at Montag, 15. Dezember 2008 14:20:
I dont have a DNS server installed, the host cannot be found by name.
Well, you may temporarily add an entry to your local hosts file.
- Jörg
-
To unsubscribe, e-mail:
lmk wrote at Montag, 15. Dezember 2008 15:55:
I passed to the last version of jcraft I get more explicit exception:
UnknownHostKey: x.x.x.x. RSA key fingerprint is
0d:51:c6:7f:e1:84:5e:37:8b:93:29:bd:d4:d1:ba:79
how can I verify the host key??
OK, this is really something different.
Well,
lmk wrote at Montag, 15. Dezember 2008 11:35:
Hi all,
I try vainly to use VFS to connect to SFTP server .
I do the same as explained on
http://wiki.apache.org/commons/SimpleSftpFileDownload wiki page
[snip]
Caused by: com.jcraft.jsch.JSchException: UnknownHostKey: x.x.x.x
at
Hi Alex,
Alexander Fooks wrote at Montag, 23. Februar 2009 09:48:
Hello, All,
My application received parameters from the Java command line.
Well, first of all you should always prepend the subject of a message posted
to this list with the commons module you're talking about. Otherwise
sagun shakya wrote at Donnerstag, 26. März 2009 02:38:
Hi,
I have an Option created as:
Option fooOption = OptionBuilder.withDescription(add foo)
.withLongOpt(add_foo)
.hasArgs(2)
Hi Renè,
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 09:47:
OK so my search will continue :-)
Meanwhile I'll consider to change my implementation, which i'd like to
prevent.
I've reopened COLLECTIONS-3, since I was able to write a unit test that
reproduces the problem.
Maybe somebody of
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 11:48:
Hi Jörg,
that are great news, I'll give it a try.
And of course I'll report my experience.
That would be fine. Actually I opened an own JIRA issue for this now
(COLLECTION-330), COLLECTION-3 was simply too vague and had a too long
history
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 16:07:
Hi,
it's me again with an update.
the LRUMap.mapIterator() still produces the
ConcurrentModificationException when a call to MapIterator.remove()
occurs.
So did you also try with the entrySet? I've not written a unit test for the
Renè Glanzer wrote at Mittwoch, 17. Juni 2009 20:09:
I only gave it a short test. Then i found the MapIterator in the docs an
switched to it.
The docs stated that MapIterator is the better way than entrySet.
Sorry for this, I'm at home right now so i can test it with an entrySet at
the
Hi Thanik,
Thanikaiarasu wrote:
Dear All,
I would like to know whether commons-dbcp 1.2.2 and commons-pool 1.4 will
work properly in a 64bit windows server 2008 operating system without any
issues. Kindly reply and provide any official link for knowing the same.
With very view exceptions
Hi David,
David Hoffer wrote at Donnerstag, 10. September 2009 18:07:
We have upgraded commons-configuration to version 1.6 (was 1.1) and
now I get an this error when we mock something using EasyMock that is
hard coded to use commons-configuration to read conf data from
file(s).
Java Struts wrote at Montag, 16. November 2009 22:41:
Could you please tell me the format of the manifest file?
do i have to add every thing in the same line with space as delimiter?
http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html
Delimiter is space, line may not exceed 72
Hi Vijay,
vijay shanker wrote at Freitag, 11. Dezember 2009 07:07:
Hi all
I am using commons-logging with aspectj.
Once I created a log object by below code
private Log log = LogFactory.getLog(LoggingAspect.class);
When i print log with this object; i get output
Matt Benson wrote:
FWIW, there is a [flatfile] M2 snapshot published at
repository.apache.org.
Which should be definitely not there! Only official reelases can go to the
repository.
- Jörg
-
To unsubscribe, e-mail:
Asterios Katsifodimos wrote:
Hi all,
I would like to know if there is a way to set the value of a variable
(key) to be the space character in a PropertiesConfiguration file.
for example
variable =
could I use the double quotes to do that?
Did you try to enter it as Unicode
Hi Adelino,
Reis Da Rocha, Adelino (NSN - PT/Aveiro) wrote at Wednesday, 17. March 2010
19:28:
Hi,
I have been using MultiHashMap and according to documentation
this objects has been set as deprecated and it is recomended that we use
MultiValueMap however MultiValueMap is
Gary Gregory wrote:
You are correct.
However, you have to consider, that CGLIB adds itself some stuff to the
class that will be catched then ... :-)
- Jörg
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For
Hi Tom,
Tom Brito wrote:
But the new svn trunk don't have the lang package, just the lang3.
So the code that depends on the old stuff don't work.
The new stuff in 3.x is not binary compatible either. You have to adjust
your code in any case, if you want to use it.
- Jörg
Tom Brito wrote:
The trunk and the jar have are different from each other. They aren't
suppose to be the same code?
No. A released jar refers always a special tag in Subversion.
And the Branches be the variants (not the
Trunk)?
Branches are different code lines. There is currently a branch
Adrian Herscu wrote:
Hi all,
I am looking for an expression language to using in a testing framework
that I am designing.
The requirement is that the users of the framework are allowed to define
their own functions. I could not find it possible to add a function to a
JEXL context. Is
陳雪傑 wrote:
Hi all
How can I get Commons-net-2.1 Source and Binaries?
I want get publiced Commons-net-2.1 Source and Binaries from apache,
but the page (http://commons.apache.org/net/download_net.cgi) do not
provide it.
You cannot, since it was never officially released. So, yes, there
陳雪傑 wrote:
Hi Jörg
You cannot, since it was never officially released. So, yes,
there is a tag in Subversion, but nobody knows, who spread it
into public, what it actually contains and you're on your own
using this code. Therefore you cannot download any binaries
or tar balls, it has
Hi Patel,
Patel, Ronak Avinash (US SSA) wrote:
Any ideas when VFS will be released? I was under the impression that it
was all patched and ready to go...
It's actively worked on. Since it was not binary compatible to the last
version and it is the first major release since years, we decided
Hi Anand,
Joshi, Anand wrote:
Hi All:
Mylogin has the '@' when I am using Apache VFS to FTP files. Is this
supported while formatting the URL string ? Something like
ftp://a...@xyz.com:somepassword@server/path/file
You have to URL-encode your '@' character.
- Jörg
Guys,
can somebody tell us, what the different Android versions return for the
java.version and java.specification.version?
- Jörg
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands,
Hi Rogelio,
Rogelio Flores wrote:
I have an app where a previous developer--no longer here--added
commons-vfs-1.1.jar to our dependencies. I'd like to get the source
code for this but the download site lists 1.0 as the latest official
download (http://commons.apache.org/vfs/download_vfs.cgi)
Hi Moein,
Moein Enayati wrote:
Dear all
Hi
Till now ,whenever I want to use Apache.Commons.Configuration API with an
XML file , I’ve written down myBeans definition manually in XML resource.
But now I have a new demand to use complex beans with complex property
types and the ability
Holmes, Daniel wrote:
Is this project tested (or planned to be) against the latest releases of
commons-lang
According to this page it has not been yet
http://commons.apache.org/configuration/dependencies.html
Gump runs against lang 2.x trunk without problems.
- Jörg
Hi,
Simone Tripodi wrote:
Great, that's the way to go, well done and thanks for your contribution!
actually I think, it's not the way to go. The Javadoc in the patch implies
that Frank simply took the code from the JDK and adjusted it a bit. This is
not possible! We cannot simply relicense
Hi,
wayne wrote:
Hi All:
I use [javaflow] Ant task with ASM transformer
but it still terminates with java.lang.NoSuchMethodError:
org.objectweb.asm.ClassWriter.init(ZZ)V
Torsten mentioned the solution as follow:
(http://mail-archives.apache.org/mod_mbox/commons-
wayne wrote:
I look up the source code of AssertionViolatedException
the reason is :Instances of this class should never be thrown. When
such an instance is thrown,
* this is due to an INTERNAL ERROR of BCEL's class file verifier
about java.lang.NoSuchMethodError:
Hi Wayne,
wayne wrote:
Jörg wrote:
You have other ASM classes on the classpath or you're using some code that
depends on a different version.
even I delete all jar about asm on classpath
You're never explicit in your explanations. What does this mean now? Again,
what *is* on your
Hi Wayne,
wayne wrote:
I list my classpath info as follow:
?xml version=1.0 encoding=UTF-8?
classpath
classpathentry kind=src path=src/java/
classpathentry kind=src path=src/resources/
classpathentry kind=con
path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry
Hi Wayne,
wayne wrote:
Jörg. Thank you for your comments
there is Ant Build content including classpath definition:
project name='JPPF-Node' default=run basedir=.
[snip]
!--
=
--
!--
Stefan Bodewig wrote:
On 2011-07-20, Chris Bamford wrote:
Can someone please tell me the status of Zip64 support in
commons:compress?
No support at all, sorry.
I read that it was supposed to go into 1.1, but I don't know how to tell.
The people (myself included) who thought they
Jesse Farinacci wrote:
Congratulations!
On Thu, Sep 8, 2011 at 7:45 AM, Oliver Heger ohe...@apache.org wrote:
The Apache Commons team is pleased to announce the availability
of Commons Configuration 1.7.
Only 33 months since the previous release.. ;-)
Means that for an earlier release
Hi Timo,
Timo Rumland wrote:
Hello everyone,
sorry to bump this, but does anyone not have a comment to my question?
I really think I missed something, I can't imagine that the Commons IO
forgot to buffer the bytes that should be written to a file.
Please see my original question below.
Hi Ivan,
Ivan Boelle wrote:
Hello,
We recently upgraded our apache-common-lang library from 2.4 to 3.
But some classes of apache-common-configuration rely on classes that are
not part of apache-common-lang anymore.
c-lang and c-lang3 are designed to be used side-by-side, since they are
William Speirs wrote:
There is no commons http-client,
It is, that's version 3.x
it is called http components now:
http://hc.apache.org/
That's version 4.x and it is API-wise something different. vfs uses http-
client 3.x.
- Jörg
Hi Steve,
Steve Cohen wrote:
Someone has suggested that our team look at the Apache Thread Monitor
as a way of timing out some classes that don't natively support timeouts.
In investigating this using the Google, I find references such as this:
Guys,
do we have somewhere an equivalent for the C system call getservbyname in
commons?
- Jörg
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org
Hi Emmanuel,
Emmanuel Bourg wrote:
Le 02/04/2012 16:41, Jörg Schaible a écrit :
do we have somewhere an equivalent for the C system call getservbyname in
commons?
You mean something that map a service name (http, ssh) to a port number
(80, 22) ?
Right. Best would be a system call
Hi Emmanual,
Emmanuel Bourg wrote:
Le 02/04/2012 18:13, Jörg Schaible a écrit :
Right. Best would be a system call, but I can also live with some
functionality that parses the etc/services in Linux/Windows directly. For
support in the Java runtime I only found a 15 year old enhancement
Hi Paul,
Schuetz, Paul (EXTERN: DOS) wrote:
Hello,
I am trying to get up and running a simple application under an IBM WAS
8.0. My application consist of an simple jsf file and a bean used as an
actionlistener for a button inside the jsf. On pushing the button the bean
should just log
Hi Michael,
Seganti, Michael wrote:
I'm attempting to connect via FTPS to one of our clients. We provided
them a public SSL key for authorization for their server. How can I
perform authentication of the FTP user (as in FTP login, not just SSL
negotiation/validation) by supplying a client
sebb wrote:
On 24 April 2014 19:29, Gary Gregory garydgreg...@gmail.com wrote:
Should we fix 3.x for Java 8 and release?
The fix works by renaming a public method so IMO is not appropriate for
3.x.
It would break any existing code that used the remove method,
requiring the user to edit
Hi Paulo,
Paulo Roberto Massa Cereda wrote:
Dear friends,
I have to execute a certain system command according to the underlying
operating system; so far, SystemUtils works like a charm. But now I'm
facing a quite peculiar situation: I'd need to run a different code if
my Java application
Hi William,
William Speirs wrote:
I'm not sure I understand your comment Mat. From what I can tell, Michael
made his own hash function. That's fine, but *might* have unexpected
collision issues. Might not too... I don't know. My guess though is that
he's not an expert (who is an expert on
Hi Woonsan,
Woonsan Ko wrote:
Hi there,
I tried to use the following, expecting ...ick brown fox paid $20.00
to jump over the la…:
// In org.apache.commons.lang3.text.StrSubstitutorTest.java locally
// after cloning https://github.com/woonsan/commons-lang.
@Test
public
Benedikt Ritter wrote:
> Hello,
>
> 2015-11-14 22:25 GMT+01:00 Anthony Brice :
>
>> I could be wrong, but I do believe StrSubstitor requires a prefix and
>> suffix. I don't think the class will replace variables that aren't in the
>> map either, unless you write a
Alex Soto wrote:
> Hi, thank you for your answers, Jörg I think that StrMatcher is for
> implementing where you want to get information to be replaced on the
> string, not for parsing issues.
Instead of guessing, I'd rather have a look into the Javadocs of
StrSubstitutor.
Cheers,
Jörg
Hi Joël,
Joël Traber wrote:
> Hi guys,
>
> I am running an application working with commons-configuration version 1.6
> I just noticed a bug in
> commons-collection.
Mansour Al Akeel wrote:
> I am wondering if there's any plan to make Apache commons
> configuration 2.X available in maven repo.
>
> If it's already available, please direct me to where I can pull it.
>
> Thank you
Hi Oliver,
Oliver Heger wrote:
> Hi Jörg,
>
> Am 28.04.2016 um 16:34 schrieb Jörg Schaible:
>> Chas Honton wrote:
>>
>>> Try casting Object[] to long[]. The compiler and the runtime will
>>> complain.
>>
>> It is not about a cast, it's about
27, 2016, at 11:59 PM, Jörg Schaible
>> <joerg.schai...@bpm-inspire.com> wrote:
>>
>> Hi Oliver,
>>
>> Oliver Heger wrote:
>>
>>> Hi Rainer,
>>>
>>>> Am 27.04.2016 um 21:22 schrieb Rainer Hirschmiller:
>>>>
Hi Oliver,
Oliver Heger wrote:
> Hi Rainer,
>
> Am 27.04.2016 um 21:22 schrieb Rainer Hirschmiller:
>> Hi.
>>
>> I wonder why AbstractConfiguration::getArray(cls, key) returns a single
>> object, not an array of objects? Can somebody explain why the caller
>> have to make an explicit cast?
>>
c...@honton.org wrote:
> Jorge,
>
> You could create a different named method for each primitive array
> type. Would be a pain to use in a generic fashion.
[snip]
I agree with a method returning explicitly an array, but that has been
nonsense in first place.
As I already pointed out, the
Oliver Heger wrote:
>
>
>
> Am 29.04.2016 um 20:36 schrieb Jörg Schaible:
>> c...@honton.org wrote:
>>
>>> Jorge,
>>>
>>> You could create a different named method for each primitive array
>>> type. Would be a pain to use in a gen
Tim Cronin wrote:
> doesn't show up in the main maven repo the listings
>
> http://mvnrepository.com/artifact/org.apache.commons/commons-jcs-core
Ask the owner of that site. The link below points to central and that's the
only official Maven repository (searchable using
sebb wrote:
> On 30 March 2017 at 16:29, Matt Sicker wrote:
>> A lot of old artifacts uses the groupId == artifactId convention. I don't
>> know when that changed to using org.apache.foo as the groupId, but I'm
>> guessing it was sometime around the advent of Maven Central.
>
74 matches
Mail list logo