Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » plugin export fails
plugin export fails [message #114410] Fri, 22 August 2003 04:11 Go to next message
Eclipse UserFriend
good morning ( Germany ),

I wrote a simple plugin: it compiles and runs in eclipse. But now i want
to export this plugin. So I try the following: file --> export --> "Plugin
or Fragment" and select the plugin I wrote. After selecting a zip file and
pressing finish the following Message Pops up:

file:d:/<path>/<plugin name>/build.xml:50:srcdir attribute must be set!

Am I right in seeing this has something todo with ant? Maanwhile I cannot
export the plugin. Any help would the very usefull.

regards,

-thijs metsch
Re: plugin export fails [message #114489 is a reply to message #114410] Fri, 22 August 2003 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matthias.nxoxsxpxaxm.luebken.gmx.de

Thijs Metsch wrote:

> file:d:/<path>/<plugin name>/build.xml:50:srcdir attribute must be set!
> Am I right in seeing this has something todo with ant? Maanwhile I cannot

Well it sounds like it. I don't know if the export funcionality uses it
you should check your build.xml file. Did you modify it ?
And the build.properties file.

By the way you can test your plugin with starting a new runtime
environment:

Run >> Run As >> Runtime workbench (and make sure that your plugin is
activated under plugins)


Matt
Re: plugin export fails [message #114668 is a reply to message #114410] Fri, 22 August 2003 10:25 Go to previous messageGo to next message
Eclipse UserFriend
On your plugin.xml, try the context menu "Create Ant Build File" and try
exporting again. Does that help?


"Thijs Metsch" <thijs.metsch@dlr.de> wrote in message
news:bi4j7d$k3s$1@eclipse.org...
> good morning ( Germany ),
>
> I wrote a simple plugin: it compiles and runs in eclipse. But now i want
> to export this plugin. So I try the following: file --> export --> "Plugin
> or Fragment" and select the plugin I wrote. After selecting a zip file and
> pressing finish the following Message Pops up:
>
> file:d:/<path>/<plugin name>/build.xml:50:srcdir attribute must be set!
>
> Am I right in seeing this has something todo with ant? Maanwhile I cannot
> export the plugin. Any help would the very usefull.
>
> regards,
>
> -thijs metsch
>
>
>
Re: plugin export fails [message #115430 is a reply to message #114489] Sat, 23 August 2003 10:23 Go to previous messageGo to next message
Eclipse UserFriend
that'S how i tested my plugin ( by starting a new workbench.

i didn'T change the build.properties file and i don'T have an build.xml
file?! should there be an build.xml file for a plugin?

-thijs

Matthias wrote:
> Thijs Metsch wrote:
>
>
>>file:d:/<path>/<plugin name>/build.xml:50:srcdir attribute must be set!
>>Am I right in seeing this has something todo with ant? Maanwhile I cannot
>
>
> Well it sounds like it. I don't know if the export funcionality uses it
> you should check your build.xml file. Did you modify it ?
> And the build.properties file.
>
> By the way you can test your plugin with starting a new runtime
> environment:
>
> Run >> Run As >> Runtime workbench (and make sure that your plugin is
> activated under plugins)
>
>
> Matt
>
Re: plugin export fails [message #115451 is a reply to message #114668] Sat, 23 August 2003 10:25 Go to previous messageGo to next message
Eclipse UserFriend
that did it. but still i'm a little confused: does a simple plugin need
an ant script?

Chris Laffra wrote:

> On your plugin.xml, try the context menu "Create Ant Build File" and try
> exporting again. Does that help?
>
>
> "Thijs Metsch" <thijs.metsch@dlr.de> wrote in message
> news:bi4j7d$k3s$1@eclipse.org...
>
>>good morning ( Germany ),
>>
>>I wrote a simple plugin: it compiles and runs in eclipse. But now i want
>>to export this plugin. So I try the following: file --> export --> "Plugin
>>or Fragment" and select the plugin I wrote. After selecting a zip file and
>>pressing finish the following Message Pops up:
>>
>>file:d:/<path>/<plugin name>/build.xml:50:srcdir attribute must be set!
>>
>>Am I right in seeing this has something todo with ant? Maanwhile I cannot
>>export the plugin. Any help would the very usefull.
>>
>>regards,
>>
>>-thijs metsch
>>
>>
>>
>
>
>
Re: plugin export fails [message #115549 is a reply to message #115451] Sat, 23 August 2003 16:26 Go to previous messageGo to next message
Eclipse UserFriend
Well... If you decide to share your plugin with other
people, you will want to ship your plugin classes in
a jar file. The ant file helps you create that jar file.

On the build.xml context menu, run "Run Ant Build File".
Then, refresh your project and notice the runtime jar
that has been created for you. Ant beats doing it by hand.

Chris

"Thijs Metsch" <thijs.metsch@dlr.de> wrote in message
news:bi7tfu$9k0$1@eclipse.org...
> that did it. but still i'm a little confused: does a simple plugin need
> an ant script?
>
> Chris Laffra wrote:
>
> > On your plugin.xml, try the context menu "Create Ant Build File" and try
> > exporting again. Does that help?
> >
> >
> > "Thijs Metsch" <thijs.metsch@dlr.de> wrote in message
> > news:bi4j7d$k3s$1@eclipse.org...
> >
> >>good morning ( Germany ),
> >>
> >>I wrote a simple plugin: it compiles and runs in eclipse. But now i want
> >>to export this plugin. So I try the following: file --> export -->
"Plugin
> >>or Fragment" and select the plugin I wrote. After selecting a zip file
and
> >>pressing finish the following Message Pops up:
> >>
> >>file:d:/<path>/<plugin name>/build.xml:50:srcdir attribute must be set!
> >>
> >>Am I right in seeing this has something todo with ant? Maanwhile I
cannot
> >>export the plugin. Any help would the very usefull.
> >>
> >>regards,
> >>
> >>-thijs metsch
> >>
> >>
> >>
> >
> >
> >
>
Re: plugin export fails [message #116096 is a reply to message #115549] Mon, 25 August 2003 11:18 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

Actually, doing export plugin, under the covers, generates the
build.xml, runs it, then deletes it, as I understand it to be.

Rich
Previous Topic:showing commit messages at synchronize view
Next Topic:Console messages
Goto Forum:
  


Current Time: Fri Apr 25 00:35:01 EDT 2025

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

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

Back to the top