Selena project files incompatible with IDEA 5.1

When I open a project I created with 5.1 in the latest Selena builds, the projects work in Selena but cannot be opened in 5.1 ever again!

This seems undesirable (certainly is to me!) Should I file a bug for this?

11 comments
Comment actions Permalink

Is it April fool's day?

0
Comment actions Permalink

OH HAI! I WANT TO USE IDEA 2.x PROJECTS WITH SELENA TOOOOOO - PLS GIVE
ME CODES - K THX BYBYE.

:)


Martin Fuhrer wrote:

Is it April fool's day?

0
Comment actions Permalink


Alex Epshteyn wrote:

When I open a project I created with 5.1 in the latest Selena builds, the projects work in Selena but cannot be opened in 5.1 ever again!

This seems undesirable (certainly is to me!) Should I file a bug for this?


Usually such huge programs like IDEA simply can't promise forward
compatibility - means, an older version of the product usually cannot
deal with newer version of the product-specific files. Backward
compatibility is usually provided and works.

Clue: try to open Microsoft Word 2003 document with Microsoft Word 6
(won't work);
Try to open OpenDocumentText (odt) file with OpenOffice.org 1.1 (won't
work);


In order to support the new features in Selena, the files format has
changed in a way that older versions of IDEA are no more able to
understand. Making it possible to open IDEA 7 projects files with IDEA 5
(as you would like to do) is very expensive (time and resources) task.

I think you will need to re-create your projects in IDEA 5 now. And
backup the project and module files if you intend to open them with
later IDEA versions.

Greetings!

0
Comment actions Permalink

It means Selena should backup v5 project files then convert them to v7 format ;)

0
Comment actions Permalink


t800t8 wrote:

It means Selena should backup v5 project files then convert them to v7 format ;)


Which is a half-solution. In such case the user might expect that
project modifications (like adding a new library to a module, or new
module and so on) will be automatically performed both in v7 and v5
files. Which will not happen.
Better is to program IDEA to tell the user:
"The project/module/whatever you are opening is in older IDEA format. It
will be converted to newer format and it cannot be used with older IDEA
versions any more! You may backup these files, but they WILL NOT be kept
in synch!"
Probably it is already there, not sure, didn't check.

But many other products do it that way. E.g. Microsoft Studio (afair).

Greetings

0
Comment actions Permalink

It did as you want in v6 and v7 M1 (as I remember) but disappeared in v7 M2

0
Comment actions Permalink

Hello t800t8,

It did as you want in v6 and v7 M1 (as I remember) but disappeared in
v7 M2


http://www.jetbrains.net/jira/browse/IDEADEV-13906

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

OH HAI! I WANT TO USE IDEA 2.x PROJECTS WITH SELENA
TOOOOOO - PLS GIVE
ME CODES - K THX BYBYE.

:)


Martin Fuhrer wrote:

Is it April fool's day?

That's uncalled for. I brought up a legitimate issue here - trying out the EAP version destroys your original project files - 2 hours of lost productivity for me here.

Selena EAP automatically opens your last opened project file from 5.1 and clobbers it without giving you a chance to backup the original 5.1 project. That's bad!

0
Comment actions Permalink

Yes, at least a warning would have been nice. The problem is that as soon as I installed Selena, it opened my project automatically (settings got imported) on startup. That was bad!

0
Comment actions Permalink


Alex Epshteyn wrote:

Yes, at least a warning would have been nice. The problem is that as soon as I installed Selena, it opened my project automatically (settings got imported) on startup. That was bad!


I agree on this point. I don't know why, but IDEA often (used to) have
issues with destructive actions.
In general, every action which destructs data without way back (e.g. CVS
Unedit, CVS Revert changes, file deletion etc) should first ask the user
and allow him to cancel the action. IDEA should never rely on the Local
History being tuned on, or something similar.

Btw, is "CVS Unedit" still not asking the user "You have local changes,
which will be lost. Are you sure?"?? JIRA?

Greetings!

0
Comment actions Permalink

Alex Epshteyn wrote:

Are you guys retarded? I brought up a legitimate issue here - trying
out the EAP version destroys your original project files - 2 hours of
lost productivity for me here.



Not retarded - just way too much sugar at the time :(

Whilst the EAP builds are usually of high quality and safe when it comes
to your project - one must remember that they are using "in dev" code
that's quite possibly going to eat your code, reformat your white space,
make you laugh, make you cry, and make you fear for the safety of Harry
Potter. Oh wait, I'm slightly mistaken - it won't make you laugh.

With all the changes to support facet's I don't see any 'backward
compatibility' coming anytime soon, as that would likely require a patch
build of 5.x that knows how to handle/discard any of the new information
(I do believe thats what one of the 6.0.x builds also addressed).

Hopefully it should at lease copy your projects into an 'old projects'
directory which it does when updating 6.0.x projects (or at least it did
for me)...

mark

0

Please sign in to leave a comment.