Results 1 to 4 of 4
  1. #1
    mohanever4u is offline Member
    Join Date
    Nov 2013
    Posts
    3
    Rep Power
    0

    Default eclipse plugin automated test through ant

    Please suggest something to make it work.

    I followed the following document

    Eclipse Corner Article: Build and Test Automation for plug-ins and features

    and able to work with the eclipse-Automated-Tests-3.0.2.zip. When i tried to work with eclipse-Automated-Tests-3.7.2.zip it is giving the below error

    Buildfile: test.xml

    all:

    setJVMfromUserSpecified:

    setJVMProperties:

    equinoxp2discovery:

    junit:

    setRuntimeArchive:
    [echo] setRuntimeArchive os win32 ws win32 arch x86
    [echo] runtimeArchive eclipse-SDK-M20120208-0800-win32.zip !!!

    init:

    setup:

    setupRepo:

    setup-zip:
    [delete] Deleting directory M:\372\eclipse-testing\test-eclipse
    [mkdir] Created dir: M:\372\eclipse-testing\test-eclipse

    installExtraPlugins:
    [echo] -installIU org.eclipse.equinox.p2.discovery.feature.feature.g roup +
    [java] Java Result: 13

    installTestPlugins:

    setupPlatform:
    [echo] os.arch x86
    [echo] platformTarget platform-zip platformArchive c:\\buildtest\\M20120208-0800\\eclipse-testi
    ng\\eclipse-platform-3.7.1-win32.zip

    platform-zip:
    [delete] Deleting directory M:\372\eclipse-testing\platformLocation
    [mkdir] Created dir: M:\372\eclipse-testing\platformLocation
    [exec] unzip: cannot find either c://buildtest//M20120208-0800//eclipse-testing//eclipse-platf
    orm-3.7.1-win32.zip or c://buildtest//M20120208-0800//eclipse-testing//eclipse-platform-3.7.1-win32.
    zip.zip.
    [exec] Result: 9
    [echo] -installIU org.eclipse.equinox.p2.tests.discovery +
    [java] Java Result: 13

    configureTeamTest:

    unzipderby:

    configureDeltaPack:
    [echo] trying to find org.eclipse.equinox.p2.tests.discovery_*
    [echo] trying to find

    runSuite:

    genResults:
    [copy] Warning: Could not find file M:\372\eclipse-testing\test-eclipse\eclipse\org.eclipse.equ
    inox.p2.tests.discovery.xml to copy.

    BUILD FAILED
    M:\372\eclipse-testing\test.xml:955: The following error occurred while executing this line:
    M:\372\eclipse-testing\test.xml:759: The following error occurred while executing this line:
    M:\372\eclipse-testing\test.xml:424: The following error occurred while executing this line:
    M:\372\eclipse-testing\test.xml:449: The following error occurred while executing this line:
    M:\372\eclipse-testing\test.xml:486: stylesheet M:\372\eclipse-testing\test-eclipse\eclipse\plugins\
    org.eclipse.test_3.3.100\JUNIT.XSL doesn't exist.

    Total time: 35 seconds
    An error has occurred. See the log file
    M:\372\eclipse-testing\workspace\.metadata\.log.








    Thanks,
    Mohan G

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,776
    Rep Power
    5

    Default Re: eclipse plugin automated test through ant

    That article is REALLY old and written for a REALLY old version of Eclipse. I would try to find something a little more recent. A simple google for "eclipse-Automated-Tests" resulted in this link for example:

    Platform-releng/Automated Testing - Eclipsepedia
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    mohanever4u is offline Member
    Join Date
    Nov 2013
    Posts
    3
    Rep Power
    0

    Default Re: eclipse plugin automated test through ant

    Quote Originally Posted by gimbal2 View Post
    That article is REALLY old and written for a REALLY old version of Eclipse. I would try to find something a little more recent. A simple google for "eclipse-Automated-Tests" resulted in this link for example:

    Platform-releng/Automated Testing - Eclipsepedia


    I tried with the procedure u mentioned also. But it is also giving the same problem. Thanks

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,776
    Rep Power
    5

    Default Re: eclipse plugin automated test through ant

    Then its time to go to the actual Eclipse forum on the Eclipse site and ask for further assistance.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Error with a JUnit test using maven surefire plugin
    By masijade in forum Apache Maven
    Replies: 0
    Last Post: 03-16-2012, 02:38 PM
  2. Replies: 4
    Last Post: 12-21-2010, 03:26 PM
  3. Replies: 0
    Last Post: 12-16-2010, 10:14 AM
  4. Stress test plugin?
    By thagentleman in forum Eclipse
    Replies: 0
    Last Post: 04-20-2009, 12:03 AM
  5. AnyEdit Plugin For Eclipse Plugin
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-18-2007, 12:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •