Permalink
Browse files

change project structure

  • Loading branch information...
WebEnd committed Jan 9, 2014
1 parent bbbe873 commit 5479696a2dc39a9268a9e8778029d32cf5dd221e
Showing 4,298 changed files with 200,027 additions and 5,889 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -1,11 +1,22 @@
-ProfileProject/
-.metadata/
-ProfileProject/
-*/_dist/*
-*/bin/*
-*_TRY.jrxml
-*.jasper
-*.log*
-*EIconfig.xml*
-*credentials.properties*
-*.ser
+# Eclipse
+.classpath
+.project
+.settings/
+
+# Intellij
+.idea/
+*.iml
+*.iws
+
+# Mac
+.DS_Store
+
+# Maven
+target/
+target-ide/
+test/
+
+#project specific
+logs/
+*.log
+sessions/
View
@@ -1,6 +0,0 @@
-jWic
-====
-
-jWic is a java-based development framework for developing dynamic web applications with the convenience and familiarity of 'rich client' style programming.
-
-The project is currently undergoing a massive refactoring. We plan to have a first stable version by mid May'13 (v5.1)
File renamed without changes.
@@ -0,0 +1,89 @@
+<?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/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>de.xwic</groupId>
+ <artifactId>jwic</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <name>jWic::Compatibility</name>
+
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-compatibility</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-core</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-controls</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>jfree</groupId>
+ <artifactId>jfreechart</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.poi</groupId>
+ <artifactId>poi</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-core</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- Common Public License 1.0 -->
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+</project>
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2005-2006 jWic group (http://www.jwic.de)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * de.jwic.controls.DateInputBoxControlTest
+ * Created on 11.09.2005
+ * $Id: DateInputBoxControlTest.java,v 1.1 2006/09/15 08:38:46 lordsam Exp $
+ */
+package de.jwic.controls;
+
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
+
+import de.jwic.base.Control;
+import de.jwic.base.IControlContainer;
+import de.jwic.test.ControlTestCase;
+
+/**
+ * @author Florian Lippisch
+ */
+public class DateInputBoxControlTest extends ControlTestCase {
+
+ private DateInputBoxControl dinp = null;
+
+ /* (non-Javadoc)
+ * @see de.jwic.test.ControlTestCase#createControl(de.jwic.base.IControlContainer)
+ */
+ public Control createControl(IControlContainer container) {
+ dinp = new DateInputBoxControl(container);
+ return dinp;
+ }
+
+ /**
+ * Test method for {@link de.jwic.controls.DateInputBoxControl#getDate()}.
+ */
+ public void testGetDate() {
+
+ Calendar cal = Calendar.getInstance();
+ cal.set(Calendar.YEAR, 2006);
+ cal.set(Calendar.MONTH, Calendar.JUNE);
+ cal.set(Calendar.DAY_OF_MONTH, 16);
+
+ Date date = cal.getTime();
+ dinp.setDate(date);
+
+ Date returnDate = dinp.getDate();
+ assertNotNull(returnDate);
+
+ cal.setTime(returnDate);
+ assertEquals(2006, cal.get(Calendar.YEAR));
+ assertEquals(Calendar.JUNE, cal.get(Calendar.MONTH));
+ assertEquals(16, cal.get(Calendar.DAY_OF_MONTH));
+
+ }
+
+ /**
+ * Test method for {@link de.jwic.controls.DateInputBoxControl#isValid()}.
+ */
+ public void testIsValid() {
+
+ // use german locale for test
+ sc.setLocale(Locale.GERMAN);
+
+ dinp.setText("");
+ assertTrue(dinp.isValid());
+ assertNull(dinp.getDate());
+
+ dinp.setText("bla");
+ assertFalse(dinp.isValid());
+ assertNull(dinp.getDate());
+
+ dinp.setText("16.06.2006");
+ //assertFalse(dinp.isValid());
+ //assertNull(dinp.getDate());
+
+ }
+
+}
View
@@ -0,0 +1,73 @@
+<?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/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>de.xwic</groupId>
+ <artifactId>jwic</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <name>jWic::Controls</name>
+
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-controls</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-core</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>de.xwic.jwic</groupId>
+ <artifactId>jwic-core</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- Common Public License 1.0 -->
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+</project>
Oops, something went wrong.

0 comments on commit 5479696

Please sign in to comment.