Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014755 | Openbravo ERP | A. Platform | public | 2010-10-04 12:03 | 2011-10-07 13:06 |
|
Reporter | jpabloae | |
Assigned To | gorka_gil | |
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 2.6.34 |
Product Version | pi | |
Target Version | 2.50MP23 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0014755: Warnings with ant tasks in Ant 1.8 |
Description | If you run Openbravo ERP Ant tasks using using Ant version 1.8.x then it shows warning every time a javac task is run, such as this one:
[javac] /opt/OpenbravoERP-2.50/openbravo-erp/src-core/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds |
Steps To Reproduce | |
Proposed Solution | Starting from Ant 1.8.0 includeantruntime has been set to "true" by default and it shows a warning if it's not explicitly set. Setting it to false means it doesn't include the ant runtime libs when running javac, so it's more consistent accross systems. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | ant18.patch (16,810) 2010-10-04 12:07 https://issues.openbravo.com/file_download.php?file_id=3154&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2010-10-04 12:03 | jpabloae | New Issue | |
2010-10-04 12:03 | jpabloae | Assigned To | => jpabloae |
2010-10-04 12:03 | jpabloae | OBNetwork customer | => No |
2010-10-04 12:03 | jpabloae | Status | new => scheduled |
2010-10-04 12:03 | jpabloae | fix_in_branch | => pi |
2010-10-04 12:03 | jpabloae | Issue Monitored: shuehner | |
2010-10-04 12:07 | jpabloae | Note Added: 0031567 | |
2010-10-04 12:07 | jpabloae | File Added: ant18.patch | |
2010-10-04 12:08 | jpabloae | Note Added: 0031568 | |
2011-06-27 17:07 | shuehner | Note Added: 0038542 | |
2011-06-27 17:07 | shuehner | Status | scheduled => feedback |
2011-08-24 12:57 | jpabloae | Assigned To | jpabloae => gorka_gil |
2011-10-07 11:05 | dmitry_mezentsev | Note Added: 0041544 | |
2011-10-07 11:46 | shuehner | Note Added: 0041550 | |
2011-10-07 13:06 | dmitry_mezentsev | Note Added: 0041556 | |
2011-10-07 13:06 | dmitry_mezentsev | Status | feedback => closed |
2011-10-07 13:06 | dmitry_mezentsev | Resolution | open => fixed |
2011-10-07 13:06 | dmitry_mezentsev | Fixed in Version | => pi |
Notes |
|
|
I've tested this with both the old behavior (includeantruntime="true") and the recommended one (includeantruntime="false") and they work well. Using 1.7.1 and 1.8.0 in both cases.
My take here is to set it to "false", so that we have a more consistent behavior. I don't see risks here, given that it just applies to the "javac" tasks. I attach a patch that handles these warnings.
Stefan: could you please review it and state your opinion on this matter? |
|
|
|
Additional information: this is relevant because these warnings are shown if you use Ant 1.8.0, and this is the version shipped in the Ubuntu Maverick 10.10 distribution. |
|
|
|
Hi,
this should be solved for pi already. Question is if something similar should be backported for 2.50 also or not? |
|
|
|
Hello All,
This issue is in a feedback status for quite a while.
At the same time based on the feedback from Stefan it is fixed.
Could you please verify?
And answering Stefan´s question - we don´t want to backport it. |
|
|
|
Hi dmitry,
the issue is solved in pi. If we don't want to backport it we should just reject/close this issue here (as it's only about 2.50).
Note:
- nothing broken if not fixed
- but some warnings shown always on compile with newer ant version which is confusing/annoying to people |
|
|
|
|