[forwarded from http://bugs.debian.org/401948]
The following program compiles fine with
public static void main(String args)
But the eclipse compiler says,
(debian-unstable)jtocancipa@golem:~/tmp$ /usr/bin/ecj-bootstrap TestScanner.java
1. ERROR in TestScanner.java (at line 1)
The import java.util.Scanner cannot be resolved
The eclipse compiler should be fixed to compile the program (the ecj compiler here is configured to use the libgcj.jar).
Confirmed. No one has written this class yet.
twisti said one of his students has implemented this class and just needs paperwork
Yes, true. Mark already sent the paperwork to him and I hope he already filled it out and sent it back. I'll contact him and point him to this PR.
I've run into this problem too. Has the proposed implementation's paperwork gone through?
I don't know. Maybe Mark knows.
This is still pending resolution of the question whether the university has any claims on the work being contributed.
twisti has lost track of the code and student...
We're currently trying to get this sorted with GNU legal and get contact to the student again.
Any progress on this?
Submitter is currently mia, sorry.
I have completed the java.util.Sanner but I still wasn't able to commit this code to the "magnificant" GNU CVS repository with Eclipse.. i have tried it using gentoo and Windows xp..
I already uploaded a freshly generated public key yesterday and today again (this time generated with eclipse)..
So if someone would be as kind as to tell me how to commit this class it could even be finished today..
I have found some tutorials about it, and following them I have entered the private key file in the Eclipse settings but the "magnificant" GNU server doesn't even ask me for the passphrase..
"http://www.cise.ufl.edu/~mwhitloc/sf_cvs_howto.html" I used it to try to check out the classpath..
In the eclipse check out Form I have filled in the following:
Host : cvs.savannah.gnu.org
Repository path: /sources/classpath
User : <my Savannah account name>
Password : [empty]
Connection type : ext
And then when I click next, there should come a promt for the passphrase of the private key.. which doesn't come..
When I tried to use cvs from shell it only said to me "Premission denied (publickey)."
(In reply to comment #11)
> I have completed the java.util.Sanner but I still wasn't able to commit this
> code to the "magnificant" GNU CVS repository with Eclipse.. i have tried it
> using gentoo and Windows xp..
Please post your patch first on firstname.lastname@example.org
Also please read http://www.gnu.org/software/classpath/docs/cp-hacking.html#SEC3 and http://developer.classpath.org/mediation/ClasspathFirstSteps
Mark, I take it Laszlo completed the assignment then? I don't recall seeing a mail, but may have missed it.
Laszlo, you need to first post the patch to email@example.com with the subject 'RFC: java.util.Scanner' and wait for feedback before committing. As Mark says, please read the guides for GNU Classpath work.
If there are problems committing, this can be tracked down or another developer can always commit the work for you assuming assignment is in place.
Legalities are now cleared up.
However, on refactoring and reformatting this code, I discovered that it has never been compiled against GNU Classpath. Before we can commit this, we need support for region-based regular expression matching.
Let's get this in for 0.98.
Module name: classpath
Changes by: Andrew John Hughes <gnu_andrew> 08/08/16 23:34:21
. : AUTHORS ChangeLog
java/util : Scanner.java
Add initial implementation of java.util.Scanner.
2008-08-17 Andrew John Hughes <firstname.lastname@example.org>
* AUTHORS: Added Laszlo.
2008-04-20 Andrew John Hughes <email@example.com>
Fix package to be java.util and correct
2007-07-25 Laszlo Andras Hernadi <firstname.lastname@example.org>