Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017080
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-05-09 22:422011-08-12 12:10
ReportergbisheimerView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchFixed in SCM revision48422fb8bbf4
ProjectionnoneETAnoneTarget Version3.0MP2
OSWindowsDatabaseAnyJava versionjdk 6u25 x54
OS Version6.1.7600Database versionAnt version1.8.2
Product Version3.0RC6.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017080: Tomcat fails excecuting ANT tasks during diagnostic build

Descriptionwhen building OB using command:
ant diagnostic

I obtain the error:
BUILD FAILED
D:\Openbravo Dev\OpenbravoERP-3.0RC6.1\build.xml:939: The following error occurred while executing this line:
D:\Openbravo Dev\OpenbravoERP-3.0RC6.1\src-util\diagnostic\build.xml:58: The following error occurred while executing this line:
D:\Openbravo Dev\OpenbravoERP-3.0RC6.1\src-util\diagnostic\build.xml:118: The following error occurred while executing this line:
D:\Openbravo Dev\OpenbravoERP-3.0RC6.1\src-util\diagnostic\build.xml:178: Tomcat cannot execute simple ant tasks:

After looking at the exception data I found this:

Server returned HTTP response code: 505 for URL: http://localhost:8080/OpenbravoDiagnostics/Check.html?Command=ant&file=D:/Openbravo [^] Dev/OpenbravoERP-3.0RC6.1/src-util/diagnostic/build.xml&task=test1
Steps To Reproduceexcecute: "ant diagnostics" using a repository that contains blanks somewhere in the path.
Proposed SolutionModify file /src-util/diagnostics/src/org/openbravo/task/CheckTomcatAntExcecution.java line 35 from:

final String fileName = f.getAbsolutePath().replace("\\", "/");

to

final String fileName = f.getAbsolutePath().replace("\\", "/").replace(" ", "%20");
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00170753.0MP2 closedalostale Install from sources fails when using Tomcat 7 onwards 
related to defect 00179273.0MP3 closedalostale ant diagnostic task doew not work 

-  Notes
(0039356)
hgbot (developer)
2011-07-26 12:05

Repository: erp/devel/pi
Changeset: 48422fb8bbf4d08ab6f1fa32e9a0f4e4bb7e60a9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 26 12:05:33 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/48422fb8bbf4d08ab6f1fa32e9a0f4e4bb7e60a9 [^]

fixed bug 17080: ant diagnostic fails when source path contains blanks

---
M src-util/diagnostic/src/org/openbravo/task/CheckTomcatAntExecution.java
---
(0039676)
hudsonbot (developer)
2011-08-01 14:21

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0040146)
jecharri (developer)
2011-08-12 11:08

tested
(0040151)
jecharri (developer)
2011-08-12 12:10

tested

- Issue History
Date Modified Username Field Change
2011-05-09 22:42 gbisheimer New Issue
2011-05-09 22:42 gbisheimer Assigned To => alostale
2011-05-09 22:42 gbisheimer Modules => Core
2011-05-16 10:03 alostale Relationship added has duplicate 0017075
2011-05-16 10:03 alostale Status new => scheduled
2011-05-16 10:03 alostale fix_in_branch => pi
2011-05-16 10:04 alostale Target Version => 3.0MP0
2011-05-16 10:04 alostale fix_in_branch pi =>
2011-06-02 10:53 dmitry_mezentsev Target Version 3.0MP0 => 3.0MP1
2011-06-22 19:57 dmitry_mezentsev Target Version 3.0MP1 => 3.0MP2
2011-07-12 14:30 alostale Relationship replaced related to 0017075
2011-07-12 14:30 alostale Relationship added related to 0017927
2011-07-26 12:05 hgbot Checkin
2011-07-26 12:05 hgbot Note Added: 0039356
2011-07-26 12:05 hgbot Status scheduled => resolved
2011-07-26 12:05 hgbot Resolution open => fixed
2011-07-26 12:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/48422fb8bbf4d08ab6f1fa32e9a0f4e4bb7e60a9 [^]
2011-08-01 14:21 hudsonbot Checkin
2011-08-01 14:21 hudsonbot Note Added: 0039676
2011-08-12 11:08 jecharri Note Added: 0040146
2011-08-12 11:08 jecharri Status resolved => closed
2011-08-12 11:08 jecharri Fixed in Version => 3.0MP2
2011-08-12 12:10 jecharri Note Added: 0040151


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker