[Kde-eclipse-talk] svn: Cannot find templates/qtproject.zip
Brought to you by:
adymo
|
From: Arne A. <arn...@gm...> - 2005-10-10 09:32:59
|
hi,
after having a ClassNotFoundError i decided to checkout from the svn.
after installing antlreclipse the export of all five plugins worked well.
but i experience the same error as if running from insed eclipse while
cretaing a qt-project:
Template extraction error: java.io.IOException: Cannot find
templates/qtproject.zip
seems to be triggered by
org.kde.qmake.wizards.NewQtApplicationWizard.getProjectTemplates().
i changed the method as follows
protected IPath[] getProjectTemplates() {
//start insertion
String loc="";
try{
URL root=UiPlugin.getDefault().getBundle().getEntry("/");
URL local=Platform.asLocalURL(root);
loc=local.getPath();
System.out.println("/=="+loc);
}catch(Exception e){
// TODO: handle exception
}
// end insertion
if (qtVersion == QT_3)
return new IPath[] { new Path("templates/qtproject.zip")};
else
return new IPath[] { new Path("templates/qt4project.zip")};
}
and watched the output -- the path to templates/qtproject.zip is resolved
correctly, on runtime the zip is there -- but still the error.
any hints how to fix?
--
"Schon vor dem Come-Back von Modern Talking wusste ich:
Dieter Bohlen ist der Preis der Freiheit."
Heinz Rudolf Kunze
|