Tore Sagen

Greenhorn
+ Follow
since Apr 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tore Sagen

I wouldn't recommend JCAPS. I pain in the arse. It has more bugs than the animals in Africa all together.
16 years ago
It would be nice of you to post the solution too. Others may encounter the same problem and come here for help (like you did).
16 years ago
On Fedora I would do (as root)


To disable automatic startup on all runlevels, I would do


I'v never user SUSE, but you can try these commands anyway.
[ March 25, 2008: Message edited by: Tore Sagen ]
16 years ago
Just make sure you actually will own the domain. Not lease it from the registar.
16 years ago
JDOM is an easy-to-use library for XML parsing.
Yes, I have. The result is listed below.

16 years ago
I have this basic build.xml:


The classes are packed into catalina-ant5.jar and placed in /usr/share/ant/lib. I thought Ant should load the classes automatically, but it doesn't. Invoking Ant gives me this:



The following command doesn't help either, specifying the classpath in detail:


I could use some help, please.
16 years ago
I think the second example adds another reference to the same string "ab".

But the frist example, why doesn't "a"+"b" (first to evaluate, evaluates to "ab") refer to the same string object as "ab"?
16 years ago

But why is this?

[ April 25, 2007: Message edited by: Tore Sagen ]
16 years ago
Mani, your suggestion leaves me with the fractional part as a double, but I want it as an int or a char[].

Thanks for the suggestions. I implemented the sprintf variant below. One issue remains, how to remove the trailing zeros. I guess I just have to loop through the array from the end and set the item to 0 if it's equal to '0', and break if it's not.


[ September 29, 2005: Message edited by: Tore Sagen ]
18 years ago
I have How can I get the fractional part of this double as an int or char[]? The integral part is easy, only a cast. In this particular case I want to split "a" into
[ September 28, 2005: Message edited by: Tore Sagen ]
18 years ago
We are developing a Java project that uses several different extarnal jars (like jdom.jar). The different developers all have different folder structure, so it is not possible to place the jars in the same folder everywhere.

The problem is that when someone unintentionally checks in their .classpath file, it creates a mess when others check out. How can we tell Eclipse not to download the .project and the .classpath files, or better, not to check them in in the first place?

Originally posted by Jeroen Wenting:

Giving unemployed tons of welfare support may dull them a bit into complacency but it is no structural cure for the problems of the society that created that unemployment in the first place.

That's the downside of large welfare structures!


The picture is not that clear. I'm from Norway, probably the country with the most extensive public welfare system in the world. The unemployment rate is currently 4.1% here. On the other side, regarding public welfare policy, we find USA. The unemployment rate is currently 5.2%.
19 years ago
A prerequisite to successfully learn Java is to realize that Java is something totally different than HTML and Javascript (which this section covers).
[ February 04, 2005: Message edited by: Tore Sagen ]
19 years ago