[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: How to rebuild plug-in project??

Okay, creating a plug-in project is similar to creating a Java project which 
i found some docs on the online help... I imported the source directly from 
its Zip/Archive files instead of from a File System, added a couple of other 
plugins in the plug-in dependencies, and rename the plug-in as 
org.eclipse.test.framework instead of org.eclipse.test... Then it finally 
worked.  This instruction on the testing framework is misleading and waaaaay 
outdated!

Cheryl.

"Yu Chen" <yuchen@xxxxxxx> wrote in message 
news:d46amh$8gh$1@xxxxxxxxxxxxxxxxxxx
>I created a plug-in project and imported all Java sources from
> org.eclipse.test.source, all the java files were imported fine without any
> error...  Then I tried to rebuild the project, by first clicks on
> Project|Clean, then Project|Build All, but nothing happens and no error
> event appears in the Error Log View.  Any suggestions?
>
> Thanks!
> Cheryl
>
> ===============The Eclipse Test Framework===========================
> Introduction
> The testing framework is comprised of the org.eclipse.test plugin and the
> org.eclipse.ant.optional.junit fragment.
>
> These two projects are available from the dev.eclipse.org repository and 
> are
> included in the eclipse-Automated-Tests.<buildid>.zip from the eclipse.org
> downloads page.
>
> Building and Installation
>
> Since the org.eclipse.test plugin is stored in the repository in 
> source-code
> form, it needs to be compiled before it can be used. The
> org.eclipse.ant.optional.junit fragment does not contain any source and 
> can
> be used as is from the repository.
>
>  1.. Turn of automatic builds. Window->Preferences->Workbench and uncheck
> "Perform build automatically on resource modification"
>  2.. Load org.eclipse.test into your workspace.
>  3.. Right-click on the org.eclipse.test project in either the Navigator 
> or
> Packages view. Select 'Rebuild Project' from the context menu. This will
> compile the entire org.eclipse.test plugin.
>  4.. Finally, copy the org.eclipse.test plugin into your target Eclipse.
>  5.. The org.eclipse.ant.optional.junit fragment only needs to be present
> in the environment of the Eclipse that is overseeing the test process. If
> you are running the test script from within the Workbench, this means that
> the fragments need to be present withinn your development Eclipse. If you
> are running the tests from the command line, then the fragments will need 
> to
> be present in your target Eclipse.
>
>
>