Re: [announce] New Apache Harmony Committers : Mikhail Loenko, George Harley, Stepan Mishura

2006-04-02 Thread karan malhi
Congratulations to you all !! Geir Magnusson Jr wrote: Please join the Apache Harmony PPMC in welcoming the projects 3 newest committers : Stepan Mishura, Mikhail Loenko and George Harley These three individuals have shown sustained dedication to the project, an ability to work well with

Re: NullPointerException -- This info should be in wiki

2006-03-20 Thread karan malhi
Hi, This information should be put in the wiki under "Coding Guidelines" or "How do I " kind of a section. I think that a lot of discussion gets buried in the mailing list and then the same issue crops up again. I am willing to undertake updating the wiki with this information if you all agr

Re: AWT and Swing implementation

2006-03-19 Thread karan malhi
Geir Magnusson Jr wrote: It's my understanding that we may get a significant contribution in this area, so you may want to hold off on this for a little while. What else are you interested in? Msybe some of the tool work? Tool work would be interesting. Could you suggest something I could

AWT and Swing implementation

2006-03-19 Thread karan malhi
Hi, I would like to start contributing towards the AWT and Swing implementation. I need help on how to get started, what native toolkits could be considered for this implementation? Are we looking at writing Java Wrappers to native widgets from scratch or using something already available ?

Disregard Harmony-212

2006-03-19 Thread karan malhi
Please disregard the issue Harmony-212. I think I pressed the submit button twice when creating the issue. -- Karan Singh

javax.accessibility implementation

2006-03-18 Thread karan malhi
I am almost finished with the javax.accessibility implementation and would like to submit the code. My understanding is that I would need to file a JIRA issue to submit this code. Would that JIRA issue be under "Classlib" or "Contributions" ? -- Karan Singh

Re: Subclipse Diff: Are there any way to ignore whitespace when creating patch using Subclipse in Eclipse

2006-03-18 Thread karan malhi
Leo Simons wrote: I would like to volunteer tim to put his eclipse settings up on the wiki, I guess that's currently sort-of our de-facto coding standards rules) and apply it to all the source in one fell swoop. Then you don't have to submit those reformatting patches. +1. Since Eclipse all

Re: [vote] Require compiler options that allow partial 5.0 language features

2006-03-17 Thread karan malhi
Hi Mark, I am probably missing something. The java tool docs for 1.5 mentions that javac -target is a standard option in compilers, so it is a documented compiler feature. What would be risk involved in using this feature which is already documented as a "Standard Option" in the tool docs of

Re: [vote] Require compiler options that allow partial 5.0 language features

2006-03-17 Thread karan malhi
+1. I didnt quite understand as to why is it an undocumented compiler feature? The standard javac compiler does have a "target" option , which is probably what eclipse would be using to generate the class files for 1.4 target vm. Tim Ellison wrote: As discussed on the list, there is a compil

NullPointerException

2006-03-16 Thread Karan Malhi
throws it? -- Karan Malhi

Re: Solution for 5.0 language features in Eclipse(Re: And enum types (Re: API with generics))

2006-03-16 Thread Karan Malhi
gt;>>> I think the mimic will look like: > >>>> > >>>> public final class SomeEnum extends Enum{ > >>>>public static final SomeEnum enum1 = new SomeEnum("enum1", 0); > >>>>public static final SomeEnum enum2 = new S

API with generics

2006-03-14 Thread karan malhi
Hi, I might have missed out on it in earlier discussions so please excuse me for my ignorance. What is the strategy of harmony with regards to Generics? To be more specific, I am right now implementing the javax.accessibility.AccessibleStateSet class which has a protected variable with the fo

Re: Location of ResourceBundle classes for javax.accessibility.AccessibleBundle

2006-03-07 Thread karan malhi
e no idea what it is used for. Anyone can help? karan malhi wrote: Thanks Paulex, What about ResourceBundles specific to a package like for example javax.accessibility. Should we put the ResourceBundles in org.apache.harmony.accessibility.internal ? Paulex Yang wrote: Karan, karan ma

Re: Location of ResourceBundle classes for javax.accessibility.AccessibleBundle

2006-03-06 Thread karan malhi
Thanks Paulex, What about ResourceBundles specific to a package like for example javax.accessibility. Should we put the ResourceBundles in org.apache.harmony.accessibility.internal ? Paulex Yang wrote: Karan, karan malhi wrote: Hi, The javax.accessibility.AccessibleBundle class

Location of ResourceBundle classes for javax.accessibility.AccessibleBundle

2006-03-06 Thread karan malhi
Hi, The javax.accessibility.AccessibleBundle class requires a default ResourceBundle. 1. Which package would we put the default resource bundle classes in? 2. What locales are supported by Harmony? -- Karan Singh

Re: [jira] Commented: (HARMONY-156) InputStreamReader.getEncoding() and OutputStreamWriter.getEncoding() should return a historical charset name.

2006-03-03 Thread karan malhi
swer yet. Are there any listed terms of use or such? Lets not distinguish the PPMC that way - no need to place any special empahsis there. geir karan malhi wrote: You might want to look at this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6201170 Paulex Yang (JIRA) wrote: [

Re: [jira] Commented: (HARMONY-156) InputStreamReader.getEncoding() and OutputStreamWriter.getEncoding() should return a historical charset name.

2006-03-03 Thread karan malhi
nguish the PPMC that way - no need to place any special empahsis there. geir karan malhi wrote: You might want to look at this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6201170 Paulex Yang (JIRA) wrote: [ http://issues.apache.org/jira/browse/HARMONY-156?page=comments#actio

Re: [jira] Commented: (HARMONY-156) InputStreamReader.getEncoding() and OutputStreamWriter.getEncoding() should return a historical charset name.

2006-03-02 Thread karan malhi
You might want to look at this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6201170 Paulex Yang (JIRA) wrote: [ http://issues.apache.org/jira/browse/HARMONY-156?page=comments#action_12368656 ] Paulex Yang commented on HARMONY-156: - All the spec

any donations expected for awt and swing?

2006-03-02 Thread karan malhi
Hi, I am writing the interfaces for the javax.accessibility package. Some of the interfaces are dependent on classes from the awt package. Are we expecting any donations for awt, swing packages? If donations are not expected then what approach should I take? Should I start writing stuff for a

Re: [VOTE] Accept HARMONY-57 : Contribution of unit test code for a number of components

2006-03-02 Thread karan malhi
+1 Geir Magnusson Jr wrote: All paperwork has been received. I'll be getting that into SVN today, but lets get the voting kicked off... Please vote on acceptance of the donation of ontribution of unit test code for a number of components : [ ] +1 Accept [ ] -1 Don't accept (provide reason

Re: [VOTE] Accept HARMONY-88 : Contribution of code and unit tests for jndi, logging, prefs and sql plus unit tests only for beans, crypto, math, regex and security

2006-03-02 Thread karan malhi
+1 Geir Magnusson Jr wrote: All paperwork has been received. I'll be getting that into SVN today, but lest get the voting kicked off... Please vote on acceptance of the donation of Contribution of code and unit tests for jndi, logging, prefs and sql plus unit tests only for beans, crypto,

Re: [VOTE] Accept HARMONY-127 : Eclipse plug-in for Harmony JRE support

2006-03-02 Thread karan malhi
+1 Geir Magnusson Jr wrote: All paperwork has been received. I'll be getting that into SVN today, but lest get the voting kicked off... Please vote on acceptance of the donation of the eclipse plug-in for Harmony JRE Support : [ ] +1 Accept [ ] -1 Don't accept (provide reason) -- Kara

Re: deprecated methods , javadocs

2006-03-01 Thread karan malhi
wanted to know, javadocs for javax.* classes. karan malhi wrote: Will the javadoc have to match exactly with the RI api docs? Geir Magnusson Jr wrote: karan malhi wrote: Do we need to add javadoc comments in classes? Sure. Javadoc is good. How to deal with deprecated classes,m

Re: deprecated methods , javadocs

2006-03-01 Thread karan malhi
Will the javadoc have to match exactly with the RI api docs? Geir Magnusson Jr wrote: karan malhi wrote: Do we need to add javadoc comments in classes? Sure. Javadoc is good. How to deal with deprecated classes,methods and constructors? Mark them deprecated? My guess is that we

deprecated methods , javadocs

2006-03-01 Thread karan malhi
Do we need to add javadoc comments in classes? How to deal with deprecated classes,methods and constructors? My guess is that we should not care whether something is deprecated or not. We would still need that stuff for backward compatibility. However, I still would like to know if we need to k

Re: assigned modules

2006-02-28 Thread karan malhi
r, I think your question is different - we don't have a full classlibrary map, and that would be nice. There is some info on the wiki already. Are you interested in producing one suitable for the website? geir karan malhi wrote: How would I know what modules/classes are being worked u

assigned modules

2006-02-28 Thread karan malhi
How would I know what modules/classes are being worked upon already. I know JIRA is one place to look into, but it may not show a complete picture until an issue is created for a module. Is there a list i.e. spreadsheet or a wiki page where we have list of modules and volunteers working on that

what is LUNI?

2006-02-27 Thread karan malhi
What is LUNI? -- Karan Singh

procedure after checkout

2006-02-27 Thread karan malhi
Hi, Need help with the procedure to follow after checkout. Do we need to re-run ant using make/build.xml after every checkout ? Is there any plan to use maven? -- Karan Singh

Re: [jira] Commented: (HARMONY-68) java.nio.charset.Charset.isSupported(String charsetName) does not throw IllegalCharsetNameException for spoiled standard sharset name

2006-02-20 Thread Karan Malhi
IllegalCharsetNameException So, one could also interpret the spec in the following way: If the charset name does not comply with RFC 2278 then throw IllegalCharsetNameException, otherwise if the charset is not supported, return false. On 2/18/06, karan malhi <[EMAIL PROTECTED]> wrote: > >

Re: Do we want to be bug compatible? (was: Re: newbie to project-where to start from)

2006-02-18 Thread karan malhi
a developer, I would look at the API docs and then write the code. So, if our impl is compatible with the API docs, won't that make a case for using harmony instead of a buggy impl :) Thanks, Mikhail On 2/17/06, karan malhi <[EMAIL PROTECTED]> wrote: Anton Avtamonov wrote: IMHO,

Re: [jira] Commented: (HARMONY-68) java.nio.charset.Charset.isSupported(String charsetName) does not throw IllegalCharsetNameException for spoiled standard sharset name

2006-02-18 Thread karan malhi
Here is text from the j2se1.4.2 spec A charset name must begin with either a letter or a digit. The empty string is not a legal charset name. Charset names are not case-sensitive; that is, case is always ignored when comparing charset names. Charset names generally follow the conventions docume

Re: newbie to project-where to start from

2006-02-17 Thread karan malhi
Anton Avtamonov wrote: IMHO, when spec states some exception we should be spec-compatible. +1 On 2/17/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: I agree with Tim that we should discuss on the dev list +1 Later we might want to have some roadmap once we find a number of si

Re: [classlib] do we need a global exclude list?

2006-02-16 Thread karan malhi
Could there be a switch to over-ride the global exclude list entry/entries? This way a module by default would use a global exclude list and also have the freedom to ignore it and use the module exclude list. Geir Magnusson Jr wrote: However, I did imagine that we'd give the modules a bit of fr

Re: newbie to project-where to start from

2006-02-15 Thread karan malhi
compiler (sun) without causing any licensing issues - right? Sorry, but I am very poor with this licensing stuff. Just want to make sure I am playing within the rules of the game. Tim Ellison wrote: karan malhi wrote: I need to know how I can start on harmony. I would like to start by

newbie to project-where to start from

2006-02-15 Thread karan malhi
I need to know how I can start on harmony. I would like to start by writing some tests. Here are my questions : 1. Are there any predefined assertions to test or do we simply write test after looking at the api docs for each method 2. Are there any naming conventions for test cases 3. When one

Re: error when using sun compiler

2006-02-14 Thread karan malhi
Thanks Alexey, This works now. Actually I had to also specify the version of the source. When I only specify the -target this is what I get: [EMAIL PROTECTED] bin]$ ~/jdk1.5.0_06/bin/javac -target 1.4 Test.java javac: target release 1.4 conflicts with default source release 1.5 However, when i

Re: error when using sun compiler

2006-02-14 Thread karan malhi
? Thomas Engelschmidt wrote: Hi, Try java -version or which java - to clarify the version and path of the java binary. regards karan malhi wrote: Hi, Tried to compile and run a simple hello world program. When I use the eclipse programmer, it works fine, but when I use the sun'

error when using sun compiler

2006-02-14 Thread karan malhi
Hi, Tried to compile and run a simple hello world program. When I use the eclipse programmer, it works fine, but when I use the sun's jdk compiler, I get an error . I am still trying to get a feel of this project, so probably this was not supposed to work. Could you please help me understand

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
The build was successful. The problem was with gcc-c++. Thanks for all the help. Alexey Petrenko wrote: So Java part is built and you got troubles with gcc... 2006/2/14, karan malhi <[EMAIL PROTECTED]>: Alexey, I have set the JAVACMD variable to point to java executable explicitly

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
Alexey, I have set the JAVACMD variable to point to java executable explicitly as you can see below: [EMAIL PROTECTED] make]$ echo $JAVACMD /home/karan/jdk1.5.0_06/bin/java Below is the complete output after running ant. [EMAIL PROTECTED] make]$ ant Buildfile: build.xml default:

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
're making progress. Did you look at what that line in the xml document is? It's the c/c++ compiler. There's a file "outerr.txt" That should have more information about what exactly failed... Can you look there and report back? karan malhi wrote: I set JAVA_HOME

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
a previous email. Geir Magnusson Jr wrote: ok. Now we're making progress. Did you look at what that line in the xml document is? It's the c/c++ compiler. There's a file "outerr.txt" That should have more information about what exactly failed... Can you look there a

Re: build fails - what next?

2006-02-14 Thread karan malhi
/build.xml:331: The following error occurred while executing this line: /home/karan/projects/Harmony/modules/security2/make/native/linux/jaasnix.xml:72: exec returned: 1 Geir Magnusson Jr wrote: That's the problem. As far as I know, GCJ isn't quite complete yet... karan m

Re: build fails - what next?

2006-02-14 Thread karan malhi
[echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386 [echo] with java home = /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre VM version = 4.0.2 20051125 (Red Hat 4.0.2-8) vendor = Free Software Foundation, Inc. Alexey Petrenko wrote: [javac] 1. ERROR in /home/karan/projects/Harmon

Re: build fails - what next?

2006-02-14 Thread karan malhi
I just tried to follow the steps to build classlib. Here is the link to the page I followed the instructions from. http://incubator.apache.org/harmony/subcomponents/classlibrary/build_classlib.html I ran ant from the Harmony/make folder Alexey Petrenko wrote: I can not reproduce your errors

Re: build fails - what next?

2006-02-14 Thread karan malhi
Alexey, Thanks for such a quick response. I have copied the errors below: compile.api: [echo] Compiling api classes from /home/karan/projects/Harmony/modules/security2/src/common/javasrc, /home/karan/projects/Harmony/modules/security2/src/linux/javasrc [javac] Compiling 1 source file to

build fails - what next?

2006-02-14 Thread karan malhi
I followed the steps on the incubator website to build classlib from source. Build fails. What should I do next? Should I file a JIRA. I tried asking questions on the IRC channel but looks like that channel is just for general chat and not serious issues -- Karan Singh

Re: Tips for Harmony Development on Eclipse

2006-02-07 Thread Karan Malhi
of the projects setup and compiling in Eclipse using the > SVN > >>> code and the snapshot builds, but I'm unable to get the "Run As" and > >>> "Debug > >>> As" pieces going, so I can execute the tests and build some of my > >>> own. My > >>> problem seems to be around getting the JRE and the security policies > >>> setup > >>> appropriately. > >>> > >>> > >>> > >>> Thanks. > >>> > >>> > >>> > >>> -Nathan > >>> > >>> > >> > > > > -- > > Tim Ellison ([EMAIL PROTECTED]) > IBM Java technology centre, UK. > -- Karan Malhi

Re: Subversion problems?

2006-01-18 Thread Karan Malhi
t;>> On Tue, Jan 17, 2006 at 05:00:56PM -, [EMAIL PROTECTED] wrote: > >>>>> Hi guys, > >>>>> > >>>>> I've just tried updating my Harmony tree from Subversion, but I'm > >>>>> getting > >>>>> this error: > >>>>> > >>>>> svn: SSL is not supported > >>>> > >>>> This means your svn client was compiled without SSL support (or the > >>>> webdav > >>>> lib that svn uses, neon, was compiled without SSL support). > >> > >> > > > > > -- Karan Malhi

Re: Compilers and configuration tools

2005-10-25 Thread karan malhi
I think Tanuj was just comparing the similarities GCC and VC++ in terms of free download. I didnt see him mention anywhere that he doesnt like the GPL license on GCC :) Francisco Andrades Grassi wrote: Greetings, Tanuj Mathur wrote: Hey, It is only the actual IDE that is commercial, wi