Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
I'll take a look at this.

Original comment by [email protected] on 19 Feb 2013 at 6:52

  • Changed state: Accepted

from appengine-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
[deleted comment]

from appengine-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
Use maven-antrun-plugin like this will do the necessary job to solve this issue 
:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-antrun-plugin</artifactId>
  <version>1.7</version>
  <executions>
    <execution>
      <!-- Use 'package' instead of 'install' if you want the Driver to be available for 'integration-test' -->
      <phase>package</phase>
      <configuration>
        <target>
          <!-- delete existing mysql jar from appengine sdk lib/impl -->
          <delete>
            <fileset 
              dir="${settings.localRepository}/com/google/appengine/appengine-java-sdk/${appengine.target.version}/appengine-java-sdk/appengine-java-sdk-${appengine.target.version}/lib/impl" 
              includes="**/mysql-connector-java*" />
          </delete>
          <!-- copy mysql jar into appengine sdk lib/impl -->
          <copy 
            file="${settings.localRepository}/mysql/mysql-connector-java/${mysql.version}/mysql-connector-java-${mysql.version}.jar" 
            todir="${settings.localRepository}/com/google/appengine/appengine-java-sdk/${appengine.target.version}/appengine-java-sdk/appengine-java-sdk-${appengine.target.version}/lib/impl"/>
        </target>
      </configuration>
      <goals>
        <goal>run</goal>
      </goals>
    </execution>
  </executions>
</plugin> 

Original comment by [email protected] on 11 Mar 2013 at 2:46

from appengine-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
Antoine's suggestion modifies your m2 repository, which can cause other issues. 
 If you follow it, and you encounter other issues, please first remove the 
appengine artifacts from your local maven repository before filing a bug.

Original comment by [email protected] on 19 Mar 2013 at 8:50

from appengine-maven-plugin.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
wow this is an old bug;

http://stackoverflow.com/questions/8952696/java-google-app-engine-and-google-clo
ud-sql-running-on-local-dev-server

Any news from Google on this?

Original comment by [email protected] on 26 Mar 2013 at 11:26

from appengine-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.