Issue Details (XML | Word | Printable)

Key: JRA-10053
Type: Bug Bug
Status: Verified Verified
Priority: Major Major
Assignee: Eddie Kua [Atlassian]
Reporter: Keith Brophy
Votes: 0
Watchers: 3
Available Workflow Actions

Start Progress
Operations

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

Weblogic WAR build script fails on Windows & UNIX

Created: 01/May/06 11:58 PM   Updated: 12/Dec/07 04:48 AM
Component/s: Installation
Affects Version/s: 3.6, 3.12
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows/UNIX
Issue Links:
Reference

Participants: =Neal Applebaum, Eddie Kua [Atlassian], Keith Brophy, Scott Farquhar [Atlassian] and water
Since last comment: 38 weeks, 5 days ago
Labels:


 Description  « Hide
The Weblogic WAR build script fails with the following output (Windows):

C:\kb\ATLASS~1.6>build.bat weblogic.war
Buildfile: build.xml

init:

clean:
Deleting directory C:\kb\ATLASS~1.6\tmp\build
Deleting directory C:\kb\ATLASS~1.6\dist-generic
Deleting directory C:\kb\ATLASS~1.6\dist-tomcat
Deleting directory C:\kb\ATLASS~1.6\tmp

compile:
Created dir: C:\kb\ATLASS~1.6\tmp\build\war
Created dir: C:\kb\ATLASS~1.6\dist-generic
Created dir: C:\kb\ATLASS~1.6\dist-tomcat
Copying 3771 files to C:\kb\ATLASS~1.6\tmp\build\war
Copied 2 empty directories to C:\kb\ATLASS~1.6\tmp\build\war
Copying 1 file to C:\kb\ATLASS~1.6\tmp\build\war

check.weblogic.present:

weblogic.precompile:
Precompiling JSPs (use -Dskip.precompile=true to skip)...
java.io.IOException: CreateProcess: C:\j2sdk1.4.2_02\jre\bin\java.exe -classpath C:\kb\server\lib\weblogic.jar weblogic.jspc -d tmp/build/
weblogic/WEB-INF/classes -k -g -webapp tmp/build/war C \kb\ATLASS~1.6\tmp\build\war\500page.jsp;C \kb\ATLASS~1.6\tmp\build\war\bugzillasea
rch.jsp;C \kb\ATLASS~1.6\tmp\build\war\debug\jsdebug.jsp;C \kb\ATLASS~1.6\tmp\build\war\debug\properties.jsp;C \kb\ATLASS~1.6\tmp\build\wa
r\decorators\admin.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\frontpage.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\insecure.jsp;C \k
b\ATLASS~1.6\tmp\build\war\decorators\main.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\navigator.jsp;C \kb\ATLASS~1.6\tmp\build\war\deco
rators\notitle.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\panels\adminpanel.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\panels\bulkpa
nel.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\panels\invalid_portletpanel.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\panels\jirafor
m.jsp;C \kb\ATLASS~1.6\tmp\build\war\decorators\panels\jirapanel.jsp;C \kb\ATLA?

weblogic.war:

BUILD FAILED
file:C:/kb/ATLASS~1.6/build.xml:174: C:\kb\ATLASS~1.6\tmp\build\weblogic not found.

Total time: 52 seconds

Temporary workaround is to create the directory weblogic (while the script is running) within the folder:

<JIRA_DIR>/tmp/build

after the script has created the build dir.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Scott Farquhar [Atlassian] added a comment - 09/Oct/06 09:24 AM
Possible relation between JRA-10053 and JRA-5405

=Neal Applebaum added a comment - 08/Nov/06 06:58 AM
Just de-lurking to say that I run "build war" and use a generic version war file which I eventually use on Weblogic.

water added a comment - 01/Mar/07 07:23 AM
I have solve the problem,see http://jira.atlassian.com/browse/JRA-12296.

Eddie Kua [Atlassian] added a comment - 12/Dec/07 04:47 AM
Thanks Water,

Sorry for the late response. I managed to reproduce the same problem in latest version of JIRA v3.12. In order to build successful, we need to add the following line into build.xml file:

....
<target name="weblogic.precompile" depends="compile, check.weblogic.present" unless="skip.precompile">
<mkdir dir="${build.weblogic}"/>
<path id="jsps.path">
....

Cheers,
Eddie