Dan,
I believe the base path is set in the profile in the DataCustodian pom file. You want to create a new profile for LondonHydro. Here is before and after:
Before:
<profile>
<id>devmysql</id>
<properties>
<datacustodian.base.url>http://localhost:8080/DataCustodian</datacustodian.base.url>
<profile>devmysql</profile>
<database>mysql</database>
<hbm2ddl_auto>none</hbm2ddl_auto>
</properties>
</profile>
After:
<profile>
<id>devmysql</id>
<properties>
<datacustodian.base.url>http://localhost:8080/DataCustodian</datacustodian.base.url>
<profile>devmysql</profile>
<database>mysql</database>
<hbm2ddl_auto>none</hbm2ddl_auto>
</properties>
</profile>
<profile>
<id>devLH</id>
<properties>
<datacustodian.base.url>https://apps.londonhydro.com/gbdev/DataCustodian</datacustodian.base.url>
<profile>devLH</profile>
<database>mysql</database>
<hbm2ddl_auto>none</hbm2ddl_auto>
</properties>
</profile>
Then when you build you have to set the profile to devLH. You have to do this for all three projects, I believe. Try that and see if it works for you.
Cheers,
Marty
--
--
You received this message because you are subscribed to the "energyos_espi" group.
To post to this group, send email to energy...@googlegroups.com
To unsubscribe from this group, send email to: energyos_esp...@googlegroups.com
http://www.energyos.org/espi/
---
You received this message because you are subscribed to the Google Groups "energyos_espi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to energyos_esp...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I tried adding that to the pom file and I made it the default activated profile, but it fails when I try to build the project. It gives a BindException because the address is already in use, which I don't understand.