Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0016684 | Openbravo ERP | A. Platform | public | 2011-04-07 12:46 | 2011-05-31 11:51 | |||||||
| Reporter | HexDump | |||||||||||
| Assigned To | jpabloae | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 20 | OS Version | Community Appliance | ||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | 3.0RC7 | ||||||||||
| 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 | 0016684: Test for JAVA_HOME should be placed after root test is done in build.xml | |||||||||||
| Description | <target name="init" depends="code.rev"> <fail if="no.java.home" message="The environment variable JAVA_HOME is not $ <fail if="root.user" message="Don't run ant tasks with the root user" /> </target> This should be set as: <target name="init" depends="code.rev"> <fail if="root.user" message="Don't run ant tasks with the root user" /> <fail if="no.java.home" message="The environment variable JAVA_HOME is not $ </target> The problem here are environment vars. On ubuntu I had my java_home, etc... in /etc/environment. This seems not to be exported when going super user, so, I was getting an error saying that JAVA_HOME was not set, but it would have been much more better to flag that root account should not be used. | |||||||||||
| Steps To Reproduce | ||||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2011-04-07 12:46 | HexDump | New Issue | ||||||||||
| 2011-04-07 12:46 | HexDump | Assigned To | => adrianromero | |||||||||
| 2011-04-07 12:46 | HexDump | Modules | => Core | |||||||||
| 2011-04-07 12:48 | iperdomo | OBNetwork customer | => No | |||||||||
| 2011-04-07 12:48 | iperdomo | Assigned To | adrianromero => iperdomo | |||||||||
| 2011-04-07 12:48 | iperdomo | Category | 08. Project and service management => A. Platform | |||||||||
| 2011-04-07 12:49 | iperdomo | Status | new => scheduled | |||||||||
| 2011-04-07 12:49 | iperdomo | fix_in_branch | => pi | |||||||||
| 2011-04-07 12:51 | iperdomo | Assigned To | iperdomo => jpabloae | |||||||||
| 2011-04-07 12:56 | hgbot | Checkin | ||||||||||
| 2011-04-07 12:56 | hgbot | Note Added: 0035729 | ||||||||||
| 2011-04-07 12:56 | hgbot | Status | scheduled => resolved | |||||||||
| 2011-04-07 12:56 | hgbot | Resolution | open => fixed | |||||||||
| 2011-04-07 12:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e2556cfac1b64d6b0d2195932e815d817e498dab [^] | |||||||||
| 2011-04-07 12:57 | jpabloae | Note Added: 0035730 | ||||||||||
| 2011-05-31 11:51 | gorka_gil | Note Added: 0037819 | ||||||||||
| 2011-05-31 11:51 | gorka_gil | Status | resolved => closed | |||||||||
| 2011-05-31 11:51 | gorka_gil | Fixed in Version | => 3.0RC7 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||