Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1627 Executing Forge scripts
  3. FORGE-1629

Being able to add comments to a script

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.6.0.Final
    • 2.1.1.Final
    • UI - Shell
    • None

    Description

      In Forge 1 we could add comments to a script, which was very handy. It had this syntax :

      @/* Forge 2.x Script */ ;
      @/* Generates the draft of the application */ ;
      
      clear ;
      export ACCEPT_DEFAULTS=true ;
      track-changes ;
      
      @/* ========================== */;
      @/* == Creating the project == */;
      @/* ========================== */;
      
      project-new --named pluralsight-persistence --topLevelPackage com.pluralsight.persistence.module07 --type war --finalName module07 ;
      
      
      @/* ========================= */;
      @/* == Setting up the model == */;
      @/* ========================== */;
      
      jpa-setup ;
      constraint-setup ;
      

      It would be nice to be able to add comments. Either with this syntax, or a more Java syntax :

      /** == Setting up the model == */
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: