Menu

#29 Changing Project Main File Name Illegal

open
nobody
None
5
2004-08-01
2004-08-01
Tom Parker
No

In Eclipse:
File->New->Other
Select "LaTeX (ecltTex project)

If the "main" file name is changed at all, it seems
impossible to ever get back to a position where
"Finish" will be highlighted.

I believe the problem is in
ecletexProjectCreationWizardPage.

In the validateMain method:
if(!text.toLowerCase().endsWith(".tex")){
status= createStatus(IStatus.ERROR,"A Project of that
name already exists.");
}else{
createStatus(IStatus.OK,"File Name Okay");
}

Two thoughts. First, the ERROR message is not valid
(it really needs to say "Project Main File must end in
TEX"??). Second, the createStatus in the else clause
does not assign to status. I think that is what
prevents Finish from ever being re-enabled.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB