Results 1 to 2 of 2

Thread: C++ project shows Java Deploy

  1. #1
    Join Date
    Sep 2008
    Posts
    586

    Default C++ project shows Java Deploy

    At a local RQBS, there was one team with an interesting issue with their C++ projects. This did not happen to any other team there.

    They installed both the C++ and Java plugins. They then created a C++ Example Project (Getting Started). When they right clicked on the project->run as, they had the choice of local C/C++ application, WPILib Java deploy and WPILib Java Simulate. Clicking on the WPILib Java deploy did not have any affect.

    I had them uninstall and reinstall the plugins, with no change. I then uninstalled the plugins and noticed that the User\wpilib directory was still full. I manually deleted that directory, and then installed just the C++ plugins. At this point, the WPI Java deploy options were gone.

    We were able to successfully deploy by right clicking on the build.xml and choosing ant deploy.

    Any ideas on why the WPILib C++ deploy option didn't populate?
    Team 330 beta tester

  2. #2
    Join Date
    Oct 2011
    Posts
    523

    Default Re: C++ project shows Java Deploy

    The plugins use Eclipse ProjectNatures to determine whether to display or not. For any of the WPI options to display it checks for edu.wpi.first.wpilib.plugins.core.nature.FRCProjec tNature

    For the C++ options to appear it checks for org.eclipse.cdt.core.cnature
    For Java it checks for org.eclipse.jdt.core.javanature

    It seems like somehow the C++ projects were/are not getting the CDT nature for some reason.
    FIRST®
    FRC Robotics Engineer

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. No-Shows
    By Matt Pilotte in forum Scorekeeper / Field Power Controller
    Replies: 0
    Last Post: 03-16-2011, 10:24 AM
  2. Unable to Deploy Default Code
    By 2011FRC3543 in forum C/C++
    Replies: 1
    Last Post: 01-25-2011, 01:22 AM

Posting Permissions

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