user2134322
user2134322

Reputation: 45

Sonar Implementation error through ant

I have the following code from my ant file

<property name="sonar.jdbc.url" value="jdbc:mysql://sonar.ip.tdk.dk/sonar?useUnicode=true&characterEncoding=utf8"/> 

An error is coming The reference to entity &characterEncoding&quot; must end with the ';' delimiter.

Can anyone help with this

Upvotes: 0

Views: 39

Answers (1)

Mithfindel
Mithfindel

Reputation: 4708

You have to escape the & in the JDBC URL as &amp;. Failing to do so results in an invalid build.xml.

Upvotes: 1

Related Questions