Forum Discussion

sittinhawk's avatar
sittinhawk
Icon for New Contributor rankNew Contributor
2 days ago

Ashling IDE scripted project creation

On Windows, is there a way to script the Ashling IDE project creation (or import an existing project)?

I'm trying to clean my project down to the bare minimum for CM/repo purposes (deleting .metadata), and then have an automated way to recreate the project up to the point I can open Ashling RiscFree IDE, point to my (newly recreated) workspace, and then the project is already imported and ready to build, with all my previous settings (include paths, optimizations).

Right now, the only way I can get this to work is if I manually click File -> Import and go through that dialog to import my sources from the repo.

I  need a hands-off way to do this. I looked at the Ashling RiscFree IDE manual, but couldn't find anything.

2 Replies

  • RiscFree does support importing an existing project from command-line. Run RiscFree.exe -data <workspace path> from command-line to load the project(s) within the selected workspace.

    • sittinhawk's avatar
      sittinhawk
      Icon for New Contributor rankNew Contributor

      That command does not seem to be working. It just shows the Ashling RiscFree IDE with a "There are no projects in your workspace" message.

      My directory structure is: %CD%\sw_workspace and %CD%\sw_repo. sw_repo directory contains my source code, the .cproject, .project, .settings. sw_workspace directory is where I created a temporary workspace directory (contains .metadata). Within the sw_workspace directory, I type "RiscFree.exe -data %CD%\..\sw_repo" but it just comes up blank. 

      There are no spaces in the path or anything like that. I have also tried using an absolute path instead of relative.