Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-638

build.bat no longer properly runs , preventing the environmental changes such as database dialects from be changed automaticly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 1.2.1
    • 1.2
    • Installation/Setup
    • None

      Running this comment results in the following:

      C:\crowd-1.2.0>build.bat
      C:\crowd-1.2.0>
      

      which should be

      C:\crowd\crowd-1.2.0-std\crowd-1.2.0>build.bat
      Buildfile: build.xml
      
      init:
      
      assistant:
       Changing Tomcat's connector port to 8080
       Changing Tomcat's shutdown port to 8020
      Configuring the Crowd Console
      Updating crowd.properties: crowd-webapp/WEB-INF/classes
      Copying 1 file to C:\crowd\crowd-1.2.0-std\crowd-1.2.0\crowd-webapp\WEB-INF\classes
      Updating property file: C:\crowd\crowd-1.2.0-std\crowd-1.2.0\crowd-webapp\WEB-INF\classes\crowd.prop
      erties
      Configuring the Crowd hibernate configuration
      Updating the HibernateDialect and TransactionFactory in crowd-webapp/WEB-INF/classes/jdbc.properties
      
      Updating property file: C:\crowd\crowd-1.2.0-std\crowd-1.2.0\crowd-webapp\WEB-INF\classes\jdbc.prope
      rties
      Configuring the Demo application
      Updating crowd.properties: demo-webapp/WEB-INF/classes
      Copying 1 file to C:\crowd\crowd-1.2.0-std\crowd-1.2.0\demo-webapp\WEB-INF\classes
      Updating property file: C:\crowd\crowd-1.2.0-std\crowd-1.2.0\demo-webapp\WEB-INF\classes\crowd.prope
      rties
      Configuring the OpenID server application
      Updating crowd.properties: crowd-openidserver-webapp/WEB-INF/classes
      Copying 1 file to C:\crowd\crowd-1.2.0-std\crowd-1.2.0\crowd-openidserver-webapp\WEB-INF\classes\cro
      wd.properties
      
      BUILD FAILED
      C:\crowd\crowd-1.2.0-std\crowd-1.2.0\build.xml:71: Failed to copy C:\crowd\crowd-1.2.0-std\crowd-1.2
      .0\etc\openidserver.properties to C:\crowd\crowd-1.2.0-std\crowd-1.2.0\crowd-openidserver-webapp\WEB
      -INF\classes\crowd.properties\openidserver.properties due to C:\crowd\crowd-1.2.0-std\crowd-1.2.0\cr
      owd-openidserver-webapp\WEB-INF\classes\crowd.properties\openidserver.properties (The system cannot
      find the path specified)
      
      Total time: 2 seconds
      

          Form Name

            [CWD-638] build.bat no longer properly runs , preventing the environmental changes such as database dialects from be changed automaticly

            Looks like 1.2.2 also has a problem. Specifically, this line:

            set CLASSPATH=%ANT_HOME%\lib\xmltask-v1.14.jar
            

            The apcache/tools/ant/lib directory in the distribution doesn't contain that file. So when I run the build.bat file I get:

            build.xml:2: taskdef class com.oopsconsultancy.xmltask.ant.XmlTask cannot be found
            

            Mike Mclean added a comment - Looks like 1.2.2 also has a problem. Specifically, this line: set CLASSPATH=%ANT_HOME%\lib\xmltask-v1.14.jar The apcache/tools/ant/lib directory in the distribution doesn't contain that file. So when I run the build.bat file I get: build.xml:2: taskdef class com.oopsconsultancy.xmltask.ant.XmlTask cannot be found

            To apply the patch for your current Crowd release (1.2.0), please do the following:

            1. Remove the following file from Crowd: crowd-1.2.0/build.bat
            2. Replace the file you deleted above with the attached file.

            If you have any problems with these steps, please comment below.

            Justen Stepka [Atlassian] added a comment - To apply the patch for your current Crowd release (1.2.0), please do the following: Remove the following file from Crowd: crowd-1.2.0/build.bat Replace the file you deleted above with the attached file. If you have any problems with these steps, please comment below.

              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: