SynBioDex-archive / libSBOLj

deprecated libSBOL Java library
http://SynBioDex.github.com/libSBOLj
2 stars 0 forks source link

SBOLservice class name does not match java file name #16

Closed nroehner closed 13 years ago

nroehner commented 13 years ago

Don't know how important this is since you were obviously able to compile, but the class SBOLservice has a java file named SbolService which causes Eclipse to pitch a fit when I import the project.

mgaldzic commented 13 years ago

I see, yeah that's weird. I renamed this class (using refactor in netbeans) at some point per issue #12. But now I see that git wont let me do a rename, it throws a fatal error, saying that SBOLservice.java exists. Thats probably why Netbeans renamed everything in the code but left the file.

mgaldzic commented 13 years ago

thanks for noticing. I made a comment on the issues page. I'm glad you were able to post to the issues with your github username. When I made the reply comment on the website did you get a notification email? I'm also half wondering if you'll get this message since its addressed to "nroehner reply@reply.github.com"

I'll fix that asap, hopefully tonight.

thanks mike

On Wed, Mar 16, 2011 at 3:41 PM, nroehner reply@reply.github.com wrote:

Don't know how important this is since you were obviously able to compile, but the class SBOLservice has a java file named SbolService which causes Eclipse to pitch a fit when I import the project.

Reply to this email directly or view it on GitHub: https://github.com/mgaldzic/libSBOLj/issues/16

nroehner commented 13 years ago

Yep yep, it looks like I received the notification email.

Nic


From: mgaldzic [reply@reply.github.com] Sent: Wednesday, March 16, 2011 4:30 PM To: NICHOLAS ANDREW ROEHNER Subject: Re: [GitHub] SBOLservice class name does not match java file name [mgaldzic/libSBOLj GH-16]

thanks for noticing. I made a comment on the issues page. I'm glad you were able to post to the issues with your github username. When I made the reply comment on the website did you get a notification email? I'm also half wondering if you'll get this message since its addressed to "nroehner reply@reply.github.com"

I'll fix that asap, hopefully tonight.

thanks mike

On Wed, Mar 16, 2011 at 3:41 PM, nroehner reply@reply.github.com wrote:

Don't know how important this is since you were obviously able to compile, but the class SBOLservice has a java file named SbolService which causes Eclipse to pitch a fit when I import the project.

Reply to this email directly or view it on GitHub: https://github.com/mgaldzic/libSBOLj/issues/16

Reply to this email directly or view it on GitHub: https://github.com/mgaldzic/libSBOLj/issues/16#comment_883043

mgaldzic commented 13 years ago

It was a problem caused by Windows FS not being case sensitive. Therefore, java screamed, git refused to rename, and to fix I had to

  1. re-factor to foobar.java
  2. create a dummy SbolService.java using the FS (not git)
  3. then git rm SbolService.java (dummy)
  4. commit
  5. re-factor foobar to SBOLservice

thanks MS