Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 412899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:07:51+00:00 2026-05-12T18:07:51+00:00

Due to incomplete understanding of eclipse infrastructure I have one problem. Historically we have

  • 0

Due to incomplete understanding of eclipse infrastructure I have one problem.
Historically we have one ugly thing in our build procedure. It looks like following:
After eclipse builds entire workspace there is one incomplete thing in local build of plugins. It is some data file which is currently built during execution of special plugin test (which is actually tests nothing, but do generation of necessary data). It isn’t necessary to execute that test after any change in workspace. Actually that needed only after changes in parts of code which is touched very rarely. But if changes in that parts of code are made then the build became unusable before update of that special data file. That file is now stored on CVS since now it can be created only locally, but it’s necessary in product build.
I want to change build procedure in such way that this plugin test will be executed during workspace build procedure so it will be unnecessary to have manual runs of it. I’ve tried to write ant file which will run that test using templates from org.eclipse.test/library.xml, but the plugin didn’t loaded. I don’t know why this happens, but I’m afraid that this can happen due to absence of test plugins in my working copy of eclipse.
I’ve read some articles about running plugin tests in batch mode, but they only strengthen my feeling about necessity of separate eclipse copy for testing developed plugins.
We’re using ant for plugin builds and the entire structure of these scripts is very complex, so I think it will be impossible to make global changes in build procedure on top level. Which options do I have to finish my task? Maybe someone already had a similar experience…

Please note, that in fact I want to get rid of that test in favor of some special eclipse application, but I think it isn’t important right now, since I believe that my problem can be more general than running plugin tests.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T18:07:51+00:00Added an answer on May 12, 2026 at 6:07 pm

    This is how ANT script should look like:

      <!-- Prepare extension -->
      <mkdir dir="${extension_dir}/eclipse"/>
      <antcall target="make_symlink">
         <param name="target" value="${workspace_loc}"/>
         <param name="source" value="${symlink_location}"/>
      </antcall>
    
      <!-- Install extension -->
      <mkdir dir="${eclipse-home}/links"/>
      <echo file="${link_file}">path=${extension_dir}</echo>
    
      <!-- Run test -->
      <antcall target="core-test">
         <param name="plugin-name" value="testsPlugin"/>
         <param name="classname" value="testsPlugin.TestsClass"/>
         <param name="data-dir" value="${workspace_loc}/../some_workspace"/>
         <param name="plugin-path" value="${workspace_loc}"/>
      </antcall>
    
      <!-- Uninstall extension -->
      <delete file="${link_file}"/>
    
      <!-- Delete extension -->
      <antcall target="delete_symlink">
         <param name="source" value="${symlink_location}"/>
      </antcall>
      <delete dir="${extension_dir}"/>
    

    This script should be parameterized by “eclipse-home”, “os”, “ws”, “arch” paremeters. First of them is path to slave eclipse instance and last three is properties used to match running platform. In local builds they can have values of osgi.os, ogsi.ws and osgi.arch respectively.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Due to repetitive errors with one of our Java applications: Engine engine_0: Error in
Due to a disaster we have lost access to our source control and need
I have a problem with eventlisteners in javascript that is probably due to my
Suppose my attempt to write a pickle object out to disk is incomplete due
Due to company constraints out of my control, I have the following scenario: A
Due to lack of capital and time we are having to do our game
Due to a number of constraints that I won't get into, I have to
I'm using files and streams in codeigniter, and one problem I ran into was
I have an Action Method that returns a JSON-serialized object. The problem I'm having
i m a beginner... i have added two different jQuery... one is pop up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.