Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7871

Add more path examples for windows paths in properties files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.0.0.1
    • Fix Version/s: EJBCA 7.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 2018, Oracle JAva 8, Ant v1.10.5, MariaDB v10.3.13, WildFly 10.1.0.Final
    • Issue discovered during:
      Integration
    • Sprint:
      EJBCA Team Alice - 2019 w6

      Description

      Getting build failed when having appserver.home is configured ejbca.properties.

      How to reproduce the issue:

      Pre-requirements: Windows 2018 Server, Windows 2018, Oracle JAva 8, Ant v1.10.5, MariaDB v10.3.13, WildFly 10.1.0.Final (haven't tried if this issue also exists on a Linux system).

      Edit ejbca.properties and set parameter appserver.home:

      appserver.home="c:\temp\wildfly"

      Run "ant clean deployear"

      Result:

      customejbca.message:

      appserver.error.message:

      setup-external-deps:

      setup: [mkdir] Created dir: c:\temp\ejbca\dist\ejbca-ejb-cli [mkdir] Created dir: c:\temp\ejbca\dist\ejbca-ejb-cli\lib [copy] Copying 43 files to c:\temp\ejbca\dist\ejbca-ejb-cli\lib

      BUILD FAILED c:\temp\ejbca\build.[xml:809]: The following error occurred while executing this line: c:\temp\ejbca\build.[xml:1235]: The following error occurred while executing this line: c:\temp\ejbca\modules\build.[xml:248]: The following error occurred while executing this line: c:\temp\ejbca\modules\ejbca-ejb-cli\build.[xml:98]: c:\temp\ejbca\modules\"c: empwildfly" does not exist.

      Total time: 1 minute 27 seconds

       

      Expected result:

      BUILD SUCCESSFUL

      Total time: 4 minute 28 seconds

       

      Workaround/fix: Comment out the option appserver.home in ejbca.properties

       

       

        Attachments

          Activity

            People

            Assignee:
            tomas Tomas Gustavsson
            Reporter:
            Cdasilva Cesar da Silva
            Verified by:
            Henrik Sunmark
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m