Menu

Building Robocode after making changes

Help
Bhakta
2014-10-02
2014-10-05
  • Bhakta

    Bhakta - 2014-10-02

    I have checked out the code and have built it without any error and also able to run the UI using eclipse(run as java application). Can anybody let me know the process to build the UI module after making some changes so that I can launch it through eclipse and see the changes.

    when I'm trying to launch clean its showing error "C:\Users\vicky288\git\robocode\robocode.content\target\classes\compilers does not exist."
    But the above location is actually available.

    Thanks in advance,
    Bhakta

     

    Last edit: Bhakta 2014-10-02
  • Bhakta

    Bhakta - 2014-10-02

    Figured it out by myself...

     

    Last edit: Bhakta 2014-10-02
  • Flemming N. Larsen

    I am sorry that I was not fast enough to answer your question.

    It can be quite tricky to let Eclipse and the 'mvnassembly' build work together.
    Make sure to run the 'mvnassembly' and to 'clean' the 'robocode' project. Sometime it is necessary to clean the 'target' folder in order to force Eclipse to rebuild everything again.

    What did you do to solve the problem? :-)

     
  • Bhakta

    Bhakta - 2014-10-05

    I had made a small change in UI project.
    1.I had to ran the ant build script through Eclipse for that particular project.
    2.Then ran mvnassembly from command prompt,
    3.Then refreshed workspace.

    I was able to see my changes in the UI.

     

    Last edit: Bhakta 2014-10-05
  • Flemming N. Larsen

    Thanks. When you 'clean' e.g. the robocode project (or entire workspace), the ant script should automatically be called as I have added this in the Eclipse files for Robocode. :-)

     

Log in to post a comment.