Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Re: Problems recompiling downloaded plugins
Re: Problems recompiling downloaded plugins [message #239462] Fri, 07 May 2004 07:58 Go to next message
Eclipse UserFriend
Originally posted by: raritzu.yahoo.co.uk

Cheers, that is something I can use. Makes more sense now. In the src.zip
they (the flow4j people) distribute, I have found a "build.properties" wich
it actually does have some pertinent values there(but it would apply to
their folders/projects obviously). I downloaded the tomcat 5.0.19 binaries,
and set up the entries in the build.properties file to point to the correct
pathes. Should I use ant (which complains about some missing packages) to
compile or should I use eclipse? If eclipse how would I do it with eclipse?

At a first glance, the curious thing is that ant complains about the same
(first glance tho) packages (that it cannot resolve) as eclipse after I
import the flow4j plugin into the workspace. After I import into the
imported plugin the source code and set the src folder to be the source
folder eclipse starts complaing that it cannot find packages. I add them up
manually, and then it compiles. Now what I am saying is that ant complains
about the same packages when I try to do a ant on the build.xml file the
flow4j people supply. Any ideas?

You've been great help so far, I really appreciate it Rich.

Cheers.
Re: Problems recompiling downloaded plugins [message #239575 is a reply to message #239462] Fri, 07 May 2004 14:20 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

I really don't know what the problem is. The build.properties is used by
the PDE to create the build.xml for building and exporting. So it needs
to be correct in pointing to the correct source folder for each jar
being built.

When you update the plugin.xml and the build.properties using the PDE
editors, it updates the java classpath for you, so everything stays in sync.

But when you import the source, and not from CVS, you have to by hand
setup the build.properties. You also need to make sure that your project
is a PDE project (i.e. it has the PDE nature). It should do this if you
imported as plugin and not just created a project and put files in it.

But even so, you should go through and make sure the build.properties
and the java build path match for the source folders. The PDE container
should of automatically been added to the classpath for you. That will
take care of any required plugins getting into your classpath. You don't
want to manually update the classpath to add these in. PDE takes care of
the for you.

As for compiling, the ANT build.xml created by the PDE uses Eclipse to
do the compile for exporting. Typically while developing I use the
Runtime-Workbench launch approach and use the bin directory compiled
into by Eclipse. Then I use export plugin to get the complete plugin for
distribution. When you use export plugin it creates an ANT build file to
do the build, but still under the covers uses Eclipse.

I don't know what packages are missing, so I can't answer your question.
Are the packages ones that are actually in the source? Are they in some
required plugin?


Arthur Bidian wrote:

> Cheers, that is something I can use. Makes more sense now. In the src.zip
> they (the flow4j people) distribute, I have found a "build.properties" wich
> it actually does have some pertinent values there(but it would apply to
> their folders/projects obviously). I downloaded the tomcat 5.0.19 binaries,
> and set up the entries in the build.properties file to point to the correct
> pathes. Should I use ant (which complains about some missing packages) to
> compile or should I use eclipse? If eclipse how would I do it with eclipse?
>
> At a first glance, the curious thing is that ant complains about the same
> (first glance tho) packages (that it cannot resolve) as eclipse after I
> import the flow4j plugin into the workspace. After I import into the
> imported plugin the source code and set the src folder to be the source
> folder eclipse starts complaing that it cannot find packages. I add them up
> manually, and then it compiles. Now what I am saying is that ant complains
> about the same packages when I try to do a ant on the build.xml file the
> flow4j people supply. Any ideas?
>
> You've been great help so far, I really appreciate it Rich.
>
> Cheers.
>
>

--
Thanks, Rich Kulp

Previous Topic:Startup problem on WindowsXP
Next Topic:Remove functionality from JDT
Goto Forum:
  


Current Time: Fri Oct 04 23:15:30 GMT 2024

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

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

Back to the top