PostgreSQL Error: column am.amcanorder doesn’t exist

Player87 is right, it works just by replacing the newer version 9.6* with 9.5.* of the PostgresSQL server. But, there is another solution. For a Java project, I have also tried leaving PostgresSQL server on 9.6.* and updated the PostgresSQL driver, from version 9.4-1203 to the newest one 9.4-1211. In a maven pom.xml file: <postgresql.version>9.4.1211</postgresql.version> … Read more

How to pull out a substring in Ant

I use scriptdef to create a javascript tag to substring, for exemple: <project> <scriptdef name=”substring” language=”javascript”> <attribute name=”text” /> <attribute name=”start” /> <attribute name=”end” /> <attribute name=”property” /> <![CDATA[ var text = attributes.get(“text”); var start = attributes.get(“start”); var end = attributes.get(“end”) || text.length(); project.setProperty(attributes.get(“property”), text.substring(start, end)); ]]> </scriptdef> …….. <target …> <substring text=”asdfasdfasdf” start=”2″ end=”10″ … Read more