Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » FetchScriptGenerator
FetchScriptGenerator [message #191465] Mon, 09 February 2004 11:29 Go to next message
Eclipse UserFriend
No Message Body
Re: FetchScriptGenerator [message #191517 is a reply to message #191465] Mon, 09 February 2004 12:18 Go to previous message
Eclipse UserFriend
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
Previous Topic:FormLayout: FormData not associated
Next Topic:What is the extension point for LabelProviders for IResource?
Goto Forum:
  


Current Time: Sat Jul 26 03:03:42 EDT 2025

Powered by FUDForum. Page generated in 0.04315 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top