Bug #142

lsc::generator task fail if no sql-map-config.xml present

Added by Frederic Soulier 9 months ago. Updated 6 months ago.

Status:Rejected Start:09/11/2009
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Sample
Target version:1.1.x branch
Problem in version:

Description

Using db2ldap mode of lsc.
For the first launch of lsc::generator task we encountered the following error if the sql-map-config.xml file is not present in the src/impl/java/orglsc/persistence/xml directory.

[java] Exception in thread "main" java.lang.RuntimeException: lsc-test-1.1.1/src/impl/java/org/lsc/persistence/xml/sql-map-config.xml missing ! Please copy the default file structure before launching generation.
[java] at org.lsc.persistence.SqlMapXmlFileGenerator.generateContent(SqlMapXmlFileGenerator.java:171)
[java] at org.lsc.persistence.SqlMapXmlFileGenerator.generate(SqlMapXmlFileGenerator.java:147)
[java] at org.lsc.persistence.SqlMapXmlFileGenerator.run(SqlMapXmlFileGenerator.java:280)
[java] at org.lsc.Generator.launch(Generator.java:138)
[java] at org.lsc.Generator.main(Generator.java:171)

History

Updated by Jonathan Clarke 6 months ago

  • Category set to Sample
  • Status changed from New to Feedback
  • Target version set to 1.1.x branch

This file should be copied automatically when running the generator via ant.

Frédéric, do you still encounter a problem with this? If not, I will close this request.

Updated by Frederic Soulier 6 months ago

all seems to be ok.

Updated by Jonathan Clarke 6 months ago

  • Status changed from Feedback to Rejected

Thanks Frederic. Closing this issue.

Also available in: Atom PDF