eclipsify - problem when mismatch between project name and folder name

Bug #522132 reported by tomas
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
play framework
Incomplete
Undecided
Erwan Loisant

Bug Description

Steps to reproduce
play new aaa
bbb (application name)
play ec aaa
Import to eclipse 3.5.1
Launch bbb.launch
Error is displayed:Launch configuration bbb references non-existing project bbb.

The same thing for Test bbb.lanuch and Connect JPDA to bbb.launch

Fix: use folder name instead of application name when generating .launch files

(tested on 1.0.1)

tomas (gugljafa)
description: updated
Erwan Loisant (eloisant)
Changed in play:
assignee: nobody → Erwan Loisant (eloisant)
Revision history for this message
tomas (gugljafa) wrote :

Further observations: I have tested it on two machines, both winxp, both eclipse galileo, on the first one the bug occurs, and the project name in package explorer is 'aaa', on the second one the project name is 'bbb' and the bug doesn't show up.

Revision history for this message
Erwan Loisant (eloisant) wrote :

What version of Play are you using, on both of these machines?

Revision history for this message
tomas (gugljafa) wrote :

1.0.1

Revision history for this message
Erwan Loisant (eloisant) wrote :

I can't reproduce it. Could you find steps that guarantee you a repro on any machine you have?

Erwan Loisant (eloisant)
Changed in play:
status: New → Incomplete
Revision history for this message
Adrian Smith (adriansmith) wrote :

I've recreated this problem on Windows XP and Windows 7 using play 1.0.2.1. Exactly as reported by the OP.

Revision history for this message
Systho (systho) wrote :

Exactly the same problem with 1.0.2.1

For now I fixed it by editing the *.launch file and replaced project name by folder name.

It might actually not be a good idea since different people might want to checkout an application in different folder name...

Revision history for this message
Angelo G. (angelo-g.) wrote :

Same problem with Play 1.0.3.2 and eclipse helios ee on windows 7.

When eclipsify command done, I fixed the *.launch files created in eclipse directory replacing application name with folder name

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.