Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2068

Fix remote addon packaging in Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • Gulp
    • Hide
      1. Setup the development environment in a Windows computer (see this guide).
      2. Move to the app's root folder and execute the following command:

        gulp remoteaddon -p www\addons\mod\book
        

      3. Check that the remote addon is created. Open the addon.js file and check that the paths have been replaced by $ADDONPATH$.
      Show
      Setup the development environment in a Windows computer (see this guide ). Move to the app's root folder and execute the following command: gulp remoteaddon -p www\addons\mod\book Check that the remote addon is created. Open the addon.js file and check that the paths have been replaced by $ADDONPATH$.
    • MOODLE_32_STABLE
    • MOODLE_33_STABLE
    • Moodle Mobile 3.3.0

    Description

      It seems the remote addon packaging (gulp task) isn't working right in windows, the paths aren't replaced by $ADDONPATH$.

      https://moodle.org/mod/forum/discuss.php?d=348597

       

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Diwakar Moturu Diwakar Moturu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              26/May/17