开发者

ant builds running through maven issue

So I'm building a project with maven, and in this maven pom we have a reference to an ant build script. The maven pom triggers this ant build to build a project (an install of alfresco with mysql database and tomcat server packed up with it).

The issue seems to be when you try to set up a database for alfresco to use through the ant build. This is the part of the ant build.

<target name="createDatabase">

    <exec spawn="false" executable="${mysql.home}/bin/mysql" failonerror="true">
        <arg value="-u" />
        <arg value="root" />
      开发者_如何学Python  <arg value="-e" />
        <arg value="source ${alfresco.home}\mysql\db_setup.sql" />
    </exec>

</target>

I'm getting 'unknown command '\U' sent back to me as an error on this. Of course you can install the DB manually but I want it as part of this ant script. SOmeone I work with runs this successfully on XP, but I'm getting that error on win7. Any ideas?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜