disable or enable constraints in oracle schema

I found this very helpful procedure http://www.orafaq.com/node/2024. But it does not work when copy-pased. Here you can download the compile-ready for Oracle 10g version of this procedure. disable_constraints.sql

Posted by wojtek Fri, 12 Mar 2010 19:31:00 GMT


surefire maven memory problems

Problem:

[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: C:\...\target\surefire-reports
Error occurred during initialization of VM
Could not create the Java virtual machine.
Could not reserve enough space for object heap

Solution:
Edit your pom.xml and add configuration option for surefire forkMode none:

  <build>
    <plugins>
    (...)
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
        <forkMode>none</forkMode>
      </configuration>
    </plugin>
    (...)

Posted by wojtek Tue, 09 Mar 2010 16:27:00 GMT


maven antrun problem

Problem:
Using Maven 2.0.10 I got:

[INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the

 plugin 'org.apache.maven.plugins:maven-antrun-plugin'

Component descriptor cannot be found in the component repository: org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.


Solution:
Using Maven 2.2.1 helped (this bug is fixed in 2.1.0+).

Posted by wojtek Sun, 07 Mar 2010 12:02:00 GMT


Older posts: 1 2 3 ... 24