[Arakhnę-Dev] [54] [maven-release-plugin] copy for tag afc-1.1 |
[ Thread Index |
Date Index
| More arakhne.org/dev Archives
]
Revision: 54
Author: galland
Date: 2009-04-16 22:45:32 +0200 (Thu, 16 Apr 2009)
Log Message:
-----------
[maven-release-plugin] copy for tag afc-1.1
Added Paths:
-----------
tags/afc-1.1/
tags/afc-1.1/arakhneLogger/pom.xml
tags/afc-1.1/arakhneRefs/pom.xml
tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java
tags/afc-1.1/arakhneVmutils/java/pom.xml
tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml
tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml
tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml
tags/afc-1.1/arakhneVmutils/native/pom.xml
tags/afc-1.1/arakhneVmutils/pom.xml
tags/afc-1.1/pom.xml
Removed Paths:
-------------
tags/afc-1.1/arakhneLogger/pom.xml
tags/afc-1.1/arakhneRefs/pom.xml
tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java
tags/afc-1.1/arakhneVmutils/java/pom.xml
tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml
tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml
tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml
tags/afc-1.1/arakhneVmutils/native/pom.xml
tags/afc-1.1/arakhneVmutils/pom.xml
tags/afc-1.1/pom.xml
Copied: tags/afc-1.1 (from rev 40, trunk)
Deleted: tags/afc-1.1/arakhneLogger/pom.xml
===================================================================
--- trunk/arakhneLogger/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneLogger/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.arakhne.afc</groupId>
- <artifactId>arakhneLogger</artifactId>
- <packaging>jar</packaging>
- <version>${version_arakhnelogger}</version>
- <name>${pom.artifactId}</name>
- <url>http://www.arakhne.org/arakhneLogger/</url>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <scm>
- <url>http://www.arakhne.org/websvn.php?project=afc&subproject=arakhneLogger</url>
- </scm>
-
-</project>
Copied: tags/afc-1.1/arakhneLogger/pom.xml (from rev 53, trunk/arakhneLogger/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneLogger/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneLogger/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>afc</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>arakhneLogger</artifactId>
+ <packaging>jar</packaging>
+ <version>1.1</version>
+ <name>${pom.artifactId}</name>
+ <url>http://www.arakhne.org/arakhneLogger/</url>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+</project>
Deleted: tags/afc-1.1/arakhneRefs/pom.xml
===================================================================
--- trunk/arakhneRefs/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneRefs/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.arakhne.afc</groupId>
- <artifactId>arakhneRefs</artifactId>
- <packaging>jar</packaging>
- <version>${version_arakhnerefs}</version>
- <name>${pom.artifactId}</name>
- <url>http://www.arakhne.org/arakhneRefs/</url>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <scm>
- <url>http://www.arakhne.org/websvn.php?project=afc&subproject=arakhneRefs</url>
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
Copied: tags/afc-1.1/arakhneRefs/pom.xml (from rev 53, trunk/arakhneRefs/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneRefs/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneRefs/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>afc</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>arakhneRefs</artifactId>
+ <packaging>jar</packaging>
+ <version>5.1</version>
+ <name>${pom.artifactId}</name>
+ <url>http://www.arakhne.org/arakhneRefs/</url>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
Deleted: tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java
===================================================================
--- trunk/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,357 +0,0 @@
-package org.arakhne.util.ref;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Random;
-import java.util.Map.Entry;
-
-import org.arakhne.junit.AbstractTestCase;
-
-public class WeakValueMapTest extends AbstractTestCase {
-
- private static final int REFERENCE_SIZE = 0;
-
- private final HashMap<String,String> reference = new HashMap<String,String>();
-
- private static void collect() {
- System.gc();System.gc();System.gc();
- }
-
- private void spawnReference() {
- this.reference.clear();
- Random rnd = new Random();
- int count = rnd.nextInt(REFERENCE_SIZE+1)+5;
- String str;
- for(int i=0; i<count; i++) {
- str = randomString(10);
- this.reference.put(
- Integer.toString(i)+str,
- str);
- }
- str = null;
- }
-
- private String getReferenceObject(int index) {
- Object[] tab = this.reference.keySet().toArray();
- return (String)tab[index];
- }
-
- private Map<String,String> removeElementsFromReference() {
- HashMap<String,String> removed = new HashMap<String,String>();
- Random rnd = new Random();
- int index;
- int count = rnd.nextInt(this.reference.size()/4)+1;
- String key, value;
- for(int i=0; i<count; i++) {
- index = rnd.nextInt(this.reference.size());
- key = getReferenceObject(index);
- value = this.reference.remove(key);
- removed.put(key,value);
- }
- key = null;
- value = null;
- return removed;
- }
-
- @Override
- public void setUp() {
- spawnReference();
- }
-
- @Override
- public void tearDown() {
- this.reference.clear();
- }
-
- public void testEntryIterator() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
-
- // Test the content
- {
- assertDeepSimilars(this.reference, test);
- Entry<String,String> e;
- Iterator<Entry<String,String>> iter = test.entrySet().iterator();
- while (iter.hasNext()) {
- e = iter.next();
- assertTrue(this.reference.containsKey(e.getKey()));
- assertEquals(this.reference.get(e.getKey()),this.reference.get(e.getKey()));
- }
- }
-
- // Remove elements
- Map<String,String> baseElements = new HashMap<String,String>(this.reference);
- removeElementsFromReference();
-
- // Collects the objects
- collect();
-
- // Test the content
- {
- assertNotDeepSimilars(this.reference, test);
- Entry<String,String> e;
- Iterator<Entry<String,String>> iter = test.entrySet().iterator();
- while (iter.hasNext()) {
- e = iter.next();
- assertTrue(baseElements.containsKey(e.getKey()));
- assertEquals(baseElements.get(e.getKey()),baseElements.get(e.getKey()));
- }
- }
-
- // Clear the list of removed elements, which will cause collecting
- baseElements.clear();
- baseElements = null;
-
- // Collects the objects
- collect();
-
- // Test the content
- {
- assertDeepSimilars(this.reference, test);
- Entry<String,String> e;
- Iterator<Entry<String,String>> iter = test.entrySet().iterator();
- while (iter.hasNext()) {
- e = iter.next();
- assertTrue(this.reference.containsKey(e.getKey()));
- assertEquals(this.reference.get(e.getKey()),this.reference.get(e.getKey()));
- }
- }
- }
-
- public void testWeakValueMapMap() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
- assertDeepSimilars(this.reference, test);
- }
-
- public void testSize() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>();
- assertEquals(0, test.size());
-
- test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
- assertEquals(this.reference.size(), test.size());
-
- removeElementsFromReference();
-
- collect();
-
- assertEquals(this.reference.size(), test.size());
- }
-
- public void testIsEmpty() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>();
- assertTrue(test.isEmpty());
-
- test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
- assertFalse(test.isEmpty());
-
- removeElementsFromReference();
-
- collect();
-
- assertFalse(test.isEmpty());
-
- this.reference.clear();
-
- collect();
-
- assertTrue(test.isEmpty());
- }
-
- public void testContainsKey() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
- assertDeepSimilars(this.reference, test);
-
- // Test the content
- {
- String elt;
- Iterator<String> iter = this.reference.keySet().iterator();
- while (iter.hasNext()) {
- elt = iter.next();
- assertTrue(test.containsKey(elt));
- }
- elt = null;
- }
- assertDeepSimilars(this.reference, test);
-
- Map<String,String> removedElements = removeElementsFromReference();
- int originalSize = removedElements.size() + this.reference.size();
-
- // Collects the objects
- collect();
-
- // Test the content
- assertEquals(originalSize, test.size());
- assertNotDeepSimilars(this.reference, test);
-
- // Clear the list of removed elements, which will cause collecting
- removedElements.clear();
- removedElements = null;
-
- // Collects the objects
- collect();
-
- // Test the content
- assertEquals(this.reference.size(), test.size());
- assertDeepSimilars(this.reference, test);
- for(String elt : this.reference.keySet()) {
- assertTrue(test.containsKey(elt));
- }
- }
-
- public void testContainsValue() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
- assertDeepSimilars(this.reference, test);
-
- // Test the content
- {
- String elt;
- Iterator<String> iter = this.reference.values().iterator();
- while (iter.hasNext()) {
- elt = iter.next();
- assertTrue(test.containsValue(elt));
- }
- elt = null;
- }
- assertDeepSimilars(this.reference, test);
-
- Map<String,String> removedElements = removeElementsFromReference();
- int originalSize = removedElements.size() + this.reference.size();
-
- // Collects the objects
- collect();
-
- // Test the content
- assertEquals(originalSize, test.size());
- assertNotDeepSimilars(this.reference, test);
-
- // Clear the list of removed elements, which will cause collecting
- removedElements.clear();
- removedElements = null;
-
- // Collects the objects
- collect();
-
- // Test the content
- assertEquals(this.reference.size(), test.size());
- assertDeepSimilars(this.reference, test);
- for(String elt : this.reference.values()) {
- assertTrue(test.containsValue(elt));
- }
- }
-
- public void testKeyIterator() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
-
- // Test the content
- {
- assertDeepSimilars(this.reference, test);
- String k;
- Iterator<String> iter = test.keySet().iterator();
- while (iter.hasNext()) {
- k = iter.next();
- assertTrue(this.reference.containsKey(k));
- }
- }
-
- // Remove elements
- Map<String,String> baseElements = new HashMap<String,String>(this.reference);
- removeElementsFromReference();
-
- // Collects the objects
- collect();
-
- // Test the content
- {
- assertNotDeepSimilars(this.reference, test);
- String k;
- Iterator<String> iter = test.keySet().iterator();
- while (iter.hasNext()) {
- k = iter.next();
- assertTrue(baseElements.containsKey(k));
- }
- }
-
- // Clear the list of removed elements, which will cause collecting
- baseElements.clear();
- baseElements = null;
-
- // Collects the objects
- collect();
-
- // Test the content
- {
- assertDeepSimilars(this.reference, test);
- String k;
- Iterator<String> iter = test.keySet().iterator();
- while (iter.hasNext()) {
- k = iter.next();
- assertTrue(this.reference.containsKey(k));
- }
- }
- }
-
- public void testValueIterator() {
- WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
- test.setDeeplyExpurge(true);
-
- // Test the content
- {
- assertDeepSimilars(this.reference, test);
- String v;
- Iterator<String> iter = test.values().iterator();
- while (iter.hasNext()) {
- v = iter.next();
- assertTrue(this.reference.containsValue(v));
- }
- v = null;
- iter = null;
- }
-
- // Remove elements
- Map<String,String> baseElements = new HashMap<String,String>(this.reference);
- removeElementsFromReference();
-
- // Collects the objects
- collect();
-
- // Test the content
- {
- assertNotDeepSimilars(this.reference, test);
- String v;
- Iterator<String> iter = test.values().iterator();
- while (iter.hasNext()) {
- v = iter.next();
- assertTrue(baseElements.containsValue(v));
- }
- v = null;
- iter = null;
- }
-
- // Clear the list of removed elements, which will cause collecting
- baseElements.clear();
- baseElements = null;
-
- // Collects the objects
- collect();
-
- // Test the content
- {
- assertDeepSimilars(this.reference, test);
- String v;
- Iterator<String> iter = test.values().iterator();
- while (iter.hasNext()) {
- v = iter.next();
- assertTrue(this.reference.containsValue(v));
- }
- v = null;
- iter = null;
- }
- }
-
-}
Copied: tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java (from rev 46, trunk/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java)
===================================================================
--- tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java (rev 0)
+++ tags/afc-1.1/arakhneRefs/src/test/java/org/arakhne/util/ref/WeakValueMapTest.java 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,360 @@
+package org.arakhne.util.ref;
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Random;
+import java.util.Map.Entry;
+
+import org.arakhne.junit.AbstractTestCase;
+
+public class WeakValueMapTest extends AbstractTestCase {
+
+ private static final int REFERENCE_SIZE = 0;
+
+ private final HashMap<String,String> reference = new HashMap<String,String>();
+
+ private static void collect() {
+ System.gc();System.gc();System.gc();
+ }
+
+ private void spawnReference() {
+ this.reference.clear();
+ Random rnd = new Random();
+ int count = rnd.nextInt(REFERENCE_SIZE+1)+5;
+ String str;
+ for(int i=0; i<count; i++) {
+ str = randomString(10);
+ this.reference.put(
+ Integer.toString(i)+str,
+ str);
+ }
+ str = null;
+ }
+
+ private String getReferenceObject(int index) {
+ Object[] tab = this.reference.keySet().toArray();
+ return (String)tab[index];
+ }
+
+ private Map<String,String> removeElementsFromReference() {
+ HashMap<String,String> removed = new HashMap<String,String>();
+ Random rnd = new Random();
+ int index;
+ int count = rnd.nextInt(this.reference.size()/4)+1;
+ String key, value;
+ for(int i=0; i<count; i++) {
+ index = rnd.nextInt(this.reference.size());
+ key = getReferenceObject(index);
+ value = this.reference.remove(key);
+ removed.put(key,value);
+ }
+ key = null;
+ value = null;
+ return removed;
+ }
+
+ @Override
+ public void setUp() {
+ spawnReference();
+ }
+
+ @Override
+ public void tearDown() {
+ this.reference.clear();
+ }
+
+ public void testEntryIterator() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+
+ // Test the content
+ {
+ assertDeepSimilars(this.reference, test);
+ Entry<String,String> e;
+ Iterator<Entry<String,String>> iter = test.entrySet().iterator();
+ while (iter.hasNext()) {
+ e = iter.next();
+ assertTrue(this.reference.containsKey(e.getKey()));
+ assertEquals(this.reference.get(e.getKey()),this.reference.get(e.getKey()));
+ }
+ }
+
+ {
+ // Remove elements
+ Map<String,String> baseElements = new HashMap<String,String>(this.reference);
+ removeElementsFromReference();
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ {
+ assertNotDeepSimilars(this.reference, test);
+ Entry<String,String> e;
+ Iterator<Entry<String,String>> iter = test.entrySet().iterator();
+ while (iter.hasNext()) {
+ e = iter.next();
+ assertTrue(baseElements.containsKey(e.getKey()));
+ assertEquals(baseElements.get(e.getKey()),baseElements.get(e.getKey()));
+ }
+ }
+
+ // Clear the list of removed elements, which will cause collecting
+ baseElements.clear();
+ baseElements = null;
+
+ // Collects the objects
+ collect();
+ collect();
+ }
+
+ // Test the content
+ /*{
+ assertDeepSimilars(this.reference, test);
+ Entry<String,String> e;
+ Iterator<Entry<String,String>> iter = test.entrySet().iterator();
+ while (iter.hasNext()) {
+ e = iter.next();
+ assertTrue(this.reference.containsKey(e.getKey()));
+ assertEquals(this.reference.get(e.getKey()),this.reference.get(e.getKey()));
+ }
+ }*/
+ }
+
+ public void testWeakValueMapMap() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
+ assertDeepSimilars(this.reference, test);
+ }
+
+ public void testSize() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>();
+ assertEquals(0, test.size());
+
+ test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+ assertEquals(this.reference.size(), test.size());
+
+ removeElementsFromReference();
+
+ collect();
+
+ assertEquals(this.reference.size(), test.size());
+ }
+
+ public void testIsEmpty() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>();
+ assertTrue(test.isEmpty());
+
+ test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+ assertFalse(test.isEmpty());
+
+ removeElementsFromReference();
+
+ collect();
+
+ assertFalse(test.isEmpty());
+
+ this.reference.clear();
+
+ collect();
+
+ assertTrue(test.isEmpty());
+ }
+
+ public void testContainsKey() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+ assertDeepSimilars(this.reference, test);
+
+ // Test the content
+ {
+ String elt;
+ Iterator<String> iter = this.reference.keySet().iterator();
+ while (iter.hasNext()) {
+ elt = iter.next();
+ assertTrue(test.containsKey(elt));
+ }
+ elt = null;
+ }
+ assertDeepSimilars(this.reference, test);
+
+ Map<String,String> removedElements = removeElementsFromReference();
+ int originalSize = removedElements.size() + this.reference.size();
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ assertEquals(originalSize, test.size());
+ assertNotDeepSimilars(this.reference, test);
+
+ // Clear the list of removed elements, which will cause collecting
+ removedElements.clear();
+ removedElements = null;
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ assertEquals(this.reference.size(), test.size());
+ assertDeepSimilars(this.reference, test);
+ for(String elt : this.reference.keySet()) {
+ assertTrue(test.containsKey(elt));
+ }
+ }
+
+ public void testContainsValue() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+ assertDeepSimilars(this.reference, test);
+
+ // Test the content
+ {
+ String elt;
+ Iterator<String> iter = this.reference.values().iterator();
+ while (iter.hasNext()) {
+ elt = iter.next();
+ assertTrue(test.containsValue(elt));
+ }
+ elt = null;
+ }
+ assertDeepSimilars(this.reference, test);
+
+ Map<String,String> removedElements = removeElementsFromReference();
+ int originalSize = removedElements.size() + this.reference.size();
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ assertEquals(originalSize, test.size());
+ assertNotDeepSimilars(this.reference, test);
+
+ // Clear the list of removed elements, which will cause collecting
+ removedElements.clear();
+ removedElements = null;
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ assertEquals(this.reference.size(), test.size());
+ assertDeepSimilars(this.reference, test);
+ for(String elt : this.reference.values()) {
+ assertTrue(test.containsValue(elt));
+ }
+ }
+
+ public void testKeyIterator() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+
+ // Test the content
+ {
+ assertDeepSimilars(this.reference, test);
+ String k;
+ Iterator<String> iter = test.keySet().iterator();
+ while (iter.hasNext()) {
+ k = iter.next();
+ assertTrue(this.reference.containsKey(k));
+ }
+ }
+
+ // Remove elements
+ Map<String,String> baseElements = new HashMap<String,String>(this.reference);
+ removeElementsFromReference();
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ {
+ assertNotDeepSimilars(this.reference, test);
+ String k;
+ Iterator<String> iter = test.keySet().iterator();
+ while (iter.hasNext()) {
+ k = iter.next();
+ assertTrue(baseElements.containsKey(k));
+ }
+ }
+
+ // Clear the list of removed elements, which will cause collecting
+ baseElements.clear();
+ baseElements = null;
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ {
+ assertDeepSimilars(this.reference, test);
+ String k;
+ Iterator<String> iter = test.keySet().iterator();
+ while (iter.hasNext()) {
+ k = iter.next();
+ assertTrue(this.reference.containsKey(k));
+ }
+ }
+ }
+
+ public void testValueIterator() {
+ WeakValueMap<String,String> test = new WeakValueMap<String,String>(this.reference);
+ test.setDeeplyExpurge(true);
+
+ // Test the content
+ {
+ assertDeepSimilars(this.reference, test);
+ String v;
+ Iterator<String> iter = test.values().iterator();
+ while (iter.hasNext()) {
+ v = iter.next();
+ assertTrue(this.reference.containsValue(v));
+ }
+ v = null;
+ iter = null;
+ }
+
+ // Remove elements
+ Map<String,String> baseElements = new HashMap<String,String>(this.reference);
+ removeElementsFromReference();
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ {
+ assertNotDeepSimilars(this.reference, test);
+ String v;
+ Iterator<String> iter = test.values().iterator();
+ while (iter.hasNext()) {
+ v = iter.next();
+ assertTrue(baseElements.containsValue(v));
+ }
+ v = null;
+ iter = null;
+ }
+
+ // Clear the list of removed elements, which will cause collecting
+ baseElements.clear();
+ baseElements = null;
+
+ // Collects the objects
+ collect();
+
+ // Test the content
+ {
+ assertDeepSimilars(this.reference, test);
+ String v;
+ Iterator<String> iter = test.values().iterator();
+ while (iter.hasNext()) {
+ v = iter.next();
+ assertTrue(this.reference.containsValue(v));
+ }
+ v = null;
+ iter = null;
+ }
+ }
+
+}
Deleted: tags/afc-1.1/arakhneVmutils/java/pom.xml
===================================================================
--- trunk/arakhneVmutils/java/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneVmutils/java/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>arakhneVmutils-java</artifactId>
- <packaging>jar</packaging>
- <groupId>org.arakhne.afc</groupId>
- <version>${version_arakhnevmutils}</version>
- <name>${pom.artifactId}</name>
-
-</project>
Copied: tags/afc-1.1/arakhneVmutils/java/pom.xml (from rev 53, trunk/arakhneVmutils/java/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneVmutils/java/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneVmutils/java/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>afc</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>1.0</version>
+ </parent>
+
+ <artifactId>arakhneVmutils-java</artifactId>
+ <packaging>jar</packaging>
+ <groupId>org.arakhne.afc</groupId>
+ <version>4.1</version>
+ <name>${pom.artifactId}</name>
+
+</project>
Deleted: tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/linux/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.arakhne.afc</groupId>
- <artifactId>josuuid-linux</artifactId>
- <packaging>so</packaging>
- <version>${version_arakhnevmutils}</version>
- <name>${pom.artifactId}</name>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <dependencies>
- <dependency>
- <groupId>org.arakhne.afc</groupId>
- <artifactId>arakhneVmutils-java</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
-
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>native-maven-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <compilerProvider>generic</compilerProvider>
- <compilerStartOptions>
- <compilerStartOption>-O3 -Wall -Werror -fmessage-length=0</compilerStartOption>
- </compilerStartOptions>
-
- <javahOS>linux</javahOS>
-
- <sources>
- <source>
- <directory>../src/main/native</directory>
- <fileNames>
- <fileName>josuuid.cpp</fileName>
- <fileName>winos.cpp</fileName>
- <fileName>OperatingSystemJNI.cpp</fileName>
- </fileNames>
- </source>
-
- </sources>
-
- <linkerStartOptions>
- <linkerStartOption>-shared -lstdc++</linkerStartOption>
- </linkerStartOptions>
-
- </configuration>
-
- <executions>
- <execution>
- <id>javah</id>
- <phase>generate-sources</phase>
- <configuration>
- <classNames>
- <className>org.arakhne.vmutil.OperatingSystem</className>
- </classNames>
- </configuration>
- <goals>
- <goal>javah</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkMode>once</forkMode>
- <environmentVariables>
- <LD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
- </environmentVariables>
- </configuration>
- </plugin>
-
- </plugins>
-
- </build>
-
-
-</project>
Copied: tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml (from rev 53, trunk/arakhneVmutils/native/josuuid/linux/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneVmutils/native/josuuid/linux/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>josuuid</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>4.1</version>
+ </parent>
+
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>josuuid-linux</artifactId>
+ <packaging>so</packaging>
+ <version>4.1</version>
+ <name>${pom.artifactId}</name>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <dependencies>
+ <dependency>
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>arakhneVmutils-java</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>native-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <compilerProvider>generic</compilerProvider>
+ <compilerStartOptions>
+ <compilerStartOption>-O3 -Wall -Werror -fmessage-length=0</compilerStartOption>
+ </compilerStartOptions>
+
+ <javahOS>linux</javahOS>
+
+ <sources>
+ <source>
+ <directory>../src/main/native</directory>
+ <fileNames>
+ <fileName>josuuid.cpp</fileName>
+ <fileName>winos.cpp</fileName>
+ <fileName>OperatingSystemJNI.cpp</fileName>
+ </fileNames>
+ </source>
+
+ </sources>
+
+ <linkerStartOptions>
+ <linkerStartOption>-shared -lstdc++</linkerStartOption>
+ </linkerStartOptions>
+
+ </configuration>
+
+ <executions>
+ <execution>
+ <id>javah</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <classNames>
+ <className>org.arakhne.vmutil.OperatingSystem</className>
+ </classNames>
+ </configuration>
+ <goals>
+ <goal>javah</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <environmentVariables>
+ <LD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+
+
+</project>
Deleted: tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/mingw/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,129 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.arakhne.afc</groupId>
- <artifactId>josuuid-mingw</artifactId>
- <packaging>dll</packaging>
- <version>${version_arakhnevmutils}</version>
- <name>${pom.artifactId}</name>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <dependencies>
- <dependency>
- <groupId>org.arakhne.afc</groupId>
- <artifactId>arakhneVmutils-java</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
-
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-beanshell</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <evaluateBeanshell>
- <condition>
- String path = System.getenv("PATH");
- String[] parts = path.split(File.pathSeparator);
- boolean ok = false;
- for(int i=0; !ok && i<parts.length; i++) {
- ok = new File(parts[i],"i586-mingw32msvc-g++").canExecute();
- }
- ok
- </condition>
- </evaluateBeanshell>
- <requireOS>
- <name>linux</name>
- <family>unix</family>
- </requireOS>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>native-maven-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <compilerProvider>generic</compilerProvider>
- <compilerExecutable>i586-mingw32msvc-g++</compilerExecutable>
- <compilerStartOptions>
- <compilerStartOption>-O0 -Wall -Werror -fmessage-length=0</compilerStartOption>
- </compilerStartOptions>
-
- <javahOS>linux</javahOS> <!-- not 'windows' to retreive the jni_md.h file -->
-
- <sources>
- <source>
- <directory>../src/main/native</directory>
- <fileNames>
- <fileName>josuuid.cpp</fileName>
- <fileName>winos.cpp</fileName>
- <fileName>OperatingSystemJNI.cpp</fileName>
- </fileNames>
- </source>
- </sources>
-
- <linkerExecutable>i586-mingw32msvc-g++</linkerExecutable>
- <linkerStartOptions>
- <linkerStartOption>-shared</linkerStartOption>
- </linkerStartOptions>
-
- </configuration>
-
- <executions>
- <execution>
- <id>javah</id>
- <phase>generate-sources</phase>
- <configuration>
- <classNames>
- <className>org.arakhne.vmutil.OperatingSystem</className>
- </classNames>
- </configuration>
- <goals>
- <goal>javah</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkMode>once</forkMode>
- <environmentVariables>
- <LD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
- </environmentVariables>
- </configuration>
- </plugin>
-
- </plugins>
-
- </build>
-
-
-</project>
Copied: tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml (from rev 53, trunk/arakhneVmutils/native/josuuid/mingw/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneVmutils/native/josuuid/mingw/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>josuuid</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>4.1</version>
+ </parent>
+
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>josuuid-mingw</artifactId>
+ <packaging>dll</packaging>
+ <version>4.1</version>
+ <name>${pom.artifactId}</name>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <dependencies>
+ <dependency>
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>arakhneVmutils-java</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-beanshell</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <evaluateBeanshell>
+ <condition>
+ String path = System.getenv("PATH");
+ String[] parts = path.split(File.pathSeparator);
+ boolean ok = false;
+ for(int i=0; !ok && i<parts.length; i++) {
+ ok = new File(parts[i],"i586-mingw32msvc-g++").canExecute();
+ }
+ ok
+ </condition>
+ </evaluateBeanshell>
+ <requireOS>
+ <name>linux</name>
+ <family>unix</family>
+ </requireOS>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>native-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <compilerProvider>generic</compilerProvider>
+ <compilerExecutable>i586-mingw32msvc-g++</compilerExecutable>
+ <compilerStartOptions>
+ <compilerStartOption>-O0 -Wall -Werror -fmessage-length=0</compilerStartOption>
+ </compilerStartOptions>
+
+ <javahOS>linux</javahOS> <!-- not 'windows' to retreive the jni_md.h file -->
+
+ <sources>
+ <source>
+ <directory>../src/main/native</directory>
+ <fileNames>
+ <fileName>josuuid.cpp</fileName>
+ <fileName>winos.cpp</fileName>
+ <fileName>OperatingSystemJNI.cpp</fileName>
+ </fileNames>
+ </source>
+ </sources>
+
+ <linkerExecutable>i586-mingw32msvc-g++</linkerExecutable>
+ <linkerStartOptions>
+ <linkerStartOption>-shared</linkerStartOption>
+ </linkerStartOptions>
+
+ </configuration>
+
+ <executions>
+ <execution>
+ <id>javah</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <classNames>
+ <className>org.arakhne.vmutil.OperatingSystem</className>
+ </classNames>
+ </configuration>
+ <goals>
+ <goal>javah</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <environmentVariables>
+ <LD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+
+
+</project>
Deleted: tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.arakhne.afc</groupId>
- <artifactId>josuuid</artifactId>
- <packaging>pom</packaging>
- <version>${version_arakhnevmutils}</version>
- <name>${pom.artifactId}</name>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- </dependency>
- </dependencies>
-
- <profiles>
-
- <profile>
- <id>linux-hosted</id>
- <activation>
- <os>
- <name>linux</name>
- <family>unix</family>
- </os>
- </activation>
- <modules>
- <module>linux</module>
- <module>mingw</module>
- </modules>
- </profile>
-
- <!--profile>
- <id>win32</id>
- <activation>
- <os>
- <name>Windows®</name>
- <family>Windows</family>
- <arch>x86</arch>
- <version>5.1.2600</version>
- </os>
- </activation>
- <modules>
- <module>win32</module>
- </modules>
- </profile>
-
- <profile>
- <id>macosx</id>
- <activation>
- <property>
- <name>platform</name>
- <value>macosx</value>
- </property>
- </activation>
- <modules>
- <module>macosx</module>
- </modules>
- </profile>
-
- <profile>
- <id>aix</id>
- <activation>
- <property>
- <name>platform</name>
- <value>aix</value>
- </property>
- </activation>
- <modules>
- <module>aix</module>
- </modules>
- </profile>
-
- <profile>
- <id>solaris</id>
- <activation>
- <property>
- <name>platform</name>
- <value>solaris</value>
- </property>
- </activation>
- <modules>
- <module>solaris</module>
- </modules>
- </profile-->
-
- </profiles>
-
-</project>
Copied: tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml (from rev 53, trunk/arakhneVmutils/native/josuuid/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneVmutils/native/josuuid/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>arakhneVmutils-native</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>4.1</version>
+ </parent>
+
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>josuuid</artifactId>
+ <packaging>pom</packaging>
+ <version>4.1</version>
+ <name>${pom.artifactId}</name>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+
+ <profile>
+ <id>linux-hosted</id>
+ <activation>
+ <os>
+ <name>linux</name>
+ <family>unix</family>
+ </os>
+ </activation>
+ <modules>
+ <module>linux</module>
+ <module>mingw</module>
+ </modules>
+ </profile>
+
+ <!--profile>
+ <id>win32</id>
+ <activation>
+ <os>
+ <name>Windows®</name>
+ <family>Windows</family>
+ <arch>x86</arch>
+ <version>5.1.2600</version>
+ </os>
+ </activation>
+ <modules>
+ <module>win32</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>macosx</id>
+ <activation>
+ <property>
+ <name>platform</name>
+ <value>macosx</value>
+ </property>
+ </activation>
+ <modules>
+ <module>macosx</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>aix</id>
+ <activation>
+ <property>
+ <name>platform</name>
+ <value>aix</value>
+ </property>
+ </activation>
+ <modules>
+ <module>aix</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>solaris</id>
+ <activation>
+ <property>
+ <name>platform</name>
+ <value>solaris</value>
+ </property>
+ </activation>
+ <modules>
+ <module>solaris</module>
+ </modules>
+ </profile-->
+
+ </profiles>
+
+</project>
Deleted: tags/afc-1.1/arakhneVmutils/native/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneVmutils/native/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>arakhneVmutils-native</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <packaging>pom</packaging>
- <version>${version_arakhnevmutils}</version>
- <name>${pom.artifactId}</name>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <modules>
- <module>josuuid</module>
- </modules>
-
-</project>
Copied: tags/afc-1.1/arakhneVmutils/native/pom.xml (from rev 53, trunk/arakhneVmutils/native/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneVmutils/native/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneVmutils/native/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <version>4.1</version>
+
+ <parent>
+ <artifactId>afc</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>1.0</version>
+ </parent>
+
+ <artifactId>arakhneVmutils-native</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <packaging>pom</packaging>
+ <name>${pom.artifactId}</name>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <modules>
+ <module>josuuid</module>
+ </modules>
+
+</project>
Deleted: tags/afc-1.1/arakhneVmutils/pom.xml
===================================================================
--- trunk/arakhneVmutils/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/arakhneVmutils/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>afc</artifactId>
- <groupId>org.arakhne.afc</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.arakhne.afc</groupId>
- <artifactId>arakhneVmutils</artifactId>
- <packaging>pom</packaging>
- <version>${version_arakhnevmutils}</version>
- <name>${pom.artifactId}</name>
- <url>http://www.arakhne.org/arakhneVmutils/</url>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <scm>
- <url>http://www.arakhne.org/websvn.php?project=afc&subproject=arakhneVmutils</url>
- </scm>
-
- <modules>
- <module>java</module>
- <module>native</module>
- </modules>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>bin.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
Copied: tags/afc-1.1/arakhneVmutils/pom.xml (from rev 53, trunk/arakhneVmutils/pom.xml)
===================================================================
--- tags/afc-1.1/arakhneVmutils/pom.xml (rev 0)
+++ tags/afc-1.1/arakhneVmutils/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>afc</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>1.0</version>
+ </parent>
+
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>arakhneVmutils</artifactId>
+ <packaging>pom</packaging>
+ <version>4.1</version>
+ <name>${pom.artifactId}</name>
+ <url>http://www.arakhne.org/arakhneVmutils/</url>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <modules>
+ <module>java</module>
+ <module>native</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>bin.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Deleted: tags/afc-1.1/pom.xml
===================================================================
--- trunk/pom.xml 2009-04-16 16:12:43 UTC (rev 40)
+++ tags/afc-1.1/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -1,255 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.arakhne.afc</groupId>
- <artifactId>afc</artifactId>
- <packaging>pom</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>Arakhnê Foundation Classes</name>
- <inceptionYear>2007</inceptionYear>
- <url>http://www.arakhne.org/</url>
- <description>Java library that provides additional tools.</description>
-
-
- <!-- ======================================= -->
- <!-- ==== Dependencies === -->
- <!-- ======================================= -->
-
- <properties>
- <version_myjdk>1.6</version_myjdk>
- <version_arakhnelogger>1.1-SNAPSHOT</version_arakhnelogger>
- <version_arakhnerefs>5.1-SNAPSHOT</version_arakhnerefs>
- <version_arakhnevmutils>4.1-SNAPSHOT</version_arakhnevmutils>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.arakhne.afc</groupId>
- <artifactId>arakhneVmutils-java</artifactId>
- <version>${version_arakhnevmutils}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-4</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>[3.8,4.0)</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <!-- ======================================= -->
- <!-- ==== Project Information === -->
- <!-- ======================================= -->
-
- <modules>
- <module>arakhneLogger</module>
- <module>arakhneRefs</module>
- <module>arakhneVmutils</module>
- </modules>
-
- <licenses>
- <license>
- <name>GNU Lesser General Public License v2.0</name>
- <url>http://www.gnu.org/licenses/lgpl.html</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <mailingLists>
- <mailingList>
- <name>dev@xxxxxxxxxxx</name>
- <subscribe>mailto:dev-request@xxxxxxxxxxx</subscribe>
- <unsubscribe>mailto:dev-request@xxxxxxxxxxx</unsubscribe>
- <post>mailto:dev@xxxxxxxxxxx</post>
- </mailingList>
- </mailingLists>
-
- <!-- ======================================= -->
- <!-- ==== Organization Information === -->
- <!-- ======================================= -->
-
- <organization>
- <name>Arakhnê.org Project</name>
- <url>http://www.arakhne.org</url>
- </organization>
-
- <developers>
- <developer>
- <id>galland</id>
- <name>Stephane Galland</name>
- <email>galland@xxxxxxxxxxx</email>
- <url>http://www.arakhne.org/homes/galland.html</url>
- <organization />
- <organizationUrl />
- <roles>
- <role>Founder</role>
- <role>Architect</role>
- <role>Developer</role>
- </roles>
- <timezone />
- <properties />
- </developer>
- <developer>
- <id>gaud</id>
- <name>Nicolas Gaud</name>
- <email>gaud@xxxxxxxxxxx</email>
- <url>http://www.arakhne.org/homes/gaud.html</url>
- <organization />
- <organizationUrl />
- <roles>
- <role>Developer</role>
- </roles>
- <timezone />
- <properties />
- </developer>
- </developers>
-
- <!-- ======================================= -->
- <!-- ==== Devel Configuration === -->
- <!-- ======================================= -->
-
- <distributionManagement>
- <repository>
- <id>repository.arakhne.org</id>
- <name>Arakhn&ecirc; Snapshots Repository</name>
- <url>file:///srv/arakhne.org/repository/maven/</url>
- </repository>
- <site>
- <id>afc.site.arakhne.org</id>
- <name>AFC Project Websites Repository</name>
- <url>ftp://ftp.tuxfamily.org/arakhne/arakhne-web/htdocs/maven/afc/</url>
- </site>
- </distributionManagement>
-
- <scm>
- <connection>scm:svn:svn://svn.tuxfamily.org/svnroot/arakhne/afc/trunk</connection>
- <!-- connection>scm:svn:http://svn.tuxfamily.org/arakhne/afc/trunk?view=co</connection -->
- <developerConnection>scm:svn:svn+ssh://svn.tuxfamily.org/svnroot/arakhne/afc/trunk</developerConnection>
- <url>http://www.arakhne.org/websvn.php?project=afc</url>
- </scm>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${version_myjdk}</source>
- <target>${version_myjdk}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- <configuration>
- <goals>install</goals>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-java</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>${version_myjdk}</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <!-- ======================================= -->
- <!-- ==== Repositories === -->
- <!-- ======================================= -->
-
- <repositories>
- <repository>
- <id>Codehaus Snapshots</id>
- <url>http://snapshots.repository.codehaus.org/</url>
- </repository>
- <repository>
- <id>Arakhn&ecirc; Maven Repository</id>
- <url>http://download.tuxfamily.org/arakhne/maven/</url>
- </repository>
- </repositories>
-
- <!-- ======================================= -->
- <!-- ==== Reports === -->
- <!-- ======================================= -->
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>dashboard-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jxr-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>1.1.1</version>
- <configuration>
- <threshold>Normal</threshold>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <configuration>
- <targetjdk>${version_myjdk}</targetjdk>
- <rulesets>
- <ruleset>/rulesets/basic.xml</ruleset>
- <ruleset>/rulesets/controversial.xml</ruleset>
- </rulesets>
- <format>xml</format>
- <linkXref>true</linkXref>
- <sourceEncoding>utf-8</sourceEncoding>
- <minimumTokens>100</minimumTokens>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
-</project>
Copied: tags/afc-1.1/pom.xml (from rev 53, trunk/pom.xml)
===================================================================
--- tags/afc-1.1/pom.xml (rev 0)
+++ tags/afc-1.1/pom.xml 2009-04-16 20:45:32 UTC (rev 54)
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.arakhne.afc</groupId>
+ <artifactId>afc</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0</version>
+ <name>Arakhnê Foundation Classes</name>
+ <inceptionYear>2007</inceptionYear>
+ <url>http://www.arakhne.org/</url>
+ <description>Java library that provides additional tools.</description>
+
+
+ <!-- ======================================= -->
+ <!-- ==== Dependencies === -->
+ <!-- ======================================= -->
+
+ <properties>
+ <version_myjdk>1.6</version_myjdk>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>[3.8,4.0)</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <modules>
+ <module>arakhneLogger</module>
+ <module>arakhneRefs</module>
+ <module>arakhneVmutils</module>
+ </modules>
+
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License v2.0</name>
+ <url>http://www.gnu.org/licenses/lgpl.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <mailingLists>
+ <mailingList>
+ <name>dev@xxxxxxxxxxx</name>
+ <subscribe>mailto:dev-request@xxxxxxxxxxx</subscribe>
+ <unsubscribe>mailto:dev-request@xxxxxxxxxxx</unsubscribe>
+ <post>mailto:dev@xxxxxxxxxxx</post>
+ </mailingList>
+ </mailingLists>
+
+ <!-- ======================================= -->
+ <!-- ==== Organization Information === -->
+ <!-- ======================================= -->
+
+ <organization>
+ <name>Arakhnê.org Project</name>
+ <url>http://www.arakhne.org</url>
+ </organization>
+
+ <developers>
+ <developer>
+ <id>galland</id>
+ <name>Stephane Galland</name>
+ <email>galland@xxxxxxxxxxx</email>
+ <url>http://www.arakhne.org/homes/galland.html</url>
+ <organization />
+ <organizationUrl />
+ <roles>
+ <role>Founder</role>
+ <role>Architect</role>
+ <role>Developer</role>
+ </roles>
+ <timezone />
+ <properties />
+ </developer>
+ <developer>
+ <id>gaud</id>
+ <name>Nicolas Gaud</name>
+ <email>gaud@xxxxxxxxxxx</email>
+ <url>http://www.arakhne.org/homes/gaud.html</url>
+ <organization />
+ <organizationUrl />
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone />
+ <properties />
+ </developer>
+ </developers>
+
+ <!-- ======================================= -->
+ <!-- ==== Devel Configuration === -->
+ <!-- ======================================= -->
+
+ <distributionManagement>
+ <repository>
+ <id>repository.arakhne.org</id>
+ <name>Arakhn&ecirc; Snapshots Repository</name>
+ <url>file:///srv/arakhne.org/repository/maven/</url>
+ </repository>
+ <site>
+ <id>afc.site.arakhne.org</id>
+ <name>AFC Project Websites Repository</name>
+ <url>file:///srv/arakhne.org/web/maven-sites/</url>
+ </site>
+ </distributionManagement>
+
+ <scm>
+ <connection>scm:svn:svn://svn.tuxfamily.org/svnroot/arakhne/afc/tags/afc-1.1</connection>
+ <developerConnection>scm:svn:svn+ssh://svn.tuxfamily.org/svnroot/arakhne/afc/tags/afc-1.1</developerConnection>
+ </scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${version_myjdk}</source>
+ <target>${version_myjdk}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <configuration>
+ <goals>install</goals>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-java</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>${version_myjdk}</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- ======================================= -->
+ <!-- ==== Repositories === -->
+ <!-- ======================================= -->
+
+ <repositories>
+ <repository>
+ <id>Codehaus Snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ </repository>
+ <repository>
+ <id>Arakhn&ecirc; Maven Repository</id>
+ <url>http://download.tuxfamily.org/arakhne/maven/</url>
+ </repository>
+ </repositories>
+
+ <!-- ======================================= -->
+ <!-- ==== Reports === -->
+ <!-- ======================================= -->
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>