Hi, I've finally been able to make it work.
I had an old install of java 1.4, and apparently, the build was not using my workspace nor project settings, but this old version (don't know why, as I removed all traces from within eclipse) was not letting it work, anyway, after removing all 1.4 related installation from my system and installing the 1.5 jre (not only the jdk), I've been able to compile it and make the release.
It is mainly bug-fixes... I hope it works, as most problems were in linux, and I don't have a linux box to test it...
Cheers,
Fabio
Tuesday, July 26, 2005
Monday, July 25, 2005
Eclipse and java 1.5
This weekend, I decided I would upgrade PyDev to use java 1.5...
So, I got the latest java from sun, added it and started to use some of its new features (I think that the new java 1.5 features are really great).
Everything went smoothly, running, debugging, etc, until I tried to do the new release (after I coded with it for quite some time).
Eclipse gives me a report saying that it cannot build because of a compliance error. Namely: "Compliance level '1.4' is incompatible with source level '1.5'. A compliance level '1.5' or better is required". So, either I'm doing something really stupid or it's an Eclipse bug... I reported it in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=104960), and I'm waiting for some response...
You know, this might delay the 0.9.7 release if I cannot get around it (or I'll have to re-fix the code to remove java 1.5 features)...
Cheers,
Fabio
So, I got the latest java from sun, added it and started to use some of its new features (I think that the new java 1.5 features are really great).
Everything went smoothly, running, debugging, etc, until I tried to do the new release (after I coded with it for quite some time).
Eclipse gives me a report saying that it cannot build because of a compliance error. Namely: "Compliance level '1.4' is incompatible with source level '1.5'. A compliance level '1.5' or better is required". So, either I'm doing something really stupid or it's an Eclipse bug... I reported it in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=104960), and I'm waiting for some response...
You know, this might delay the 0.9.7 release if I cannot get around it (or I'll have to re-fix the code to remove java 1.5 features)...
Cheers,
Fabio
Sunday, July 24, 2005
Week notes, 0.9.6 and 0.9.7...
Well, this week the 0.9.6 release was the highlight, and with it, came some nasty bugs, mainly in linux.
As you guessed, I don't have a linux box to test it... so, is someone there that would be willing to test the code against a linux install with the cvs before I do a release?
Well, anyway, most bugs are apparently fixed (in the cvs), and 0.9.7 should come out on monday because of these bug-fixes...(if I'm able to get enough time to do it)
Windows also had some minor bugs (print margin), that also seem fixed...
Also, I changed the feature name, and that caused lots of problems (in both platforms)... well, I changed it back, so, those upgrading it should uninstall the previous versions (I'll put a note in the pydev homepage, but there is always someone that does not read it before upgrading... most people wait for it to crash and only then go look for the install notes...)
Well, see ya...
Fabio
As you guessed, I don't have a linux box to test it... so, is someone there that would be willing to test the code against a linux install with the cvs before I do a release?
Well, anyway, most bugs are apparently fixed (in the cvs), and 0.9.7 should come out on monday because of these bug-fixes...(if I'm able to get enough time to do it)
Windows also had some minor bugs (print margin), that also seem fixed...
Also, I changed the feature name, and that caused lots of problems (in both platforms)... well, I changed it back, so, those upgrading it should uninstall the previous versions (I'll put a note in the pydev homepage, but there is always someone that does not read it before upgrading... most people wait for it to crash and only then go look for the install notes...)
Well, see ya...
Fabio
Tuesday, July 19, 2005
Partitioning in eclipse
Just spent a good time making the partitioning for pydev, and just got it right after I read http://www.jroller.com/page/bobfoster/.
So, I guess I will release 0.9.6 in a short time, because now the bug that really was annoying me is solved (the colors for comments and literals were not there anymore, and only sometimes), after a lot of digging, I discovered that the partitioning sometimes was being overriden (and the link above solved my problems)...
Cheers,
Fabio
So, I guess I will release 0.9.6 in a short time, because now the bug that really was annoying me is solved (the colors for comments and literals were not there anymore, and only sometimes), after a lot of digging, I discovered that the partitioning sometimes was being overriden (and the link above solved my problems)...
Cheers,
Fabio
Saturday, July 16, 2005
Where to store the interpreter data
Well, currently data for the interpreter is stored at a preference store.
I made up a InterpreterPreferencesPage and just convert from the interpreter data to its serialized form and vice-versa, using the preference store for it (you can even see a huge nonsense string if you go to help->about->configuration details -- that's its serialized string).
This is good so far, but if later more data is stored here, we will need to get somewhere else to store it, probably using the plugin instance to get it (apparently with 'getStateLocation') - according to this article: http://www.awprofessional.com/articles/article.asp?p=370626&seqNum=9&rl=1
I made up a InterpreterPreferencesPage and just convert from the interpreter data to its serialized form and vice-versa, using the preference store for it (you can even see a huge nonsense string if you go to help->about->configuration details -- that's its serialized string).
This is good so far, but if later more data is stored here, we will need to get somewhere else to store it, probably using the plugin instance to get it (apparently with 'getStateLocation') - according to this article: http://www.awprofessional.com/articles/article.asp?p=370626&seqNum=9&rl=1
Subscribe to:
Posts (Atom)