|
Re: FetchScriptGenerator [message #191517 is a reply to message #191465] |
Mon, 09 February 2004 12:18  |
Eclipse User |
|
|
|
I logged a bug against PDE Build
https://bugs.eclipse.org/bugs/show_bug.cgi?id=51371
Darins
"Udo Walker" <Udo.Walker@abas.de> wrote in message
news:4027B554.20F96F2D@abas.de...
> Hi,
>
> could it be that in the method retrieveFeature of the class
> org.eclipse.pde.internal.build.FetchScriptGenerator is a bug?
>
> How should this piece of code work?
>
> ------------------------------------------------------------ --------------
----------------
> retrieveFeature
>
> ...
>
> if (path != null) {
> moduleFeatureFile = new
> Path(path).append(DEFAULT_FEATURE_FILENAME_DESCRIPTOR);
> moduleFeatureProperties = new Path(path).append(PROPERTIES_FILE);
> } else {
> moduleFeatureFile = new
> Path(elementName).append(DEFAULT_FEATURE_FILENAME_DESCRIPTOR );
> moduleFeatureProperties = new Path(path).append(PROPERTIES_FILE);
> }
>
> ...
>
> ------------------------------------------------------------ --------------
----------------
> If path == null then the 2nd block is used. But there is a "new
> Path(null)" which results in a "null argument" exception. So how should
> it work?
>
> With regards,
>
> Udo
|
|
|
Powered by
FUDForum. Page generated in 0.04315 seconds