Issue Details (XML | Word | Printable)

Key: CWD-638
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Justen Stepka [Atlassian]
Reporter: Justen Stepka [Atlassian]
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Crowd

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

Created: 29/Nov/07 10:14 PM   Updated: 24/Jan/08 11:31 AM
Component/s: Installation/Setup
Affects Version/s: 1.2
Fix Version/s: 1.2.1

Time Tracking:
Not Specified

File Attachments: 1. Text File build.bat (0.3 kB)


Participants: Justen Stepka [Atlassian] and Mike Mclean
Since last comment: 50 weeks ago
Resolution Date: 29/Nov/07 10:34 PM
Labels:


 Description  « Hide
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


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Justen Stepka [Atlassian] added a comment - 29/Nov/07 10:21 PM
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.


Mike Mclean added a comment - 24/Jan/08 11:31 AM
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