Re: [classlib] debug compilation as default

2006-07-25 Thread Thorbjørn Ravn Andersen
Salikh Zakirov skrev den 17-07-2006 17:14: But then, I am unix type, and having correctly defined environment is essential to me. I just keep my .profile file up-to-date, and don't care about setting it in a new window. It gets configured automatically. And I hate property files, because they

Re: how to build Harmony on Windows (with minimum of commercial soft)

2006-07-24 Thread Thorbjørn Ravn Andersen
Gregory Shimansky skrev den 22-07-2006 23:57: classlib but I assure you that all I had installed was Visual Studio Express and Platform SDK, not even MASM because it was not available by that time. Ok, thank you for replying. I have now given up on this, so hopefully others will get it

Re: [general] hdk and jre for review...

2006-07-23 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr skrev den 21-07-2006 15:46: Hm. I'm using ubuntu 6. I'll go look at your JIRA. Which is it? You found the JIRA and helped me figuring out the couple of apt-gets needed. I'll give it a whirl now. What I did doesn't change how you compile either classlib or drlvm - it

Re: [general] hdk and jre for review...

2006-07-21 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr skrev den 21-07-2006 02:22: That's because I'm a moron and my userid is 'geirm' http://people.apache.org/~geirm/harmony I'm uploading windows versions now. Note they have no AWT/Swing support right now. What environment do you use under Linux? I cannot compile under

Re: [classlib] debug compilation as default

2006-07-15 Thread Thorbjørn Ravn Andersen
Ivan Volosyuk skrev den 10-07-2006 14:18: What's wrong with the notation: 'BUILD_CFG=debug ant' or simply 'ant' BUILD_CFG=release ant This only works well under Unix. To my knowledge this is not immediately possible under Windows. The and properties should work everywhere. -- Thorbjørn

Re: [classlib] HARMONY-820 (beautifying of java.beans classes)

2006-07-14 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr skrev den 11-07-2006 08:23: return getValue((ObjectNode) nodes.get(oldInstance)); } (added newline after method decl, space after the if, and removed spaces inside getValue()) When using the Eclipse debugger it is hard to see what a given method returns (I may

Re: how to build Harmony on Windows (with minimum of commercial soft)

2006-07-10 Thread Thorbjørn Ravn Andersen
Gregory Shimansky skrev den 01-06-2006 23:34: First I decided to use the current MS free software to repeat what is done by commercial. Nowdays MS offers VS.NET 2005 express edition (no earlier verions are available for download as far as I could find) and Platform SDK Server 2003 R2 (at

Re: Strategy for Harmony to work with Visual Studio 2005?

2006-07-10 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 10-07-2006 10:41: Thorbjørn, When you figure this out can you please write up the summary so we can put it on the project webpages? Sure, but just copying all the manifests did not work, so right now I have - temporarily - given up. Where are all the Visual Studio

Re: [classlib] debug compilation as default

2006-07-08 Thread Thorbjørn Ravn Andersen
Ivan Volosyuk skrev den 08-07-2006 00:35: Working on different projects, I've found out that Java programmers and C programmers have different habits. Java programmers likes ant, Linux/C programmers - make. I am C programmer :) If we going to do all the build ant-way, let's use cpptask as DRLVM

Re: [testing] Peace

2006-07-08 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 07-07-2006 00:10: May I tactfully suggest that we get this back to a discussion of the pros and cons of JUnit test suites and/or TestNG metadata vs. directory layout. Sounds good. Then I have a question: I have used JUnit 3 somewhat for test-driven development, and

Re: Strategy for Harmony to work with Visual Studio 2005?

2006-07-07 Thread Thorbjørn Ravn Andersen
Matt Benson skrev den 06-07-2006 19:25: Some particulars may be slightly different from one machine to the next, but in general this works; we need to get this info in the wiki IMHO Agreed. I have starting to write such an entry, but is currently stopped by the VSMCR8.DLL problem of VS2005

Re: Strategy for Harmony to work with Visual Studio 2005?

2006-07-07 Thread Thorbjørn Ravn Andersen
Gregory Shimansky skrev den 07-07-2006 15:01: Do you mean you have an error that there is no manifest file present? This has been answered too in the same threads about using VC 8.0. I just copied all the manifests created in native-src/win.IA32 to deloy/jdk/jre/bin manually to see if it

Re: [general] More SVN restructuring thoughts... (was Re: Ant build | IOException)

2006-07-05 Thread Thorbjørn Ravn Andersen
Garrett Rooney skrev den 08-06-2006 16:04: The basic idea is that you initially check out a copy of trunk that has a few empty directories in it. Then, svn switch says hey, this directory in my working copy that used to point to $HARMONY/trunk/classpath (which is empty) should now point to

Re: Using Visual Studio C++ Express to compile classlib - fails.

2006-07-05 Thread Thorbjørn Ravn Andersen
Oliver Deakin skrev den 27-06-2006 12:25: Do you mean the header files in deploy/include? If so, the reason they are copied there is so that they are in a shared location for all modules. (In fact it's the same reason that libs are built into deploy/lib and makefile includes are copied into

Re: Using Visual Studio C++ Express to compile classlib - fails.

2006-07-03 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr skrev den 28-06-2006 10:25: Next step - dlrvm :) That's excellent. Did all the tests pass for classlib? Working on it... Doesn't get much done these days. Can you document this procedure either on the wiki or send as a patch for the website? Yes. I think

Resending mailing list message?

2006-06-28 Thread Thorbjørn Ravn Andersen
I had a bad XP crash so Thunderbird forgot everything. Is there a way to ask the apache mailing list server to send me a given set of messages as individual messages allowing me to rebuild my local archive? I tried the get command, but it sent me a digest in a single message. Any suggestions

Re: Using Visual Studio C++ Express to compile classlib - fails.

2006-06-27 Thread Thorbjørn Ravn Andersen
Gregory Shimansky skrev den 27-06-2006 14:23: Cool! Thanks for the pointer. This is something new. The date published is June 7 2006 which is pretty recent. It happened after I've written my email about MASM not available. Thank you all for your help. I have now managed to build classlib

Using Visual Studio C++ Express to compile classlib - fails.

2006-06-26 Thread Thorbjørn Ravn Andersen
I have now tried fiddling with Visual Studio C++ Express (free download for the time being from Microsoft, which would enable me to participate) to see if I could build classlib with it under Windows XP, but have failed so far. I made some progress however. Nmake initially complains that it

Re: [classlib] [beans] xml resource files in tests

2006-06-26 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 26-06-2006 13:22: Should the tests be doing a line-by line comparison anyway? i.e. I can reformat the XML file and it still means the same thing, I would not expect the test to fail. James Clark defined Canonical XML in order to be able to compare xml documents as

Re: Using Visual Studio C++ Express to compile classlib - fails.

2006-06-26 Thread Thorbjørn Ravn Andersen
Mark Hindess skrev den 26-06-2006 21:57: What would a feasible path be from here? Looks like one of the variables set in one of those "empty" included makefiles should be CC set to cl ? I forgot to state that I somewhat arbitrarily tried doing exactly that, but without any

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-22 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 22-06-2006 10:37: Given that ECJ is now a dependency for our emerging javac tool, perhaps we should make it the default in the build system too? Sounds like a good idea. It also loosens the initial Java requirement on the host system to be a JRE instead of a JDK.

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 22-06-2006 12:49: It has been about a month since our last snapshot, how about we do another in the next few days (in time for ApacheConEU)? Can we snapshot a few things together (jchevm, classlibadapter, drlvm, classlib)? Probably in separate archives still at this

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-21 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 21-06-2006 11:58: The build instructions are here [1], let me know if they need updating. Just got around to update and check. The reference to the build.xml file in the help text shown if the dependencies have not been downloaded does not reflect that it now is ant -f

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-20 Thread Thorbjørn Ravn Andersen
Stefano Mazzocchi skrev den 20-06-2006 19:21: If you guys write a little how to on the wiki on how to build the thing from scratch on linux from sources, I'll be happy to try azureus on harmony with some 10Gb torrent files and report back on the wiki. I did that recently with the IBM JVM,

Re: Pack200 -- can now read constant pool header

2006-06-12 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr skrev den 12-06-2006 20:10: Would be a nifty feature - to tell your IDE to ignore a file... Eclipse can do that. Right click on given Java file, and locate the Remove from Build Path menu item. Very handy in a pinch. -- Thorbjørn smime.p7s Description: S/MIME

Re: Ant build | IOException

2006-06-07 Thread Thorbjørn Ravn Andersen
Anoop kumar V skrev den 30-05-2006 04:36: Hi, I am a n00b wanting to contribute to Harmony. All I have done so far (code-wise) is checkout the harmony code (revision 410710) from svn and run ant from ~/Harmony/make folder. I have just done the exercise for the first time with a fresh

Re: [testing] AWT, Swing Java2D

2006-06-05 Thread Thorbjørn Ravn Andersen
Anton Luht skrev den 05-06-2006 19:21: (http://sourceforge.net/top/topalltime.php?type=downloads) and found at least one project that was never mentioned in this list: Azureus (a BitTorent client). It has 118,5 millions of downloads and scores 8,700,000 in Google search. I second that. Just

Re: [classlib] millions of rmi tests

2006-05-31 Thread Thorbjørn Ravn Andersen
Alexei Zakharov skrev den 31-05-2006 11:50: Hi, Just like to pay your attention on JUnit best practices concerning this topic (in case if you are talking about UNIT tests): http://junit.sourceforge.net/doc/faq/faq.htm#best_2 Especially paragraphs two and three. If I understand this correctly

Re: [website] harmony-dev agreements and recommendations

2006-05-25 Thread Thorbjørn Ravn Andersen
Mikhail Fursov skrev den 25-05-2006 15:22: Guys, What do you think about the following recomendations? These are only 'recomendations' and not must have rules, but if these recomendations will become 'official' it will improve the quality of API in the long perspective. 1) Try avoid magic

Re: So today Sun announced...

2006-05-17 Thread Thorbjørn Ravn Andersen
Fernando Cassia skrev den 16-05-2006 23:07: Had it been an IBM project, it would be as alive today as OpenDoc, IBM Voicetype, OS/2, Lotus Smartsuite, VisualAge for Java, VisualAge for Basic, I generally agree with you that IBM have a hard time selling gold at half the price, but VisualAge

Re: So today Sun announced...

2006-05-17 Thread Thorbjørn Ravn Andersen
Fernando Cassia skrev den 17-05-2006 14:35: but VisualAge is still alive - it has just been rewritten from Scheme to Java and been renamed to Eclipse (or Rational Application Developer). You may have heard of it :) While I like Netbeans, I know about Eclipse and I heard about the

Re: tip: reference svn entries using rXXX

2006-05-11 Thread Thorbjørn Ravn Andersen
Leo Simons skrev den 11-05-2006 14:48: On Thu, May 11, 2006 at 09:57:04AM +0100, Tim Ellison wrote: Is there any way we can couple the mailing list postings to JIRA? Interesting question! I'm sure it should be possible :-) I played with JIRA the other day. There is

Re: Split the list ?

2006-04-24 Thread Thorbjørn Ravn Andersen
Magnusson, Geir skrev den 24-04-2006 14:39: :) SSG == Solutions and Software Group P = product D = Division Guess what M stands for... :) Geir, I was wondering if you could make an informal statement regarding how IBM and Intel is backing the harmony project? Sounds like there is

Re: Long,long testcase name...

2006-04-19 Thread Thorbjørn Ravn Andersen
Anton Avtamonov skrev den 12-04-2006 15:44: However such approach doesn't work when you really have several same-named methods with different params. You have to test similar scenarios, but with different methods... In such a case, w0uld it be reasonable to append a

Re: More helpful error messages

2006-03-27 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr wrote: if ( A || B ) { engineReset(); throw new DigestException( A ? offset incorrect = + offset : incorrect len value ); } Please :) That much trouble to avoid writing engineReset() twice? if (A) { resetEngine(); throw new

Re: More helpful error messages

2006-03-27 Thread Thorbjørn Ravn Andersen
Mikhail Loenko wrote: The times were: test1: 60 test2: 12500 test3: 700 So, the most performnace-expensive operation is creating a new object. I believe to have read that some of the optimizations that went into Java 5 was the construction of the stacktrace in an exception. So I think it

Re: [tools] Eclipse JRE support

2006-03-15 Thread Thorbjørn Ravn Andersen
Tim Ellison wrote: That URL is a bit of a mouthful though, perhaps we need a redirect from http://incubator.apache.org/harmony/updates ? Personally I'd rather have a XML file to import in the Update dialogue since it gives the correct values for both fields. -- Thorbjørn

Re: [jchevm] questions about libjc/zip.c

2006-03-04 Thread Thorbjørn Ravn Andersen
Weldon Washburn wrote: $ ./configure --with-classpath=/usr/local/classpath checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: /cygdrive/c/Documents: No such file or directory Might this not be the usual Don't use spaces in

Re: any donations expected for awt and swing?

2006-03-03 Thread Thorbjørn Ravn Andersen
Tim Ellison wrote: ourselves in the situation of having more than one implementation of the same APIs (we already saw this happen with 'security' and 'security2' contributions). This is no bad thing as it allows us to evaluate th I personally would be very interested in a Swing

Re: I welcome J2SE 6's faster-splash.... re: Java speed-up

2006-02-17 Thread Thorbjørn Ravn Andersen
Stefano Mazzocchi wrote: But look at the bright side: there are probably many other really simple yet useful things that can be done to make java more useful on the desktop and this will be a marketing win for alternative JVMs. That would be to be able to write small java programs which

Re: [classlib] Unit and performance testing

2006-01-25 Thread Thorbjørn Ravn Andersen
Mikhail Loenko wrote: fail() is not always convinient, for example, how would you print stack trace to fail()? Meanwhile stacktrace is most often enough If you need a stacktrace, why not just throw a RuntimeException at that point? JUnit will then include the stack trace in the report.

Re: Compilers and configuration tools

2005-11-09 Thread Thorbjørn Ravn Andersen
Leo Simons wrote: Whoohooh! An actual vi-vs-emacs discussion! Now we are *really* getting started! vi is quite a lot ahead of emacs. http://jvi.sourceforge.net/ versus http://jemacs.sourceforge.net/ But anyone who chooses either must love to type a *lot* :) -- Thorbjørn

Re: Moving forward - call for contributions

2005-08-13 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr. wrote: - native2ascii replacement. I'll have a go at this. -- Thorbjørn

Re: timeframe for mid-level decissions

2005-05-20 Thread Thorbjørn Ravn Andersen
Tom Tromey wrote: 3. Debugging. There has to be some debugger story. Harmony would have to excel on all of these before I would even consider, say, recommending it for FC. This is an important point. If the VM should be usable for a developer it must support debugging. If it is to be

Re: [arch] VM Candidate : JNode

2005-05-18 Thread Thorbjørn Ravn Andersen
[EMAIL PROTECTED] wrote: Those scores seems to be produced by HotSpot Client VM. If HotSpot Server VM was used, the score of Sun J2SDK 1.4.2 will be higher than 7500. I have not verified the numbers myself, since I do not currently have a machine where it runs out of the box (network drivers

Re: Harmony Project Structure Attempt

2005-05-18 Thread Thorbjørn Ravn Andersen
Steve Blackburn wrote: Over time we learned certain idioms which on one hand meant we tended to get reasonable performance first shot, but on the other may have undermined the natural Java style we started with. Do you have a summary of this available somewhere on the net? If I understand you

Re: The topic of the Java Compiler

2005-05-17 Thread Thorbjørn Ravn Andersen
Geir Magnusson Jr. wrote: Is one maintained better than the other? I'd like to choose one (loosely) so we can start working with it. Apache Tomcat ships with it, and I've used it elsewhere for having a shipping compiler for the same reason - for JSP compilation... The Eclipse compiler is

Re: Developing Harmony

2005-05-17 Thread Thorbjørn Ravn Andersen
Jónas Tryggvi Jóhannsson wrote: Im however very fond of the idea of writing the JVM in Java. Im beginning to look into the JikesRVM and I really like the idea, especially as it is the language that everyone on this list is familiar with. It would also maximize the quality of the tools that we