Issue Details (XML | Word | Printable)

Key: JRA-12296
Type: Bug Bug
Status: Resolved Resolved
Resolution: Incomplete
Priority: Major Major
Assignee: Tim Pettersen [Atlassian]
Reporter: water
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Solve the problem "tmp\build\weblogic not find' when build weblogic.war

Created: 01/Mar/07 07:19 AM   Updated: 21/Nov/07 09:44 PM
Component/s: Installation
Affects Version/s: 3.7.3, 3.7.4
Fix Version/s: None

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 2 hours
Remaining Estimate - 2 hours
Time Spent: Not Specified
Remaining Estimate - 2 hours

Environment: Windows
Issue Links:
Duplicate
 
Reference
 

Participants: Anton Mazkovoi [Atlassian], Tim Pettersen [Atlassian] and water
Since last comment: 1 year, 20 weeks, 4 days ago
Resolution Date: 23/May/07 01:52 AM
To be done by: Single developer
Labels:


 Description  « Hide
When I build weblogic.war an error message printout.It is "tmp\build\weblogic not find".So I add following content after line <mkdir dir="${dist-weblogic}"/> in 170
<mkdir dir="${build.weblogic}"/>
and then every thing is ok.
Remember:You only need to change "bea.home" ,"wl.home","wl.java" and don`t modify any other content in build.xml.
BTW:The method of "build a generic war and deploy to weblogic server" is not right.

My environment:
OS:Windows XP SP2
App Server:Weblogic 8.1 SP6
JIRA Vesion:Enterprise 3.7.4
DB:Oracle 10g



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 01/Mar/07 03:22 PM
Thanks for reporting!

Tim Pettersen [Atlassian] added a comment - 23/May/07 01:52 AM
Hi water,

Thanks for your suggested fix, but unfortunately it doesn't completely solve the problem. In the build.xml file distributed with JIRA the weblogic.precompile target will create the directory that weblogic.war requires for building. This directory is not created under Windows as weblogic.precompile fails due to the character limit for a command line operation.

Whilst the build will appear successful if you pass an empty directory reference to the jar target, the resultant war file won't in fact contain the pre-compiled weblogic JSPs (which is the main point of creating a weblogic WAR in the first place). Until we manage to completely fix this issue we'd prefer that it failed outright so that users are aware of the problem.

Thanks for your input though!

cheers,
Tim