You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(17) |
Jul
(13) |
Aug
(17) |
Sep
(25) |
Oct
(19) |
Nov
|
Dec
|
---|
From: <jg...@us...> - 2006-06-27 12:32:08
|
Revision: 16 Author: jgongo Date: 2006-06-27 05:31:11 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=16&view=rev Log Message: ----------- Fix minor issues in web site: 1. Added link to sourceforge.net. This has been done with a custom maven site skin. 2. Changed some texts. 3. Splitted description of classification and core API. Issue: 1506506 Modified Paths: -------------- trunk/src/site/apt/index.apt trunk/src/site/site.xml Added Paths: ----------- trunk/surveyforge-style/ trunk/surveyforge-style/pom.xml trunk/surveyforge-style/src/ trunk/surveyforge-style/src/main/ trunk/surveyforge-style/src/main/resources/ trunk/surveyforge-style/src/main/resources/META-INF/ trunk/surveyforge-style/src/main/resources/META-INF/maven/ trunk/surveyforge-style/src/main/resources/META-INF/maven/site.vm trunk/surveyforge-style/src/main/resources/css/ trunk/surveyforge-style/src/main/resources/css/maven-base.css trunk/surveyforge-style/src/main/resources/css/maven-theme.css trunk/surveyforge-style/src/main/resources/css/print.css trunk/surveyforge-style/src/main/resources/images/ trunk/surveyforge-style/src/main/resources/images/Thumbs.db trunk/surveyforge-style/src/main/resources/images/collapsed.gif trunk/surveyforge-style/src/main/resources/images/expanded.gif trunk/surveyforge-style/src/main/resources/images/external.png trunk/surveyforge-style/src/main/resources/images/icon_error_sml.gif trunk/surveyforge-style/src/main/resources/images/icon_info_sml.gif trunk/surveyforge-style/src/main/resources/images/icon_success_sml.gif trunk/surveyforge-style/src/main/resources/images/icon_warning_sml.gif trunk/surveyforge-style/src/main/resources/images/logos/ trunk/surveyforge-style/src/main/resources/images/logos/Thumbs.db trunk/surveyforge-style/src/main/resources/images/logos/maven-feather.png trunk/surveyforge-style/src/main/resources/images/newwindow.png Modified: trunk/src/site/apt/index.apt =================================================================== --- trunk/src/site/apt/index.apt 2006-06-27 10:05:29 UTC (rev 15) +++ trunk/src/site/apt/index.apt 2006-06-27 12:31:11 UTC (rev 16) @@ -9,30 +9,31 @@ SurveyForge is a survey definition and execution tool providing the following: - [[1]] <<surveyforge core>> - A set of core classes that may be used programatically - to be embedded in any application, letting you to work with classifications, define - surveys using metadata and working with survey data. + [[1]] <<surveyforge classification>> - A set of classes providing support for classifications. - [[2]] <<surveyforge designer>> - A GUI application that will let you define surveys. + [[2]] <<surveyforge core>> - A set of core classes that may be used programatically + to be embedded in any application, letting you define surveys using metadata and working with survey data. - [[3]] <<surveyforge runner>> - A tool to run surveys. + [[3]] <<surveyforge designer>> - A GUI application that will let you define surveys. + [[4]] <<surveyforge runner>> - A tool to run surveys. + Why another survey tool? SurveyForge tries to provide some features that we found lacking at some of the most popular survey tools: [[1]] The intended audience of <<SurveyForge>> will be statisticians wanting to run a survey and possibly - performing themselves the data entry process. Most of the tools currently available are oriented to running + performing themselves the data entry process. Most of the currently available tools are oriented to running a survey on the web with respondents directly filling in the questionnaire - [[2]] <<SurveyForge>> will make special emphasis on data entry. Most (all?) of the tools available just show + [[2]] <<SurveyForge>> will make special emphasis on data entry. Most (all?) of the available tools just show a standard HTML interface. This may be suitable for a single respondent filling in a single questionnaire, but unsuitable for massive data entry. - [[3]] <<SurveyForge>> will make use of existing standards. Very few (none?) of the tools available make use + [[3]] <<SurveyForge>> will make use of existing standards. Very few (none?) of the available tools make use of standards for survey interchange ({{{http://www.triple-s.org/}Triple-S}}, {{{http://www.icpsr.umich.edu/DDI/}DDI}}) [[4]] <<SurveyForge>> will provide tools for reuse of standard (or not) classifications. Very few (none?) of - the tools available provide functionality for loading and reusing standard classifications used in statistics + the available tools provide functionality for loading and reusing standard classifications used in statistics (for example, {{{http://www.who.int/classifications/icd/}International Disease Classification (IDC)}} for medical surveys), or even for defining classifications to be reused across surveys in a organization \ No newline at end of file Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2006-06-27 10:05:29 UTC (rev 15) +++ trunk/src/site/site.xml 2006-06-27 12:31:11 UTC (rev 16) @@ -1,5 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="SurveyForge"> + <skin> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge-style</artifactId> + <version>0.1-SNAPSHOT</version> + </skin> <bannerLeft> <name>SurveyForge</name> <src>images/surveyforge-logo.png</src> Added: trunk/surveyforge-style/pom.xml =================================================================== --- trunk/surveyforge-style/pom.xml (rev 0) +++ trunk/surveyforge-style/pom.xml 2006-06-27 12:31:11 UTC (rev 16) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <parent> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge</artifactId> + <version>0.1-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>surveyforge-style</artifactId> + <packaging>maven-plugin</packaging> + <name>SurveyForge Web Style</name> +</project> Property changes on: trunk/surveyforge-style/pom.xml ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-style/src/main/resources/META-INF/maven/site.vm =================================================================== --- trunk/surveyforge-style/src/main/resources/META-INF/maven/site.vm (rev 0) +++ trunk/surveyforge-style/src/main/resources/META-INF/maven/site.vm 2006-06-27 12:31:11 UTC (rev 16) @@ -0,0 +1,335 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +#macro ( banner $banner $id ) + #if ( $banner ) + #if( $banner.href ) + <a href="$banner.href" id="$id"> + #else + <span id="$id"> + #end + + #if( $banner.src ) + #set ( $src = $banner.src ) + #if ( ! ( $src.toLowerCase().startsWith("http") || $src.toLowerCase().startsWith("https") ) ) + #set ( $src = $PathTool.calculateLink( $src, $relativePath ) ) + #set ( $src = $src.replaceAll( "\\", "/" ) ) + #end + #if ( $banner.alt ) + #set ( $alt = $banner.alt ) + #else + #set ( $alt = "" ) + #end + <img src="$src" alt="$alt" /> + #else + $banner.name + #end + + #if( $banner.href ) + </a> + #else + </span> + #end + #end +#end + +#macro ( links $links ) + #set ( $counter = 0 ) + #foreach( $item in $links ) + #set ( $counter = $counter + 1 ) + #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) ) + #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) ) + <a href="$currentItemHref">$item.name</a> + #if ( $links.size() > $counter ) + | + #end + #end +#end + +#macro ( breadcrumbs $breadcrumbs ) + #set ( $counter = 0 ) + #foreach( $item in $breadcrumbs ) + #set ( $counter = $counter + 1 ) + #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) ) + #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) ) + + #if ( $currentItemHref == $alignedFileName || $currentItemHref == "" ) + $item.name + #else + <a href="$currentItemHref">$item.name</a> + #end + #if ( $breadcrumbs.size() > $counter ) + > + #end + #end +#end + +#macro ( displayTree $display $item ) + #if ( $item && $item.items && $item.items.size() > 0 ) + #foreach( $subitem in $item.items ) + #set ( $subitemHref = $PathTool.calculateLink( $subitem.href, $relativePath ) ) + #set ( $subitemHref = $subitemHref.replaceAll( "\\", "/" ) ) + + #if ( $alignedFileName == $subitemHref ) + #set ( $display = true ) + #end + + #displayTree( $display $subitem ) + #end + #end +#end + +#macro ( menuItem $item ) + #set ( $collapse = "none" ) + #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) ) + #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) ) + + #if ( $item && $item.items && $item.items.size() > 0 ) + #if ( $item.collapse == false ) + #set ( $collapse = "expanded" ) + #else + ## By default collapsed + #set ( $collapse = "collapsed" ) + #end + + #set ( $display = false ) + #displayTree( $display $item ) + + #if ( $alignedFileName == $currentItemHref || $display ) + #set ( $collapse = "expanded" ) + #end + #end + <li class="$collapse"> + #if ( $item.img ) + #if ( ! ( $item.img.toLowerCase().startsWith("http") || $item.img.toLowerCase().startsWith("https") ) ) + #set ( $src = $PathTool.calculateLink( $item.img, $relativePath ) ) + #set ( $src = $item.img.replaceAll( "\\", "/" ) ) + <img src="$src"/> + #else + <img src="$item.img" align="absbottom" style="border-width: 0"/> + #end + #end + #if ( $alignedFileName == $currentItemHref ) + <strong>$item.name</strong> + #else + <a href="$currentItemHref">$item.name</a> + #end + #if ( $item && $item.items && $item.items.size() > 0 ) + #if ( $collapse == "expanded" ) + <ul> + #foreach( $subitem in $item.items ) + #menuItem( $subitem ) + #end + </ul> + #end + #end + </li> +#end + +#macro ( mainMenu $menus ) + #foreach( $menu in $menus ) + #if ( $menu.name ) + <h5>$menu.name</h5> + #end + <ul> + #foreach( $item in $menu.items ) + #menuItem( $item ) + #end + </ul> + #end +#end + +#macro ( copyright ) + #if ( $project ) + #set ( $currentYear = ${currentDate.year} + 1900 ) + + #if ( ${project.inceptionYear} && ( ${project.inceptionYear} != ${currentYear.toString()} ) ) + ${project.inceptionYear}-${currentYear} + #else + ${currentYear} + #end + + #if ( ${project.organization} && ${project.organization.name} ) + ${project.organization.name} + #end + #end +#end + +#macro ( publishDate $position $publishDate $version ) + #if ( $publishDate && $publishDate.format ) + #set ( $format = $publishDate.format ) + #else + #set ( $format = "MM/dd/yyyy" ) + #end + + $dateFormat.applyPattern( $format ) + + #set ( $dateToday = $dateFormat.format( $currentDate ) ) + + #if ( $publishDate && $publishDate.position ) + #set ( $datePosition = $publishDate.position ) + #else + #set ( $datePosition = "left" ) + #end + + #if ( $version ) + #if ( $version.position ) + #set ( $versionPosition = $version.position ) + #else + #set ( $versionPosition = "left" ) + #end + #end + + #set ( $breadcrumbs = $decoration.body.breadcrumbs ) + + #if ( $datePosition.equalsIgnoreCase( $position ) ) + #if ( ( $datePosition.equalsIgnoreCase( "right" ) ) || ( $datePosition.equalsIgnoreCase( "bottom" ) ) ) + | $i18n.getString( "site-renderer", $locale, "template.lastpublished" ): $dateToday + #if ( $versionPosition.equalsIgnoreCase( $position ) ) + | $i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version} + #end + #elseif ( ( $datePosition.equalsIgnoreCase( "navigation-bottom" ) ) || ( $datePosition.equalsIgnoreCase( "navigation-top" ) ) ) + <div id="lastPublished"> + $i18n.getString( "site-renderer", $locale, "template.lastpublished" ): $dateToday + #if ( $versionPosition.equalsIgnoreCase( $position ) ) + | $i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version} + #end + </div> + #elseif ( $datePosition.equalsIgnoreCase("left") ) + <div class="xleft"> + $i18n.getString( "site-renderer", $locale, "template.lastpublished" ): $dateToday + #if ( $versionPosition.equalsIgnoreCase( $position ) ) + | $i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version} + #end + #if ( $breadcrumbs && $breadcrumbs.size() > 0 ) + | #breadcrumbs( $breadcrumbs ) + #end + </div> + #end + #elseif ( $versionPosition.equalsIgnoreCase( $position ) ) + #if ( ( $versionPosition.equalsIgnoreCase( "right" ) ) || ( $versionPosition.equalsIgnoreCase( "bottom" ) ) ) + | $i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version} + #elseif ( ( $versionPosition.equalsIgnoreCase( "navigation-bottom" ) ) || ( $versionPosition.equalsIgnoreCase( "navigation-top" ) ) ) + <div id="lastPublished"> + $i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version} + </div> + #elseif ( $versionPosition.equalsIgnoreCase("left") ) + <div class="xleft"> + $i18n.getString( "site-renderer", $locale, "template.version" ): ${project.version} + #if ( $breadcrumbs && $breadcrumbs.size() > 0 ) + | #breadcrumbs( $breadcrumbs ) + #end + </div> + #end + #elseif ( $position.equalsIgnoreCase( "left" ) ) + #if ( $breadcrumbs && $breadcrumbs.size() > 0 ) + <div class="xleft"> + #breadcrumbs( $breadcrumbs ) + </div> + #end + #end +#end + +#macro ( poweredByLogo $poweredBy ) + #if( $poweredBy ) + #foreach ($item in $poweredBy) + #if( $item.href ) + #set ( $href = $PathTool.calculateLink( $item.href, $relativePath ) ) + #set ( $href = $href.replaceAll( "\\", "/" ) ) + #else + #set ( $href="http://maven.apache.org/" ) + #end + + #if( $item.name ) + #set ( $name = $item.name ) + #else + #set ( $name = $i18n.getString( "site-renderer", $locale, "template.builtby" ) ) + #set ( $name = "${name} Maven" ) + #end + + #if( $item.img ) + #set ( $img = $item.img ) + #else + #set ( $img = "images/logos/maven-feather.png" ) + #end + + <a href="$href" title="$name" id="poweredBy"> + #set ( $img = $PathTool.calculateLink( $img, $relativePath ) ) + #set ( $img = $img.replaceAll( "\\", "/" ) ) + <img alt="$name" src="$img" /> + </a> + #end + #if( $poweredBy.isEmpty() ) + <a href="http://maven.apache.org/" title="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" id="poweredBy"> + <img alt="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png"></img> + </a> + #end + #else + <a href="http://maven.apache.org/" title="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" id="poweredBy"> + <img alt="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png"></img> + </a> + #end +#end + +<html> + <head> + <title>$title</title> + <style type="text/css" media="all"> + @import url("$relativePath/css/maven-base.css"); + @import url("$relativePath/css/maven-theme.css"); + @import url("$relativePath/css/site.css"); + </style> + <link rel="stylesheet" href="$relativePath/css/print.css" type="text/css" media="print" /> + #foreach( $author in $authors ) + <meta name="author" content="$author" /> + #end + <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" /> + #if ( $decoration.body.head ) + #foreach( $item in $decoration.body.head.getChildren() ) + #if ( $item.name == "script" ) + $item.toUnescapedString() + #else + $item.toString() + #end + #end + #end + </head> + <body class="composite"> + <div id="banner"> + #banner( $decoration.bannerLeft "bannerLeft" ) + #banner( $decoration.bannerRight "bannerRight" ) + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + #publishDate( "left" $decoration.publishDate $decoration.version ) + <div class="xright">#links( $decoration.body.links )#publishDate( "right" $decoration.publishDate $decoration.version )</div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + #publishDate( "navigation-top" $decoration.publishDate $decoration.version ) + #mainMenu( $decoration.body.menus ) + <a href="http://sourceforge.net" id="sourceForgeLogo"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=169885&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a> + #poweredByLogo( $decoration.poweredBy ) + #publishDate( "navigation-bottom" $decoration.publishDate $decoration.version ) + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + $bodyContent + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright">©#copyright()#publishDate( "bottom" $decoration.publishDate $decoration.version )</div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html> Added: trunk/surveyforge-style/src/main/resources/css/maven-base.css =================================================================== --- trunk/surveyforge-style/src/main/resources/css/maven-base.css (rev 0) +++ trunk/surveyforge-style/src/main/resources/css/maven-base.css 2006-06-27 12:31:11 UTC (rev 16) @@ -0,0 +1,157 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; + text-shadow: #7CFC00; +} +.xright, #bannerRight img { + float:right; + text-shadow: #7CFC00; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#poweredBy { + text-align: center; +} +#sourceForgeLogo { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; + border: 1px solid black; + width: 90px; + height: 30px; +} +#sourceForgeLogo img { + display:block; + margin: 20px 0 20px 17px; + width: 88px; + height: 31px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} Added: trunk/surveyforge-style/src/main/resources/css/maven-theme.css =================================================================== --- trunk/surveyforge-style/src/main/resources/css/maven-theme.css (rev 0) +++ trunk/surveyforge-style/src/main/resources/css/maven-theme.css 2006-06-27 12:31:11 UTC (rev 16) @@ -0,0 +1,141 @@ +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: normal; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + Added: trunk/surveyforge-style/src/main/resources/css/print.css =================================================================== --- trunk/surveyforge-style/src/main/resources/css/print.css (rev 0) +++ trunk/surveyforge-style/src/main/resources/css/print.css 2006-06-27 12:31:11 UTC (rev 16) @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} Added: trunk/surveyforge-style/src/main/resources/images/Thumbs.db =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/Thumbs.db ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/collapsed.gif =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/collapsed.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/expanded.gif =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/expanded.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/external.png =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/external.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/icon_error_sml.gif =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/icon_error_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/icon_info_sml.gif =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/icon_info_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/icon_success_sml.gif =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/icon_success_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/icon_warning_sml.gif =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/icon_warning_sml.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/logos/Thumbs.db =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/logos/Thumbs.db ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/logos/maven-feather.png =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/logos/maven-feather.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/surveyforge-style/src/main/resources/images/newwindow.png =================================================================== (Binary files differ) Property changes on: trunk/surveyforge-style/src/main/resources/images/newwindow.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-27 10:05:45
|
Revision: 15 Author: jgongo Date: 2006-06-27 03:05:29 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=15&view=rev Log Message: ----------- Initial version of core module site Added Paths: ----------- trunk/surveyforge-core/src/site/ trunk/surveyforge-core/src/site/apt/ trunk/surveyforge-core/src/site/apt/index.apt trunk/surveyforge-core/src/site/site.xml Added: trunk/surveyforge-core/src/site/apt/index.apt =================================================================== --- trunk/surveyforge-core/src/site/apt/index.apt (rev 0) +++ trunk/surveyforge-core/src/site/apt/index.apt 2006-06-27 10:05:29 UTC (rev 15) @@ -0,0 +1,13 @@ + ----- + SurveyForge Core - Introduction + ----- + $Author$ + ----- + $Date$ + +What is SurveyForge Core? + + SurveyForge Core is the core API within the SurveyForge project providing support for + survey metadata and data. The main goal of this package is to provide a core API to manage + description of surveys (survey metadata) and reponses to questionnaires (survey data). + \ No newline at end of file Property changes on: trunk/surveyforge-core/src/site/apt/index.apt ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-core/src/site/site.xml =================================================================== --- trunk/surveyforge-core/src/site/site.xml (rev 0) +++ trunk/surveyforge-core/src/site/site.xml 2006-06-27 10:05:29 UTC (rev 15) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="SurveyForge Core API"> + <body> + <menu ref="parent" /> + <menu name="SurveyForge Core API"> + <item name="Introduction" href="index.html"/> + </menu> + <menu ref="reports" /> + </body> +</project> \ No newline at end of file Property changes on: trunk/surveyforge-core/src/site/site.xml ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-27 09:59:17
|
Revision: 14 Author: jgongo Date: 2006-06-27 02:59:10 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=14&view=rev Log Message: ----------- Fixed incorrect scm url Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2006-06-27 09:11:17 UTC (rev 13) +++ trunk/pom.xml 2006-06-27 09:59:10 UTC (rev 14) @@ -79,7 +79,7 @@ <scm> <connection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge/trunk/</connection> <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge/trunk/</developerConnection> - <url>http://svn.sourceforge.net/viewcvs.cgi/surveyforge/</url> + <url>http://svn.sourceforge.net/viewcvs.cgi/surveyforge/trunk/</url> </scm> <organization> <name>OPEN input</name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-27 09:11:25
|
Revision: 13 Author: jgongo Date: 2006-06-27 02:11:17 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=13&view=rev Log Message: ----------- Added issue management and ignore properties to core module Property Changed: ---------------- trunk/surveyforge-core/ Property changes on: trunk/surveyforge-core ___________________________________________________________________ Name: bugtraq:url + http://sourceforge.net/tracker/index.php?func=detail&aid=%BUGID%&group_id=169885&atid=852142 Name: bugtraq:message + Issue: %BUGID% Name: svn:ignore + target .project .classpath .settings .wtpmodules .springBeans This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-27 09:08:12
|
Revision: 12 Author: jgongo Date: 2006-06-27 02:07:12 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=12&view=rev Log Message: ----------- Initial support for classifications in SurveyForge Issue: 1505978 Modified Paths: -------------- trunk/surveyforge-classification/pom.xml Added Paths: ----------- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Classification.java trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Family.java trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Item.java trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Level.java trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Variant.java trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Version.java trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/package-info.java trunk/surveyforge-classification/src/site/ trunk/surveyforge-classification/src/site/apt/ trunk/surveyforge-classification/src/site/apt/index.apt trunk/surveyforge-classification/src/site/site.xml trunk/surveyforge-classification/src/test/ trunk/surveyforge-classification/src/test/java/ trunk/surveyforge-classification/src/test/java/org/ trunk/surveyforge-classification/src/test/java/org/surveyforge/ trunk/surveyforge-classification/src/test/java/org/surveyforge/classification/ trunk/surveyforge-classification/src/test/java/org/surveyforge/classification/ClassificationTest.java trunk/surveyforge-classification/src/test/java/org/surveyforge/classification/FamilyTest.java trunk/surveyforge-classification/src/test/java/org/surveyforge/classification/ItemTest.java trunk/surveyforge-classification/src/test/java/org/surveyforge/classification/LevelTest.java trunk/surveyforge-classification/src/test/java/org/surveyforge/classification/VersionTest.java trunk/surveyforge-classification/src/test/resources/ trunk/surveyforge-classification/src/test/resources/testng.xml Property Changed: ---------------- trunk/surveyforge-classification/ Property changes on: trunk/surveyforge-classification ___________________________________________________________________ Name: bugtraq:url + http://sourceforge.net/tracker/index.php?func=detail&aid=%BUGID%&group_id=169885&atid=852142 Name: bugtraq:message + Issue: %BUGID% Name: svn:ignore + target .project .classpath .settings .wtpmodules .springBeans Modified: trunk/surveyforge-classification/pom.xml =================================================================== --- trunk/surveyforge-classification/pom.xml 2006-06-27 08:55:07 UTC (rev 11) +++ trunk/surveyforge-classification/pom.xml 2006-06-27 09:07:12 UTC (rev 12) @@ -10,36 +10,17 @@ <name>SurveyForge Classification API</name> <dependencies> <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + </dependency> + <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> - <scope>compile</scope> </dependency> + <dependency> + <groupId>javax.persistence</groupId> + <artifactId>persistence-api</artifactId> + </dependency> </dependencies> - <reporting> - <plugins> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <charset>UTF-8</charset> - <docencoding>UTF-8</docencoding> - <encoding>UTF-8</encoding> - <links> - <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> - </links> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>changelog-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jxr-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>taglist-maven-plugin</artifactId> - </plugin> - </plugins> - </reporting> </project> Added: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Classification.java =================================================================== --- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Classification.java (rev 0) +++ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Classification.java 2006-06-27 09:07:12 UTC (rev 12) @@ -0,0 +1,398 @@ +/* + * surveyforge-classification - Copyright (C) 2006 OPEN input - http://www.openinput.com/ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to + * the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * + * $Id$ + */ +package org.surveyforge.classification; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.HashSet; +import java.util.List; +import java.util.Set; + +/** + * A classification describes the ensemble of one or several consecutive classification {@link org.surveyforge.classification.Version}s. + * In the context of the classification database, there is no structured list of categories directly associated with the + * classification. It is a "name" which serves as an umbrella for the classification version(s). + * + * @author jgonzalez + */ +public class Classification implements Serializable + { + private static final long serialVersionUID = 4169537105933133532L; + + /** A classification is identified by a unique identifier, which may typically be an abbreviation of its title. */ + private String identifier; + /** A classification has a title as provided by the owner. */ + private String title; + /** Short general description of the classification, including its purpose, its main subject areas etc. */ + private String description; + /** + * A classification can be designed in a specific context. Ex.: ISIC: international classification; NACE: EU classification; + * NACE-BEL: Belgian classification. + */ + private String context; + /** + * A classification is designed to classify a specific type of object/unit according to a specific attribute. Ex.: Enterprises by + * economic activity, products by origin, persons by age. + */ + private String objectsClassified; + /** Areas of statistics in which the classification is implemented. Ex.: ISCO is used in employment and labour force statistics. */ + private String subjectAreas; + /** + * The statistical office or other authority, which created and maintains the version(s) of the classification. A classification may + * have several owners. Ex.: ISIC is owned by UNSD; ISCO-COM is owned by ILO and Eurostat. + */ + private Set<String> owners = new HashSet<String>( ); + /** A classification can be associated with one or a number of keywords. Ex.: For NACE: ”Economic Activity”; ”Industry”; ”Production”. */ + private Set<String> keywords = new HashSet<String>( ); + /** + * Classifications may be grouped into classification {@link Family families}. Shows to which family the classification belongs. + * Ex.: ISIC and NACE belong to the family ”Classifications of economic activity”. + */ + private Family family; + /** + * A classification has at least one {@link Version} (classification version). Ex.: ISIC: ISIC Rev.1, ISIC Rev.2, ISIC Rev.3; NACE: + * NACE 70, NACE Rev.1. + */ + private Set<Version> versions = new HashSet<Version>( ); + /** + * If there are several versions of a classification, one version is assigned as the currently valid version. Ex.: ISIC Rev. 3; NACE + * Rev. 1. + */ + private Version currentVersion; + + /** + * Creates a new classification belonging to a family, with the given identifier. Both parameters must be non null, otherwise this + * constructor will throw a {@link NullPointerException}. + * + * @param family the family this classification will belong to. + * @param identifier the identifier of this classification. + * @throws NullPointerException if family is <code>null</code> or identifier is <code>null</code> or the empty string. + */ + public Classification( Family family, String identifier ) + { + this.setIdentifier( identifier ); + this.setFamily( family ); + } + + /** + * Returns the identifier of this classification. + * + * @return the identifier of this classification. + */ + public String getIdentifier( ) + { + return this.identifier; + } + + /** + * Sets the identifier of this classification. This method throws a {@link NullPointerException} if the provided identifier is + * <code>null</code> or the empty string. + * + * @param identifier the new identifier of this classification. + * @throws NullPointerException if the identifier is <code>null</code> or the empty string. + */ + public void setIdentifier( String identifier ) + { + if( identifier != null && !identifier.equals( "" ) ) + this.identifier = identifier; + else + throw new NullPointerException( ); + } + + /** + * Returns the title of this classification. + * + * @return the title of this classification. + */ + public String getTitle( ) + { + return this.title; + } + + /** + * Sets the title of this classification. + * + * @param title the new title of this classification. + */ + public void setTitle( String title ) + { + this.title = title; + } + + /** + * Returns the description of this classification. + * + * @return the description of this classification. + */ + public String getDescription( ) + { + return this.description; + } + + /** + * Sets the description of this classification. + * + * @param description the new description of this classification. + */ + public void setDescription( String description ) + { + this.description = description; + } + + /** + * Returns the context this classification has been designed in. + * + * @return the context this classification has been designed in + */ + public String getContext( ) + { + return this.context; + } + + /** + * Sets the context this classification has been designed in. + * + * @param context the context this classification has been designed in. + */ + public void setContext( String context ) + { + this.context = context; + } + + /** + * Returns the type of objects this classification classifies. + * + * @return the type of objects this classification classifies. + */ + public String getObjectsClassified( ) + { + return this.objectsClassified; + } + + /** + * Sets the type of objects this classification classifies. + * + * @param objectsClassified the type of objects this classification classifies. + */ + public void setObjectsClassified( String objectsClassified ) + { + this.objectsClassified = objectsClassified; + } + + /** + * Returns the areas of statistics in which the classification is implemented. + * + * @return the areas of statistics in which the classification is implemented. + */ + public String getSubjectAreas( ) + { + return this.subjectAreas; + } + + /** + * Sets the areas of statistics in which the classification is implemented. + * + * @param subjectAreas the areas of statistics in which the classification is implemented. + */ + public void setSubjectAreas( String subjectAreas ) + { + this.subjectAreas = subjectAreas; + } + + /** + * Returns the statistical office or other authority, which created and maintains the version(s) of the classification. + * + * @return the statistical office or other authority, which created and maintains the version(s) of the classification. + */ + public Set<String> getOwners( ) + { + return this.owners; + } + + /** + * Sets the statistical office or other authority, which created and maintains the version(s) of the classification. This method + * throws a {@link NullPointerException} if the set of owners is <code>null</code>. + * + * @param owners the statistical office or other authority, which created and maintains the version(s) of the classification. + * @throws NullPointerException if the set of owners is <code>null</code>. + */ + public void setOwners( Set<String> owners ) + { + if( owners != null ) + this.owners = owners; + else + throw new NullPointerException( ); + } + + /** + * Returns the keywords associated with this classification. + * + * @return the keywords associated with this classification. + */ + public Set<String> getKeywords( ) + { + return this.keywords; + } + + /** + * Sets the keywords associated with this classification. This method throws a {@link NullPointerException} if the set of owners is + * <code>null</code>. + * + * @param keywords the keywords associated with this classification. + * @throws NullPointerException if the set of keywords is <code>null</code>. + */ + public void setKeywords( Set<String> keywords ) + { + if( keywords != null ) + this.keywords = keywords; + else + throw new NullPointerException( ); + } + + /** + * Returns the family this classification belongs to. + * + * @return the family this classification belongs to. + */ + public Family getFamily( ) + { + return this.family; + } + + /** + * Sets the family this classification belongs to. A classification may only belong to a family, so this method automatically removes + * this classification from the family it belonged to, and then adds itself to the new family. A classification must always belong to + * a family, so calling this method with a <code>null</code> family will result in a {@link NullPointerException}. + * + * @param family the family this classification belongs to. + * @throws NullPointerException if the family is <code>null</code>. + */ + public void setFamily( Family family ) + { + if( family != this.family ) + { + if( family != null ) + { + Family oldFamily = this.family; + this.family = family; + if( oldFamily != null ) oldFamily.removeClassification( this ); + this.family.addClassification( this ); + } + else + throw new NullPointerException( ); + } + } + + /** + * Returns the versions of this classification. + * + * @return the versions of this classification. + */ + public List<Version> getVersions( ) + { + List<Version> sortedList = new ArrayList<Version>( this.versions ); + Collections.sort( sortedList, new Classification.VersionsByDateComparator( ) ); + return Collections.unmodifiableList( sortedList ); + } + + /** + * Adds a version to this classification. The version must have its classification attribute set to this classification, in other + * case this method will throw a {@link IllegalArgumentException}. This method will throw a {@link NullPointerException} if the + * version is <code>null</code>. + * + * @param version the version to be added to this classification. + * @throws NullPointerException if the version is <code>null</code>. + * @throws IllegalArgumentException if the version has not its classification attribute set to this classification. + */ + protected void addVersion( Version version ) + { + if( version.getClassification( ) == this ) + { + this.versions.add( version ); + if( this.getCurrentVersion( ) == null ) this.setCurrentVersion( version ); + } + else + throw new IllegalArgumentException( ); + } + + /** + * Removes a version from this classification. The version must not have its classification attribute set to this classification, in + * other case this method will throw a {@link IllegalArgumentException}. This method will throw a {@link NullPointerException} if + * the version is <code>null</code>. + * + * @param version the version to be removed from this classification. + * @throws NullPointerException if the version is <code>null</code>. + * @throws IllegalArgumentException if the version has its classification attribute set to this classification, or the version to be + * removed is the current version. + */ + protected void removeVersion( Version version ) + { + if( version.getClassification( ) != this && (!version.equals( this.getCurrentVersion( ) ) || this.versions.size( ) == 1) ) + { + this.versions.remove( version ); + if( this.versions.isEmpty( ) ) this.currentVersion = null; + } + else + throw new IllegalArgumentException( ); + } + + /** + * Returns the current version of this classification. + * + * @return the current version of this classification. + */ + public Version getCurrentVersion( ) + { + return this.currentVersion; + } + + /** + * Sets the current version of this classification. The current version must be included in the list of versions of this + * classification, otherwise an {@link IllegalArgumentException} is thrown. + * + * @param currentVersion the current version of this classification. + * @throws IllegalArgumentException if the version is not included in the versions of this classification. + */ + public void setCurrentVersion( Version currentVersion ) + { + if( this.versions.contains( currentVersion ) ) + this.currentVersion = currentVersion; + else + throw new IllegalArgumentException( ); + } + + /** + * Compares two verions ordering them by release date. + * + * @author jgonzalez + */ + private static class VersionsByDateComparator implements Comparator<Version> + { + public int compare( Version version1, Version version2 ) + { + return version1.getReleaseDate( ).compareTo( version2.getReleaseDate( ) ); + } + + } + } Property changes on: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Classification.java ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Family.java =================================================================== --- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Family.java (rev 0) +++ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Family.java 2006-06-27 09:07:12 UTC (rev 12) @@ -0,0 +1,146 @@ +/* + * surveyforge-classification - Copyright (C) 2006 OPEN input - http://www.openinput.com/ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to + * the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * + * $Id$ + */ +package org.surveyforge.classification; + +import java.io.Serializable; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; + +/** + * A classification family comprises a number of {@link org.surveyforge.classification.Classification}s, which are related from a + * certain point of view. The family may be based, for instance, on a common classification variable (e.g. economic activity) or on a + * common type of object/unit. Different classification databases may use different types of classification families and have different + * names for the families, as no standard has been agreed upon. + * + * @author jgonzalez + */ +public class Family implements Serializable + { + private static final long serialVersionUID = -2041101270919820504L; + + /** A classification family is identified by a unique identifier. */ + private String identifier; + /** A classification family has a title. */ + private String title; + /** A classification family refers to a number of classifications. */ + private Set<Classification> classifications = new HashSet<Classification>( ); + + /** + * Creates a new family with the given identifier. + * + * @param identifier the identifier of the new family. + */ + public Family( String identifier ) + { + this.setIdentifier( identifier ); + } + + /** + * Returns the identifier of this family. + * + * @return the identifier of this family. + */ + public String getIdentifier( ) + { + return identifier; + } + + /** + * Sets the identifier of this family. This method throws a {@link NullPointerException} if the provided identifier is + * <code>null</code> or the empty string. + * + * @param identifier the new identifier of this family. + * @throws NullPointerException if the identifier is <code>null</code> or the empty string. + */ + public void setIdentifier( String identifier ) + { + if( identifier != null && !identifier.equals( "" ) ) + this.identifier = identifier; + else + throw new NullPointerException( ); + } + + /** + * Returns the title of this family. + * + * @return the title of this family. + */ + public String getTitle( ) + { + return title; + } + + /** + * Sets the title of this family. + * + * @param title the new title of this family. + */ + public void setTitle( String title ) + { + this.title = title; + } + + /** + * Returns the classifications included in this family. The returned set is unmodifiable. + * + * @return the classifications included in this family. + */ + public Set<Classification> getClassifications( ) + { + return Collections.unmodifiableSet( classifications ); + } + + /** + * Adds a classification to this family. The classification must have its family attribute set to this family, in other case this + * method will throw a {@link IllegalArgumentException}. This method will throw a {@link NullPointerException} if the classification + * is <code>null</code>. + * + * @param classification the classification to be added to this family. + * @throws NullPointerException if the classification is <code>null</code>. + * @throws IllegalArgumentException if the classification has not its family attribute set to this family. + */ + protected void addClassification( Classification classification ) + { + if( classification.getFamily( ) == this ) + this.classifications.add( classification ); + else + throw new IllegalArgumentException( ); + } + + /** + * Removes a classification from this family. The classification must not have its family attribute set to this family, in other case + * this method will throw a {@link IllegalArgumentException}. This method will throw a {@link NullPointerException} if the + * classification is <code>null</code>. + * + * @param classification the classification to be removed from this family. + * @throws NullPointerException if the classification is <code>null</code>. + * @throws IllegalArgumentException if the classification has its family attribute set to this family. + */ + protected void removeClassification( Classification classification ) + { + if( classification.getFamily( ) != this ) + this.classifications.remove( classification ); + else + throw new IllegalArgumentException( ); + } + } Property changes on: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Family.java ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Item.java =================================================================== --- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Item.java (rev 0) +++ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Item.java 2006-06-27 09:07:12 UTC (rev 12) @@ -0,0 +1,321 @@ +/* + * surveyforge-classification - Copyright (C) 2006 OPEN input - http://www.openinput.com/ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to + * the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * + * $Id$ + */ +package org.surveyforge.classification; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * A classification item represents a category at a certain level within a classification version or variant. It defines the content + * and the borders of the category. A statistical object/unit can be classified to one and only one item at each level of a + * classification version or variant. An item is associated with a code and a title and may include explanatory notes. + * + * @author jgonzalez + */ +public class Item implements Serializable + { + private static final long serialVersionUID = -3965211400312532582L; + + /** The level this item belongs to. */ + private Level level; + // TODO: Should we make any distinction among alphabetical, numericcal and alphanumerical codes? + /** + * A classification item is identified by an alphabetical, numerical or alphanumerical code, which is in line with the code structure + * of the classification level. The code is unique within the classification version or variant to which the item belongs. + */ + private String code; + /** A classification item has a title as provided by the owner or maintenance unit. The title describes the content of the category. */ + private String oficialTitle; + /** + * An item can be expressed in terms of one or several alternative titles. Each alternative title is associated with a title type. + * Ex.: Short titles; Medium titles; Self-explanatory titles in CN; Titles in plural form (e.g. Men, Women) for dissemination + * purposes; gender related titles. + */ + private Map<String, String> alternativeTitles = new HashMap<String, String>( ); + // TODO: Explanatory notes + /** + * Indicates whether or not the item has been generated to make the level to which it belongs complete. Ex.: In NACE Rev.1 one may + * generate items AA, BB, FF etc. to make the subsection level complete. + */ + private boolean generated; + // TODO: currently valid and validity periods + /** Describes the changes, which the item has been subject to from the previous to the actual classification version or variant. */ + private String changes; + /** Describes the changes, which the item has been subject to during the life time of the actual classification version or variant. */ + private String updates; + /** + * The item at the next higher level of the classification version or variant of which the actual item is a sub item. Ex.: In NACE + * Rev.1 item 10 is the parent of item 10.1. + */ + private Item parentItem; + /** + * Each item, which is not at the lowest level of the classification version or variant, might contain one or a number of sub items, + * i.e. items at the next lower level of the classification version or variant. Ex.: In NACE Rev.1, the Group level items 10.1, 10.2 + * and 10.3 are sub items of the Division level item 10. + */ + private List<Item> subItems = new ArrayList<Item>( ); + + // TODO: Linked items + // TODO: Case laws + // TODO: Index entries + // TODO: What about classification translations? + + /** + * Creates a new item. The item must be included in a level and have a parent item if the level is not the topmost one. Providing a + * <code>null</code> level, code or oficial title would cause this constructor to throw a {@link NullPointerException}. This item + * must be included exactly one level below the level of the parent item, or in the case that no parent item is provided, this item + * must be included in the topmost level; otherwise this constructor will throw a {@link IllegalArgumentException}. + * + * @param level the level this item belongs to. + * @param parentItem the parent item of this item. + * @param code the code that identifies this item. + * @param oficialTitle the description of the category represented by this item. + * @throws NullPointerException if the level, code or oficial title are <code>null</code>. + * @throws IllegalArgumentException if the parent item is <code>null</code> and level is not the topmost one, or if the level of + * this item is not exactly one level below the level of the the parent item. + */ + public Item( Level level, Item parentItem, String code, String oficialTitle ) + { + if( (parentItem == null && level.getNumber( ) == 1) || (level.getNumber( ) == parentItem.getLevelNumber( ) + 1) ) + { + this.level = level; + this.parentItem = parentItem; + this.setCode( code ); + this.setOficialTitle( oficialTitle ); + + // Reverse relations + this.level.addItem( this ); + if( this.parentItem != null ) this.parentItem.subItems.add( this ); + } + else + throw new IllegalArgumentException( ); + } + + /** + * Returns the level this item belongs to. + * + * @return the level this item belongs to. + */ + public Level getLevel( ) + { + return this.level; + } + + /** + * Returns the code the identifies this item. + * + * @return the code the identifies this item. + */ + public String getCode( ) + { + return this.code; + } + + /** + * Sets the code the identifies this item. The code must be non <code>null</code>, otherwise a {@link NullPointerException} is + * thrown. + * + * @param code the code the identifies this item. + * @throws NullPointerException if the code is <code>null</code>. + */ + public void setCode( String code ) + { + if( code != null ) + this.code = code; + else + throw new NullPointerException( ); + } + + /** + * Returns the description of the category represented by this item. + * + * @return the description of the category represented by this item. + */ + public String getOficialTitle( ) + { + return this.oficialTitle; + } + + /** + * Sets the description of the category represented by this item. The title must be non <code>null</code>, otherwise a + * {@link NullPointerException} is thrown. + * + * @param oficialTitle the description of the category represented by this item. + * @throws NullPointerException if the title is <code>null</code>. + */ + public void setOficialTitle( String oficialTitle ) + { + if( oficialTitle != null ) + this.oficialTitle = oficialTitle; + else + throw new NullPointerException( ); + } + + /** + * Returns the alternative description of this category of the requested type. The requested title type must be among the title types + * defined for the classification version this item belongs to ({@see Version#getTitleTypes()}), otherwise this method throws a + * {@link IllegalArgumentException}. If no alternative title has been defined for the requested title type this method returns + * <code>null</code>. + * + * @param titleType the type of the requested alternative title. + * @return the alternative description of this category of the requested type, <code>null</code> if no alternative title has been + * defined for the requested title type. + * @throws IllegalArgumentException if the requested title type is not among the title types of the classification version this item + * belongs to. + */ + public String getAlternativeTitle( String titleType ) + { + if( this.getVersion( ).getTitleTypes( ).contains( titleType ) ) + { + return this.alternativeTitles.get( titleType ); + } + else + throw new IllegalArgumentException( ); + } + + /** + * Sets the alternative description of this category of the requested type. The title type must be among the title types defined for + * the classification version this item belongs to ({@see Version#getTitleTypes()}), otherwise this method throws a + * {@link IllegalArgumentException}. + * + * @param titleType the type of the alternative title to be set. + * @param alternativeTitle the alternative description of this category of the requested type. + * @throws IllegalArgumentException if the requested title type is not among the title types of the classification version this item + * belongs to. + */ + public void setAlternativeTitle( String titleType, String alternativeTitle ) + { + if( this.getVersion( ).getTitleTypes( ).contains( titleType ) ) + { + this.alternativeTitles.put( titleType, alternativeTitle ); + } + else + throw new IllegalArgumentException( ); + } + + /** + * Returns the number of the level to which the item belongs. + * + * @return the number of the level to which the item belongs. + * @see Level#getNumber() + */ + public int getLevelNumber( ) + { + return this.getLevel( ).getNumber( ); + } + + /** + * Returns whether or not the item has been generated to make the level to which it belongs complete. + * + * @return <code>true</code> if the item has been generated to make the level to which it belongs complete, <code>false</code> + * otherwise. + */ + public boolean isGenerated( ) + { + return this.generated; + } + + /** + * Set to <code>true</code> to indicate that the item has been generated to make the level to which it belongs complete. + * + * @param generated <code>true</code> to indicate that the item has been generated to make the level to which it belongs complete. + */ + public void setGenerated( boolean generated ) + { + this.generated = generated; + } + + /** + * Returns the changes, which the item has been subject to from the previous to the actual classification version or variant. + * + * @return the changes, which the item has been subject to from the previous to the actual classification version or variant. + */ + public String getChanges( ) + { + return this.changes; + } + + /** + * Sets the changes, which the item has been subject to from the previous to the actual classification version or variant. + * + * @param changes the changes, which the item has been subject to from the previous to the actual classification version or variant. + */ + public void setChanges( String changes ) + { + this.changes = changes; + } + + /** + * Returns the changes, which the item has been subject to during the life time of the actual classification version or variant. + * + * @return the changes, which the item has been subject to during the life time of the actual classification version or variant. + */ + public String getUpdates( ) + { + return this.updates; + } + + /** + * Sets the changes, which the item has been subject to during the life time of the actual classification version or variant. + * + * @param updates the changes, which the item has been subject to during the life time of the actual classification version or + * variant. + */ + public void setUpdates( String updates ) + { + this.updates = updates; + } + + /** + * Returns the classification version or variant to which the item belongs. + * + * @return he classification version or variant to which the item belongs. + */ + public Version getVersion( ) + { + return this.getLevel( ).getVersion( ); + } + + /** + * Returns the parent item of this item. + * + * @return the parent item of this item. + */ + public Item getParentItem( ) + { + return this.parentItem; + } + + /** + * Returns the items that further subdivide the category represented by this item. + * + * @return the items that further subdivide the category represented by this item. + */ + public List<Item> getSubItems( ) + { + return Collections.unmodifiableList( this.subItems ); + } + } Property changes on: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Item.java ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Level.java =================================================================== --- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Level.java (rev 0) +++ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Level.java 2006-06-27 09:07:12 UTC (rev 12) @@ -0,0 +1,293 @@ +/* + * surveyforge-classification - Copyright (C) 2006 OPEN input - http://www.openinput.com/ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to + * the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * + * $Id$ + */ +package org.surveyforge.classification; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; + +/** + * A classification structure (classification version or classification variant) is composed of one or several levels. In a + * hierarchical classification the items of each level but the highest (most aggregated) level are aggregated to the nearest higher + * level. A linear classification has only one level. + * + * @author jgonzalez + */ +public class Level implements Serializable + { + private static final long serialVersionUID = -8542980068158519003L; + + /** The version this level belongs to. */ + private Version version; + /** The name given to the level. Ex.: Sections, Sub-sections, Divisions, Groups and Classes in NACE Rev.1. */ + private String name; + /** + * Text describing the content and particular purpose of the level. Ex.: NACE sub-sections were introduced to provide more detail at + * an aggregate level. + */ + private String description; + // TODO: Should we make any distinctions here? + // /** Indicates whether the item code at the level is alphabetical, numerical or alphanumerical. */ + // private int codeType; + /** + * Indicates how the code is constructed of numbers, letters and separators. Ex. In NACE Rev.1 the code structure at the Class level + * is 99.99 + */ + private String codeStructure; + /** + * Rule for the construction of dummy codes from the codes of the next higher level when an incomplete level is made complete. Ex.: + * The NACE Rev.1 subsection dummy codes may be created by doubling the section code letter, i.e. Section code: B, subsection dummy + * code: BB + */ + private String dummyCode; + /** + * A foreign level is a level that has been inherited from another classification version and is owned and maintained by the owners + * and maintenance unit of that classification version. + */ + private Level foreignLevel; + /** An ordered list of the categories (classification items) that constitute the level. */ + private List<Item> items = new ArrayList<Item>( ); + + /** + * Creates a new level belonging to a version, with the given identifier. Both parameters must be non null, otherwise this + * constructor will throw a {@link NullPointerException}. + * + * @param version the version this level will belong to. + * @param name the name of this level. + * @throws NullPointerException if version is <code>null</code> or name is <code>null</code> or the empty string. + */ + public Level( Version version, String name ) + { + this.setName( name ); + if( version != null ) + { + this.version = version; + this.version.addLevel( this ); + } + else + throw new NullPointerException( ); + } + + /** + * Returns the version this level belongs to. + * + * @return the version this level belongs to. + */ + public Version getVersion( ) + { + return this.version; + } + + /** + * Returns the number associated with the level. Levels are numbered consecutively starting with level 1 at the highest (most + * aggregated) level. + * + * @return the number associated with the level. + */ + public int getNumber( ) + { + return this.getVersion( ).getLevels( ).indexOf( this ) + 1; + } + + /** + * @return Returns the name. + */ + public String getName( ) + { + return this.name; + } + + /** + * @param name The name to set. + */ + public void setName( String name ) + { + if( name != null ) + this.name = name; + else + throw new NullPointerException( ); + } + + /** + * @return Returns the description. + */ + public String getDescription( ) + { + return this.description; + } + + /** + * @param description The description to set. + */ + public void setDescription( String description ) + { + this.description = description; + } + + /** + * Returns the number of items (categories) at the level. + * + * @return the number of items (categories) at the level. + */ + public int getNumberOfItems( ) + { + return this.getItems( ).size( ); + } + + // /** + // * @return Returns the codeType. + // */ + // public int getCodeType( ) + // { + // return this.codeType; + // } + // + // /** + // * @param codeType The codeType to set. + // */ + // public void setCodeType( int codeType ) + // { + // this.codeType = codeType; + // } + // + /** + * @return Returns the codeStructure. + */ + public String getCodeStructure( ) + { + return this.codeStructure; + } + + /** + * @param codeStructure The codeStructure to set. + */ + public void setCodeStructure( String codeStructure ) + { + this.codeStructure = codeStructure; + } + + /** + * Returns <code>true</code> if this level covers the whole range of the classification version. Incomplete coverage means that one + * or several items at the nearest higher level are not further subdivided. The topmost level is considered to always fully cover the + * classification version, so for topmost levels this method always returns <code>true</code>. + * + * @return <code>true</code> if this level fully covers the next higher level or if this level is the topmost level, + * <code>false</code> otherwise. + */ + public boolean isFullyCovered( ) + { + if( this.getNumber( ) == 1 ) + return true; // The topmost level always returns true, as there is no sense in covering a higher level. + else + { + Level higherLevel = this.getVersion( ).getLevels( ).get( this.getNumber( ) - 2 ); // Level numbers are 1 based, while list + // indexes are 0 based + boolean fullyCovered = true; + Iterator<Item> itemsInHigherLevel = higherLevel.getItems( ).iterator( ); + while( itemsInHigherLevel.hasNext( ) && fullyCovered ) + { + fullyCovered &= !itemsInHigherLevel.next( ).getSubItems( ).isEmpty( ); + } + return fullyCovered; + } + } + + /** + * @return Returns the dummyCode. + */ + public String getDummyCode( ) + { + return this.dummyCode; + } + + /** + * @param dummyCode The dummyCode to set. + */ + public void setDummyCode( String dummyCode ) + { + this.dummyCode = dummyCode; + } + + /** + * @return Returns the foreignLevel. + */ + public Level getForeignLevel( ) + { + return this.foreignLevel; + } + + /** + * @param foreignLevel The foreignLevel to set. + */ + public void setForeignLevel( Level foreignLevel ) + { + this.foreignLevel = foreignLevel; + } + + /** + * Returns the items contained in this level. + * + * @return the items contained in this level. + */ + public List<Item> getItems( ) + { + return Collections.unmodifiableList( this.items ); + } + + /** + * Adds a item to this level. The item must have its level attribute set to this level, in other case this method will throw a + * {@link IllegalArgumentException}. This method will throw a {@link NullPointerException} if the item is <code>null</code>. + * + * @param item the item to be added to this level. + * @throws NullPointerException if the item is <code>null</code>. + * @throws IllegalArgumentException if the item has not its level attribute set to this level. + */ + protected void addItem( Item item ) + { + if( item.getLevel( ) == this ) + { + this.items.add( item ); + } + else + throw new IllegalArgumentException( ); + } + + /** + * Removes a item from this level. The item must not have its level attribute set to this level, in other case this method will throw + * a {@link IllegalArgumentException}. This method will throw a {@link NullPointerException} if the item is <code>null</code>. + * + * @param item the item to be removed from this level. + * @throws NullPointerException if the item is <code>null</code>. + * @throws IllegalArgumentException if the item has its level attribute set to this level. + */ + protected void removeItem( Item item ) + { + if( item.getLevel( ) != this ) + { + this.items.remove( item ); + } + else + throw new IllegalArgumentException( ); + } + } Property changes on: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Level.java ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Variant.java =================================================================== --- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Variant.java (rev 0) +++ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Variant.java 2006-06-27 09:07:12 UTC (rev 12) @@ -0,0 +1,138 @@ +/* + * surveyforge-classification - Copyright (C) 2006 OPEN input - http://www.openinput.com/ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to + * the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * + * $Id$ + */ +package org.surveyforge.classification; + +import java.util.Date; +import java.util.List; + +/** + * <p> + * A classification variant is based on a classification version. In a variant, the categories of the classification version are split, + * aggregated or regrouped to provide additions or alternatives (e.g. context-specific additions) to the standard structure of the base + * version. A classification variant has two or more levels, which are either base version levels (i.e. levels of the classification + * version on which the variant is based) or the new levels created for the variant. At least one of the levels must be (part of) a + * base version level, which defines the relation of the variant to the base version. The term variant does not refer only to the + * partial structure composed of the new variant levels. It refers to the whole new structure composed of both base version levels and + * new variant levels. + * </p> + * <p> + * Variants are commonly of three kinds. These have been named extension variants, aggregate variants or regrouping variants. There + * could exist other types of variants. + * <ul> + * <li> Extension variant: An extension variant is a classification variant which extends the base classification version with one or + * several new levels at the bottom of the base classification version, creating a new lowest level. An extension variant thus adds new + * lower levels to the base classification version but does not otherwise alter its original structure. </li> + * <li> Aggregate variant: An aggregate variant is a classification variant which groups the categories of a linear classification + * version to create one or several aggregate level(s), thus creating a hierarchy. </li> + * <li> Regrouping variant: A regrouping variant is a classification variant which introduces additional or alternative aggregate + * levels by regrouping categories of the base classification version. Two types of regrouping variants have been identified: + * <ul> + * <li> Regrouping variants which do not violate the structure of the base version: This type of regrouping variant introduces a new + * level or new levels on top of, or in between existing levels of a hierarchical classification version without otherwise altering the + * original structure of the hierarchy. This regrouping variant consists of all classification levels of the base version plus the new + * variant level(s). The parent level (if any) of the new variant level can be either another variant level or a base version level. + * </li> + * <li> Regrouping variants which violate the structure of the base version: This type of regrouping variant introduces a new level or + * new levels on top of any but the topmost level of a hierarchical classification version by regrouping categories of the base + * classification version in a way which violates its original order and structure. This regrouping variant consists of all + * classification levels of the base version below the new variant level(s) plus the new variant level(s). In such a regrouping + * variant, a new variant level cannot have a base version level as parent level. </li> + * </ul> + * </li> + * </ul> + * </p> + * <p> + * In all variants but regrouping variants which violate the structure of the base version, all levels of the base version are retained + * and one or more new levels are inserted. In regrouping variants which violate the structure of the base version, one or more new + * levels are inserted and only the base version levels below the new variant levels are retained. + * </p> + * + * @author jgonzalez + */ +public class Variant extends Version + { + private static final long serialVersionUID = -7083593360508439002L; + + /** A classification variant is based on one specific classification version. */ + private Version baseVersion; + /** + * The levels inherited from the classification version on which the variant is based and which bind the variant to the originating + * version. + */ + private List<Level> baseVersionLevels; + + /** + * Creates a new variant belonging to a classification, with the given identifier and based on the given version. All the parameters + * must be non null, otherwise this constructor will throw a {@link NullPointerException}. + * + * @param classification the classification this variant will belong to. + * @param baseVersion the version this variant is based on. + * @param identifier the identifier of this variant. + * @throws NullPointerException if classification or baseVersion is <code>null</code> or identifier is <code>null</code> or the + * empty string. + */ + public Variant( Classification classification, Version baseVersion, String identifier, Date releaseDate ) + { + super( classification, identifier, releaseDate ); + this.setBaseVersion( baseVersion ); + } + + /** + * Returns the version this variant is based on. + * + * @return the version this variant is based on. + */ + public Version getBaseVersion( ) + { + return this.baseVersion; + } + + /** + * Sets the version this variant is based on. + * + * @param baseVersion the version this variant is based on. + */ + public void setBaseVersion( Version baseVersion ) + { + this.baseVersion = baseVersion; + } + + /** + * Returns the levels inherited from the base version. + * + * @return the levels inherited from the base version. + */ + public List<Level> getBaseVersionLevels( ) + { + return this.baseVersionLevels; + } + + /** + * Sets the levels inherited from the base version. + * + * @param baseVersionLevels the levels inherited from the base version. + */ + public void setBaseVersionLevels( List<Level> baseVersionLevels ) + { + this.baseVersionLevels = baseVersionLevels; + } + } Property changes on: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Variant.java ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Version.java =================================================================== --- trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Version.java (rev 0) +++ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/Version.java 2006-06-27 09:07:12 UTC (rev 12) @@ -0,0 +1,659 @@ +/* + * surveyforge-classification - Copyright (C) 2006 OPEN input - http://www.openinput.com/ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to + * the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * + * $Id$ + */ +package org.surveyforge.classification; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Date; +import java.util.HashSet; +import java.util.List; +import java.util.Locale; +import java.util.Set; + +/** + * A classification version is a list of mutually exclusive categories representing the version-specific values of the classification + * variable. If the version is hierarchical, each level in the hierarchy is a set of mutually exclusive categories. A classification + * version has a certain normative status and is valid for a given period of time. A new version of a classification differs in + * essential ways from the previous version. Essential changes are changes that alter the borders between categories, i.e. a + * statistical object/unit may belong to different categories in the new and the older version. Border changes may be caused by + * creating or deleting categories, or moving a part of a category to another. The addition of case law, changes in explanatory notes + * or in the titles do not lead to a new version. + * + * @author jgonzalez + */ +public class Version implements Serializable + { + private static final long serialVersionUID = -6949734640328443272L; + + /** + * A classification version is identified by a unique identifier, which may typically be an abbreviation of its title. It is often + * distinguished from other versions of the same classification by reference to a revision number or to the year of the version's + * coming into force. Ex.: NACE Rev.1, CPA 96. + */ + private String identifier; + /** + * A classification version has a title as provided by the owner or maintenance unit. Ex.: Classification of Products by Activity, + * 1996. + */ + private String title; + /** Short general description of the classification version. */ + private String description; + /** Date on which the classification version was released. */ + private Date releaseDate; + /** + * The introduction provides a detailed description of the classification version, the background for its creation, the + * classification variable and objects/units classified, classification rules etc. + */ + private String introduction; + /** + * The unit or group of persons within the organisation who are responsible for the classification version, i.e. for maintaining, + * updating and changing it. + */ + private String maintenanceUnit; + /** Person(s) who may be contacted for additional information about the classification version. */ + private Set<String> contactPersons = new HashSet<String>( ); + /** + * Indicates that the classification version is covered by a legal act or by some other formal agreement. Ex.: The legal base for + * NACE Rev.1 is: 1. Council of the European Communities Regulation (EEC) No. 3037/90 of 9 October 1990 (Official Journal of the + * European Communities No. L 293, 24.10.1990) 2. Commission of the European Communities Regulation (EEC) No. 761/93 of 24 March 1993 + * (Official Journal of the European Communities No. L 83, 3.4.1993) + */ + private String legalBase; + /** A list of the publications in which the classification version has been published. */ + private List<String> publications = new ArrayList<String>( ); + /** + * A list of the defined types of alternative item titles availab... [truncated message content] |
From: <jg...@us...> - 2006-06-27 08:55:24
|
Revision: 11 Author: jgongo Date: 2006-06-27 01:55:07 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=11&view=rev Log Message: ----------- New version of site with provisional logo and link to modules Modified Paths: -------------- trunk/src/site/site.xml Added Paths: ----------- trunk/src/site/resources/ trunk/src/site/resources/images/ trunk/src/site/resources/images/surveyforge-logo.png trunk/src/site/resources/images/surveyforge-logo.svg Added: trunk/src/site/resources/images/surveyforge-logo.png =================================================================== (Binary files differ) Property changes on: trunk/src/site/resources/images/surveyforge-logo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/src/site/resources/images/surveyforge-logo.svg =================================================================== --- trunk/src/site/resources/images/surveyforge-logo.svg (rev 0) +++ trunk/src/site/resources/images/surveyforge-logo.svg 2006-06-27 08:55:07 UTC (rev 11) @@ -0,0 +1,380 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://web.resource.org/cc/" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="300" + height="60" + id="svg1872" + sodipodi:version="0.32" + inkscape:version="0.44" + sodipodi:docbase="U:\proyectos\otros\surveyforge\src\site\resources\images" + sodipodi:docname="surveyforge-logo.svg" + inkscape:export-filename="U:\proyectos\otros\surveyforge\src\site\resources\images\surveyforge-logo.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" + version="1.0"> + <defs + id="defs1874"> + <linearGradient + id="linearGradient4376"> + <stop + id="stop4377" + offset="0.0000000" + style="stop-color:#000000;stop-opacity:0.52645504;" /> + <stop + id="stop4378" + offset="1.0000000" + style="stop-color:#000000;stop-opacity:0.0000000;" /> + </linearGradient> + <linearGradient + id="linearGradient4362"> + <stop + id="stop4363" + offset="0.0000000" + style="stop-color:#ffffff;stop-opacity:0.66666669;" /> + <stop + id="stop4364" + offset="1.0000000" + style="stop-color:#ffffff;stop-opacity:0.0000000;" /> + </linearGradient> + <linearGradient + id="linearGradient44679"> + <stop + id="stop44680" + offset="0.0000000" + style="stop-color:#ffffff;stop-opacity:1.0000000;" /> + <stop + id="stop44681" + offset="1.0000000" + style="stop-color:#ffffff;stop-opacity:0.0000000;" /> + </linearGradient> + <linearGradient + id="linearGradient7971"> + <stop + id="stop7972" + offset="0.0000000" + style="stop-color:#ffffff;stop-opacity:1.0000000;" /> + <stop + id="stop7973" + offset="1.0000000" + style="stop-color:#000000;stop-opacity:1.0000000;" /> + </linearGradient> + <linearGradient + id="linearGradient44688"> + <stop + id="stop44689" + offset="0.0000000" + style="stop-color:#ffffff;stop-opacity:0.60317463;" /> + <stop + id="stop44690" + offset="1.0000000" + style="stop-color:#ffffff;stop-opacity:0.0000000;" /> + </linearGradient> + <linearGradient + id="linearGradient975"> + <stop + id="stop976" + offset="0.0000000" + style="stop-color:#000000;stop-opacity:0.52645504;" /> + <stop + id="stop977" + offset="1.0000000" + style="stop-color:#000000;stop-opacity:0.0000000;" /> + </linearGradient> + <linearGradient + id="linearGradient3837"> + <stop + style="stop-color:black;stop-opacity:1;" + offset="0" + id="stop3839" /> + <stop + style="stop-color:#1f1789;stop-opacity:1;" + offset="1" + id="stop3841" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient44679" + id="radialGradient4307" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.364154,0,0,0.289395,57.75314,-3.65867)" + cx="40.646023" + cy="97.969994" + fx="40.646023" + fy="97.580429" + r="25.264376" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient44688" + id="radialGradient4309" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.287647,0,0,0.366366,57.75314,-3.65867)" + cx="69.988747" + cy="21.036442" + fx="69.988747" + fy="20.454355" + r="21.921551" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient7971" + id="linearGradient4311" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.253657,0,0,0.415458,57.75315,-3.65867)" + x1="114.53999" + y1="7.265635" + x2="45.601177" + y2="48.756588" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient44688" + id="radialGradient4313" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.249501,0,0,0.422379,57.75314,-3.65867)" + cx="91.906975" + cy="27.943232" + fx="91.906975" + fy="27.943232" + r="37.222824" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient975" + id="linearGradient4315" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.391111,0,0,0.269449,57.75314,-3.65867)" + x1="43.844299" + y1="54.406822" + x2="43.844299" + y2="65.237" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4376" + id="linearGradient4595" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.351669,0,0,0.739826,-121.4935,-185.0323)" + x1="50.52668" + y1="57.093739" + x2="50.203205" + y2="74.834396" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient4362" + id="radialGradient4597" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.114603,0,0,0.897181,-121.4935,-185.0323)" + cx="48.401649" + cy="32.467052" + fx="48.401649" + fy="33.351631" + r="18.836344" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient4362" + id="radialGradient4599" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.091482,0,0,0.916186,-121.4935,-185.0323)" + cx="45.139622" + cy="88.322678" + fx="45.506371" + fy="87.892899" + r="22.009041" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient4362" + id="radialGradient4601" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.622914,0,0,1.605358,-121.4935,-185.0323)" + cx="117.17439" + cy="58.540249" + fx="118.06427" + fy="58.887859" + r="11.123441" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient4362" + id="radialGradient4603" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.816497,0,0,1.224745,-121.4935,-185.0323)" + cx="86.542038" + cy="61.38567" + fx="86.542038" + fy="61.38567" + r="5.5130482" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.2" + inkscape:cx="234" + inkscape:cy="30" + inkscape:document-units="px" + inkscape:current-layer="layer1" + inkscape:window-width="942" + inkscape:window-height="839" + inkscape:window-x="110" + inkscape:window-y="145" + width="300px" + height="60px" /> + <metadata + id="metadata1877"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer" + transform="translate(-11.72125,-4.902174)"> + <text + xml:space="preserve" + style="font-size:12px;font-style:italic;font-weight:bold;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Verdana" + x="77.007805" + y="46.872398" + id="text3845"><tspan + sodipodi:role="line" + id="tspan3847" + x="77.007805" + y="46.872398" + style="font-size:32px;font-style:italic;font-weight:bold;fill:#b3b3b3;fill-opacity:1">SurveyForge</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:italic;font-weight:bold;fill:black;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Verdana" + x="80" + y="44.166664" + id="text1880"><tspan + sodipodi:role="line" + id="tspan1882" + x="80" + y="44.166664" + style="font-size:32px;font-style:italic;font-weight:bold;fill:black;fill-opacity:1">SurveyForge</tspan></text> + <g + id="g4296" + transform="translate(-19.99999,10.83333)"> + <path + style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.21736002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="cccc" + id="path9383" + d="M 76.15303,20.620213 C 77.694825,22.302949 78.675967,25.317851 80.848497,25.317852 C 82.950945,24.733568 83.231272,19.732102 83.511597,18.657021 C 81.128823,20.293014 78.675968,21.227867 76.15303,20.620213 z " /> + <path + transform="matrix(0.143115,0,0,0.143181,56.00743,2.303977)" + style="fill:#ad834c;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:8.50416374;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:type="arc" + sodipodi:ry="57.825485" + sodipodi:rx="60.94183" + sodipodi:cy="70.290855" + sodipodi:cx="150.27701" + id="path3713" + d="M 211.21884 70.290855 A 60.94183 57.825485 0 1 1 89.335178,70.290855 A 60.94183 57.825485 0 1 1 211.21884 70.290855 z" /> + <path + style="fill:#6c82df;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.21736002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="ccssssc" + id="path4369" + d="M 66.739308,29.322445 C 66.612495,37.501888 87.593095,38.437263 87.542358,29.322445 C 88.043838,22.073878 84.438753,17.952481 83.542883,18.653184 C 83.087999,19.008971 82.918985,26.91038 79.845418,25.092895 C 78.351188,24.20932 76.679847,20.815299 75.948584,20.702696 C 74.845145,20.532784 72.732214,19.639373 70.791674,17.9673 C 70.282559,17.528624 66.911183,22.037825 66.739308,29.322445 z " /> + <path + style="fill:#efb700;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.21736002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="ccscc" + id="path3720" + d="M 68.142804,8.8763938 C 68.156063,11.117783 78.553915,12.089146 83.400843,9.6107907 C 82.27866,19.073845 88.463353,20.328831 83.825186,29.103367 C 82.336104,31.92043 100.98478,21.147535 87.390054,3.3719762 C 86.837683,-3.5680039 69.372226,-5.6836436 68.142804,8.8763938 z " /> + <path + style="fill:url(#radialGradient4307);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + id="path44676" + d="M 69.500661,22.149376 C 68.501686,24.96869 67.481729,28.298767 68.492834,31.166014 C 71.210076,35.008252 76.690036,35.061154 80.906496,34.418596 C 83.858745,33.941488 86.771133,31.475993 86.149017,28.236464 C 86.178548,25.749117 85.665505,23.191001 84.301729,21.084186 C 83.94938,23.331719 83.228462,27.014696 80.274726,26.814897 C 77.090344,26.17371 76.515792,21.80333 73.174481,21.397282 C 71.618076,20.23089 70.191556,19.445509 69.60744,21.956454 L 69.500661,22.149376 z " /> + <path + style="fill:url(#radialGradient4309);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + id="path44699" + d="M 75.857291,-0.36163891 C 72.012416,0.79292673 69.211401,4.5685206 69.060365,8.5555229 C 72.669355,10.331221 76.989696,9.8938216 80.741338,8.9566 C 82.551775,7.3771631 85.03338,9.5471647 84.200941,11.633621 C 83.825781,16.72123 87.83512,21.58057 85.748342,26.653608 C 91.199985,22.026724 91.908317,13.488463 88.102483,7.6137926 C 86.868912,5.672702 85.719552,3.6603157 84.706856,1.6325839 C 82.594353,-0.79459361 78.795519,-0.9367559 75.857291,-0.36163891 z " /> + <path + style="fill:url(#linearGradient4311);fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.02872884;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="cccccccc" + id="path7968" + d="M 80.43496,-1.9489498 C 81.577964,-1.84137 83.183873,-1.5181528 84.008944,-0.93367499 C 85.799479,2.360625 86.212035,4.7700899 86.18212,9.6071404 C 88.613089,12.044913 85.675712,14.658798 83.728296,14.568174 C 82.270051,17.449878 75.596607,19.78949 75.186051,16.953786 C 74.942199,13.426796 80.168384,17.626515 82.21922,13.380599 C 81.430442,11.999521 81.250084,9.9271048 83.945642,9.1569776 C 84.4437,5.782885 83.262011,2.0230982 80.43496,-1.9489498 z " /> + <path + style="fill:url(#radialGradient4313);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.16893363;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="cccccccc" + id="path44704" + d="M 79.978926,-1.9494866 C 81.12193,-1.8419067 82.727839,-1.5186896 83.55291,-0.93421175 C 85.343445,2.3600883 85.756,4.7695585 85.726086,9.6066036 C 88.157054,12.044376 85.219677,14.658261 83.272261,14.567637 C 81.814017,17.449341 75.140573,19.788954 74.730017,16.953249 C 74.486165,13.426259 79.71235,17.625979 81.763186,13.380062 C 80.974408,11.998984 80.794051,9.9265681 83.489607,9.1564356 C 83.987667,5.7823483 82.805977,2.0225614 79.978926,-1.9494866 z " /> + <path + style="fill:url(#linearGradient4315);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:8.50416374;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + id="path44709" + d="M 68.987413,10.084049 C 68.741691,10.848713 68.571482,11.637539 68.571482,12.47819 C 68.571482,17.048505 72.471351,20.75624 77.285751,20.75624 C 80.036429,20.75624 82.463471,19.522126 84.062388,17.631684 C 83.789852,16.787637 83.516767,15.908658 83.331972,14.90277 C 81.6461,17.674301 75.362033,19.822311 74.962622,17.063583 C 74.71877,13.536593 79.94204,17.738582 81.992876,13.49266 C 81.408747,12.469903 81.171386,11.075707 82.17548,10.104338 C 78.067692,11.654603 71.487205,11.343618 68.987413,10.084049 z " /> + </g> + <g + id="g4582" + transform="matrix(0.34041,0,0,0.34041,50.14095,81.51153)"> + <path + style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="cccc" + id="path4568" + d="M -62.160315,-114.78173 C -57.410914,-109.59817 -54.388567,-100.31096 -47.696228,-100.31095 C -41.219771,-102.1108 -40.356243,-117.5175 -39.492716,-120.82922 C -46.8327,-115.78965 -54.388566,-112.90989 -62.160315,-114.78173 z " /> + <path + transform="matrix(0.440859,0,0,0.441062,-124.2176,-171.2037)" + style="fill:#f1bb96;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:8.50416374;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:type="arc" + sodipodi:ry="57.825485" + sodipodi:rx="60.94183" + sodipodi:cy="70.290855" + sodipodi:cx="150.27701" + id="path4570" + d="M 211.21884 70.290855 A 60.94183 57.825485 0 1 1 89.335178,70.290855 A 60.94183 57.825485 0 1 1 211.21884 70.290855 z" /> + <path + style="fill:#233e6a;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="ccssssc" + id="path4572" + d="M -91.158686,-87.975062 C -91.549327,-62.778801 -26.919928,-59.897441 -27.076228,-87.975062 C -25.531441,-110.30381 -36.636672,-122.99951 -39.396343,-120.84104 C -40.797584,-119.74506 -41.318219,-95.405276 -50.786151,-101.00392 C -55.389031,-103.72572 -60.537489,-114.18078 -62.790096,-114.52765 C -66.189171,-115.05105 -72.697919,-117.80315 -78.675633,-122.95386 C -80.243926,-124.30518 -90.629237,-110.41487 -91.158686,-87.975062 z " /> + <path + style="fill:#513624;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="ccccc" + id="path11309" + d="M -63.244122,-178.88384 C -81.153938,-176.56279 -96.016562,-164.31407 -90.073375,-136.45331 C -88.35934,-126.70975 -80.814068,-122.64119 -78.045172,-141.40194 C -70.147604,-138.91619 -35.947659,-128.95808 -29.239288,-146.29909 C -25.246117,-153.4664 -33.552379,-181.26561 -63.244122,-178.88384 z " /> + <path + style="fill:#1f4eb3;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="cccc" + id="path11942" + d="M -50.611533,-72.786801 C -50.758994,-89.477985 -52.878351,-98.765199 -47.165384,-99.989415 C -41.6683,-100.88284 -38.601184,-81.558661 -37.737657,-78.246941 C -34.549389,-62.230011 -48.226332,-59.478371 -50.611533,-72.786801 z " /> + <path + style="fill:url(#linearGradient4595);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:8.50416374;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + id="path1811" + d="M -31.367927,-142.79288 C -41.251977,-130.62058 -70.785299,-139.19212 -78.055427,-141.48038 C -79.024396,-134.9151 -80.589943,-131.28306 -82.274177,-129.57413 C -78.001993,-120.85572 -68.75229,-114.79288 -57.961677,-114.79288 C -43.131227,-114.79288 -31.117927,-126.21433 -31.117927,-140.29288 C -31.117927,-141.15101 -31.280587,-141.95645 -31.367927,-142.79288 z " /> + <path + style="fill:url(#radialGradient4597);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="ccccc" + id="path1817" + d="M -61.865023,-178.77444 C -79.774843,-176.45339 -94.637463,-164.20467 -88.694283,-136.34391 C -86.980243,-126.60035 -79.434973,-122.53179 -76.666073,-141.29254 C -68.768503,-138.80679 -34.568563,-128.84868 -27.860193,-146.18969 C -23.867023,-153.357 -32.173283,-181.15621 -61.865023,-178.77444 z " /> + <path + style="fill:url(#radialGradient4599);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + id="path1819" + d="M -79.431033,-119.21982 C -86.567449,-108.77073 -89.978115,-95.220683 -88.149783,-82.751071 C -81.089504,-70.430661 -64.62706,-68.555601 -51.743533,-69.782321 C -52.805063,-78.330281 -53.384053,-87.430392 -52.208563,-96.022107 C -49.712917,-100.45141 -58.021891,-102.33145 -59.087283,-106.71982 C -62.396357,-113.95976 -71.494072,-113.14198 -76.739685,-118.40192 C -77.609907,-118.60526 -78.690312,-120.97373 -79.431033,-119.21982 z M -38.243533,-115.31357 C -39.389543,-110.00685 -39.923192,-104.28151 -43.274783,-99.782321 C -38.09139,-92.850791 -36.749566,-83.668751 -35.368533,-75.313571 C -25.792517,-82.049391 -28.505482,-95.653747 -30.719437,-105.42643 C -31.719883,-109.29578 -35.057082,-117.37398 -37.883621,-116.81005 C -37.96157,-116.48595 -38.201509,-115.4883 -38.243533,-115.31357 z " /> + <path + style="fill:url(#radialGradient4601);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="cccc" + id="path1823" + d="M -51.047838,-72.471191 C -51.195298,-89.162383 -53.314656,-98.449593 -47.601688,-99.673809 C -42.104608,-100.56723 -39.037488,-81.243051 -38.173958,-77.931331 C -34.985698,-61.914401 -48.662638,-59.162761 -51.047838,-72.471191 z " /> + <path + style="fill:#1f4eb3;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + sodipodi:nodetypes="ccccc" + id="path1825" + d="M -43.931204,-105.56556 C -43.931204,-102.98523 -45.947825,-100.89105 -48.432589,-100.89105 C -50.917354,-100.89105 -52.933975,-102.98523 -52.933975,-105.56556 C -52.933975,-108.14589 -52.302396,-114.3952 -49.817631,-114.3952 C -47.332867,-114.3952 -43.931204,-108.14589 -43.931204,-105.56556 z " /> + <path + style="fill:url(#radialGradient4603);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" + sodipodi:nodetypes="ccccc" + id="path1827" + d="M -44.969989,-106.08495 C -44.969989,-103.50462 -46.986609,-101.41044 -49.471369,-101.41044 C -51.956139,-101.41044 -53.972759,-103.50462 -53.972759,-106.08495 C -53.972759,-108.66528 -53.341179,-114.91459 -50.856419,-114.91459 C -48.371649,-114.91459 -44.969989,-108.66528 -44.969989,-106.08495 z " /> + </g> + </g> +</svg> Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2006-06-27 08:53:08 UTC (rev 10) +++ trunk/src/site/site.xml 2006-06-27 08:55:07 UTC (rev 11) @@ -2,29 +2,25 @@ <project name="SurveyForge"> <bannerLeft> <name>SurveyForge</name> - <!-- src>http://maven.apache.org/images/apache-maven-project.png</src --> + <src>images/surveyforge-logo.png</src> <href>http://www.surveyforge.org/</href> </bannerLeft> -<!-- <bannerRight> - <src>http://maven.apache.org/images/maven-small.gif</src> + <name>OPEN input</name> + <src>http://www.openinput.com/style/corporate/logo.png</src> + <href>http://www.openinput.com/</href> </bannerRight> ---> <body> <links> - <!-- <item name="surveyforge core" href="http://www.surveyforge.org/surveyforge-core/" /> --> <item name="Maven" href="http://maven.apache.org/"/> - <!-- <item name="Spring" href="http://www.springframework.org/"/> --> </links> - - <menu name="SurveyForge"> + <menu name="SurveyForge Project"> <item name="Introduction" href="index.html"/> <item name="Features" href="features.html" /> <item name="Road Map" href="roadmap.html" /> <item name="Download" href="download.html"/> </menu> - - ${reports} - + <menu ref="modules" /> + <menu ref="reports" /> </body> </project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-27 08:53:19
|
Revision: 10 Author: jgongo Date: 2006-06-27 01:53:08 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=10&view=rev Log Message: ----------- 1. Definition of reports to be included in every module, with default configuration 2. Fixed incorrect scm urls 3. Fixed problem with accents Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2006-06-21 07:29:31 UTC (rev 9) +++ trunk/pom.xml 2006-06-27 08:53:08 UTC (rev 10) @@ -48,7 +48,7 @@ <developers> <developer> <id>jgongo</id> - <name>José González Gómez</name> + <name>José González Gómez</name> <email>jg...@us...</email> <url>http://sourceforge.net/users/jgongo/</url> <organization>OPEN input</organization> @@ -60,7 +60,7 @@ </developer> <developer> <id>javism</id> - <name>Javier Segura Martínez</name> + <name>Javier Segura Martínez</name> <email>ja...@us...</email> <url>http://sourceforge.net/users/javism/</url> <roles> @@ -77,8 +77,8 @@ </license> </licenses> <scm> - <connection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge</connection> - <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge</developerConnection> + <connection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge/trunk/</connection> + <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge/trunk/</developerConnection> <url>http://svn.sourceforge.net/viewcvs.cgi/surveyforge/</url> </scm> <organization> @@ -105,9 +105,18 @@ <plugin> <artifactId>maven-release-plugin</artifactId> <configuration> - <tagBase>https://svn.sourceforge.net/svnroot/surveyforge/tags</tagBase> + <tagBase>https://svn.sourceforge.net/svnroot/surveyforge/tags/</tagBase> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <suiteXmlFiles> + <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile> + </suiteXmlFiles> + </configuration> + </plugin> </plugins> </build> <modules> @@ -125,6 +134,14 @@ <reporting> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <configuration> + <inputEncoding>UTF-8</inputEncoding> + <outputEncoding>UTF-8</outputEncoding> + </configuration> + </plugin> + <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> @@ -139,6 +156,51 @@ </reportSet> </reportSets> </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <charset>UTF-8</charset> + <docencoding>UTF-8</docencoding> + <encoding>UTF-8</encoding> + <show>private</show> + <links> + <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> + </links> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>changelog-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <rulesets> + <ruleset>/rulesets/basic.xml</ruleset> + <ruleset>/rulesets/controversial.xml</ruleset> + </rulesets> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>1.5</targetJdk> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> </plugins> </reporting> <dependencyManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-21 07:29:43
|
Revision: 9 Author: jgongo Date: 2006-06-21 00:29:31 -0700 (Wed, 21 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=9&view=rev Log Message: ----------- Dependency management added for TestNG Issue: 1509119 Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2006-06-20 08:30:57 UTC (rev 8) +++ trunk/pom.xml 2006-06-21 07:29:31 UTC (rev 9) @@ -154,6 +154,13 @@ <version>${project.version}</version> </dependency> <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <version>4.7</version> + <classifier>jdk15</classifier> + <scope>test</scope> + </dependency> + <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> @@ -162,6 +169,7 @@ <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.13</version> + <scope>runtime</scope> </dependency> <dependency> <groupId>javax.persistence</groupId> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ja...@us...> - 2006-06-20 08:31:11
|
Revision: 8 Author: javism Date: 2006-06-20 01:30:57 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=8&view=rev Log Message: ----------- Add support for showing private methods and attributes on javadoc files. Modified Paths: -------------- trunk/surveyforge-core/pom.xml Modified: trunk/surveyforge-core/pom.xml =================================================================== --- trunk/surveyforge-core/pom.xml 2006-06-15 12:28:59 UTC (rev 7) +++ trunk/surveyforge-core/pom.xml 2006-06-20 08:30:57 UTC (rev 8) @@ -23,6 +23,7 @@ <charset>UTF-8</charset> <docencoding>UTF-8</docencoding> <encoding>UTF-8</encoding> + <show>private</show> <links> <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> </links> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-15 12:41:32
|
Revision: 7 Author: jgongo Date: 2006-06-15 05:28:59 -0700 (Thu, 15 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=7&view=rev Log Message: ----------- Added scope: provided to java persistence API dependency in pom.xml Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2006-06-15 12:19:04 UTC (rev 6) +++ trunk/pom.xml 2006-06-15 12:28:59 UTC (rev 7) @@ -167,6 +167,7 @@ <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> + <scope>provided</scope> </dependency> </dependencies> </dependencyManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-15 12:41:29
|
Revision: 6 Author: jgongo Date: 2006-06-15 05:19:04 -0700 (Thu, 15 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=6&view=rev Log Message: ----------- Added dependency management entry for java persistence API from java.net maven repository Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2006-06-15 08:54:34 UTC (rev 5) +++ trunk/pom.xml 2006-06-15 12:19:04 UTC (rev 6) @@ -114,6 +114,14 @@ <module>surveyforge-classification</module> <module>surveyforge-core</module> </modules> + <repositories> + <repository> + <id>java.net</id> + <name>Java.net Maven Repository</name> + <url>https://maven-repository.dev.java.net/nonav/repository/</url> + <layout>legacy</layout> + </repository> + </repositories> <reporting> <plugins> <plugin> @@ -155,6 +163,11 @@ <artifactId>log4j</artifactId> <version>1.2.13</version> </dependency> + <dependency> + <groupId>javax.persistence</groupId> + <artifactId>persistence-api</artifactId> + <version>1.0</version> + </dependency> </dependencies> </dependencyManagement> <distributionManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-15 08:55:07
|
Revision: 5 Author: jgongo Date: 2006-06-15 01:54:34 -0700 (Thu, 15 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=5&view=rev Log Message: ----------- Initial structure of classification and core modules Modified Paths: -------------- trunk/pom.xml Added Paths: ----------- trunk/surveyforge-classification/ trunk/surveyforge-classification/LICENSE.txt trunk/surveyforge-classification/pom.xml trunk/surveyforge-classification/src/ trunk/surveyforge-classification/src/main/ trunk/surveyforge-classification/src/main/java/ trunk/surveyforge-classification/src/main/java/org/ trunk/surveyforge-classification/src/main/java/org/surveyforge/ trunk/surveyforge-classification/src/main/java/org/surveyforge/classification/ trunk/surveyforge-core/ trunk/surveyforge-core/LICENSE.txt trunk/surveyforge-core/pom.xml trunk/surveyforge-core/src/ trunk/surveyforge-core/src/main/ trunk/surveyforge-core/src/main/java/ trunk/surveyforge-core/src/main/java/org/ trunk/surveyforge-core/src/main/java/org/surveyforge/ trunk/surveyforge-core/src/main/java/org/surveyforge/core/ trunk/surveyforge-core/src/main/java/org/surveyforge/core/data/ trunk/surveyforge-core/src/main/java/org/surveyforge/core/metadata/ Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2006-06-14 12:57:37 UTC (rev 4) +++ trunk/pom.xml 2006-06-15 08:54:34 UTC (rev 5) @@ -1,3 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <groupId>org.surveyforge</groupId> @@ -47,7 +48,7 @@ <developers> <developer> <id>jgongo</id> - <name>Jos\xE9 Gonz\xE1lez G\xF3mez</name> + <name>José González Gómez</name> <email>jg...@us...</email> <url>http://sourceforge.net/users/jgongo/</url> <organization>OPEN input</organization> @@ -59,7 +60,7 @@ </developer> <developer> <id>javism</id> - <name>Javier Segura Mart\xEDnez</name> + <name>Javier Segura Martínez</name> <email>ja...@us...</email> <url>http://sourceforge.net/users/javism/</url> <roles> @@ -110,7 +111,8 @@ </plugins> </build> <modules> - <!-- <module>surveyforge-core</module> --> + <module>surveyforge-classification</module> + <module>surveyforge-core</module> </modules> <reporting> <plugins> @@ -131,6 +133,30 @@ </plugin> </plugins> </reporting> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge-classification</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge-core</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.0.4</version> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.13</version> + </dependency> + </dependencies> + </dependencyManagement> <distributionManagement> <repository> <uniqueVersion>false</uniqueVersion> Added: trunk/surveyforge-classification/LICENSE.txt =================================================================== --- trunk/surveyforge-classification/LICENSE.txt (rev 0) +++ trunk/surveyforge-classification/LICENSE.txt 2006-06-15 08:54:34 UTC (rev 5) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: trunk/surveyforge-classification/pom.xml =================================================================== --- trunk/surveyforge-classification/pom.xml (rev 0) +++ trunk/surveyforge-classification/pom.xml 2006-06-15 08:54:34 UTC (rev 5) @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <parent> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge</artifactId> + <version>0.1-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>surveyforge-classification</artifactId> + <name>SurveyForge Classification API</name> + <dependencies> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + <reporting> + <plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <charset>UTF-8</charset> + <docencoding>UTF-8</docencoding> + <encoding>UTF-8</encoding> + <links> + <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> + </links> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>changelog-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jxr-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + </plugin> + </plugins> + </reporting> +</project> Property changes on: trunk/surveyforge-classification/pom.xml ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/surveyforge-core/LICENSE.txt =================================================================== --- trunk/surveyforge-core/LICENSE.txt (rev 0) +++ trunk/surveyforge-core/LICENSE.txt 2006-06-15 08:54:34 UTC (rev 5) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: trunk/surveyforge-core/pom.xml =================================================================== --- trunk/surveyforge-core/pom.xml (rev 0) +++ trunk/surveyforge-core/pom.xml 2006-06-15 08:54:34 UTC (rev 5) @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <parent> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge</artifactId> + <version>0.1-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>surveyforge-core</artifactId> + <name>SurveyForge Core API</name> + <dependencies> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <scope>compile</scope> + </dependency> + </dependencies> + <reporting> + <plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <charset>UTF-8</charset> + <docencoding>UTF-8</docencoding> + <encoding>UTF-8</encoding> + <links> + <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> + </links> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>changelog-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jxr-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + </plugin> + </plugins> + </reporting> +</project> Property changes on: trunk/surveyforge-core/pom.xml ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-14 12:58:05
|
Revision: 4 Author: jgongo Date: 2006-06-14 05:57:37 -0700 (Wed, 14 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=4&view=rev Log Message: ----------- POM, license and first draft of site Added Paths: ----------- trunk/LICENSE.txt trunk/pom.xml trunk/src/ trunk/src/site/ trunk/src/site/apt/ trunk/src/site/apt/download.apt trunk/src/site/apt/features.apt trunk/src/site/apt/index.apt trunk/src/site/apt/roadmap.apt trunk/src/site/site.xml Added: trunk/LICENSE.txt =================================================================== --- trunk/LICENSE.txt (rev 0) +++ trunk/LICENSE.txt 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: trunk/pom.xml =================================================================== --- trunk/pom.xml (rev 0) +++ trunk/pom.xml 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,148 @@ +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.surveyforge</groupId> + <artifactId>surveyforge</artifactId> + <packaging>pom</packaging> + <name>SurveyForge</name> + <version>0.1-SNAPSHOT</version> + <url>http://www.surveyforge.org/</url> + <issueManagement> + <system>SourceForge issue management system</system> + <url>http://sourceforge.net/tracker/?group_id=169885</url> + </issueManagement> + <ciManagement> + <system>No countinous integration management yet</system> + <url>http://www.surveyforge.org/</url> + <notifiers> + <notifier> + <type>Unknown</type> + <address>DEPRECATED</address> + </notifier> + </notifiers> + </ciManagement> + <inceptionYear>2006</inceptionYear> + <mailingLists> + <mailingList> + <name>SurveyForge users list</name> + <subscribe>sur...@li...</subscribe> + <unsubscribe>sur...@li...</unsubscribe> + <post>sur...@li...</post> + <archive>http://sourceforge.net/mailarchive/forum.php?forum=surveyforge-user</archive> + </mailingList> + <mailingList> + <name>SurveyForge developers list</name> + <subscribe>sur...@li...</subscribe> + <unsubscribe>sur...@li...</unsubscribe> + <post>sur...@li...</post> + <archive>http://sourceforge.net/mailarchive/forum.php?forum=surveyforge-devel</archive> + </mailingList> + <mailingList> + <name>SurveyForge svn commit list</name> + <subscribe>sur...@li...</subscribe> + <unsubscribe>sur...@li...</unsubscribe> + <post>sur...@li...</post> + <archive>http://sourceforge.net/mailarchive/forum.php?forum=surveyforge-svn</archive> + </mailingList> + </mailingLists> + <developers> + <developer> + <id>jgongo</id> + <name>Jos\xE9 Gonz\xE1lez G\xF3mez</name> + <email>jg...@us...</email> + <url>http://sourceforge.net/users/jgongo/</url> + <organization>OPEN input</organization> + <organizationUrl>http://www.openinput.com/</organizationUrl> + <roles> + <role>Creator</role> + </roles> + <timezone>1</timezone> + </developer> + <developer> + <id>javism</id> + <name>Javier Segura Mart\xEDnez</name> + <email>ja...@us...</email> + <url>http://sourceforge.net/users/javism/</url> + <roles> + <role>Creator</role> + </roles> + <timezone>1</timezone> + </developer> + </developers> + <licenses> + <license> + <name>GNU General Public License (GPL)</name> + <url>LICENSE.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <connection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge</connection> + <developerConnection>scm:svn:https://svn.sourceforge.net/svnroot/surveyforge</developerConnection> + <url>http://svn.sourceforge.net/viewcvs.cgi/surveyforge/</url> + </scm> + <organization> + <name>OPEN input</name> + <url>http://www.openinput.com/</url> + </organization> + <build> + <extensions> + <extension> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh-external</artifactId> + <version>1.0-alpha-6</version> + </extension> + </extensions> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + <encoding>UTF-8</encoding> + </configuration> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <tagBase>https://svn.sourceforge.net/svnroot/surveyforge/tags</tagBase> + </configuration> + </plugin> + </plugins> + </build> + <modules> + <!-- <module>surveyforge-core</module> --> + </modules> + <reporting> + <plugins> + <plugin> + <artifactId>maven-project-info-reports-plugin</artifactId> + <reportSets> + <reportSet> + <reports> + <report>dependencies</report> + <report>mailing-list</report> + <report>scm</report> + <report>issue-tracking</report> + <report>license</report> + <report>project-team</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + <distributionManagement> + <repository> + <uniqueVersion>false</uniqueVersion> + <id>surveyforge.org</id> + <name>SurveyForge Maven2 repository</name> + <url>scp://surveyforge.org/home/surveyforge/surveyforge.org/html/maven2</url> + </repository> + <site> + <id>surveyforge.org</id> + <name>SurveyForge development web</name> + <url>scp://surveyforge.org/home/surveyforge/surveyforge.org/html</url> + </site> + <downloadUrl>http://sourceforge.net/project/showfiles.php?group_id=169885</downloadUrl> + </distributionManagement> +</project> \ No newline at end of file Property changes on: trunk/pom.xml ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/src/site/apt/download.apt =================================================================== --- trunk/src/site/apt/download.apt (rev 0) +++ trunk/src/site/apt/download.apt 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,11 @@ + ----- + SurveyForge - Download + ----- + $Author$ + ----- + $Date$ + +Download + + You may find the latest version of <<SurveyForge>> at the + {{{http://sourceforge.net/project/showfiles.php?group_id=169885}files section}} of the project. Property changes on: trunk/src/site/apt/download.apt ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/src/site/apt/features.apt =================================================================== --- trunk/src/site/apt/features.apt (rev 0) +++ trunk/src/site/apt/features.apt 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,21 @@ + ----- + SurveyForge - Features & Benefits + ----- + $Author$ + ----- + $Date$ + +SurveyForge features + +* surveyforge core + + * <<Metadata based data>> - Every survey will be defined using metadata. + + +* surveyforge designer + + Stay tuned for features in this module. + +* surveyforge runner + + Stay tuned for features in this module. Property changes on: trunk/src/site/apt/features.apt ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/src/site/apt/index.apt =================================================================== --- trunk/src/site/apt/index.apt (rev 0) +++ trunk/src/site/apt/index.apt 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,38 @@ + ----- + SurveyForge - Introduction + ----- + $Author$ + ----- + $Date$ + +What is SurveyForge? + + SurveyForge is a survey definition and execution tool providing the following: + + [[1]] <<surveyforge core>> - A set of core classes that may be used programatically + to be embedded in any application, letting you to work with classifications, define + surveys using metadata and working with survey data. + + [[2]] <<surveyforge designer>> - A GUI application that will let you define surveys. + + [[3]] <<surveyforge runner>> - A tool to run surveys. + +Why another survey tool? + + SurveyForge tries to provide some features that we found lacking at some of the most popular survey tools: + + [[1]] The intended audience of <<SurveyForge>> will be statisticians wanting to run a survey and possibly + performing themselves the data entry process. Most of the tools currently available are oriented to running + a survey on the web with respondents directly filling in the questionnaire + + [[2]] <<SurveyForge>> will make special emphasis on data entry. Most (all?) of the tools available just show + a standard HTML interface. This may be suitable for a single respondent filling in a single questionnaire, + but unsuitable for massive data entry. + + [[3]] <<SurveyForge>> will make use of existing standards. Very few (none?) of the tools available make use + of standards for survey interchange ({{{http://www.triple-s.org/}Triple-S}}, {{{http://www.icpsr.umich.edu/DDI/}DDI}}) + + [[4]] <<SurveyForge>> will provide tools for reuse of standard (or not) classifications. Very few (none?) of + the tools available provide functionality for loading and reusing standard classifications used in statistics + (for example, {{{http://www.who.int/classifications/icd/}International Disease Classification (IDC)}} for + medical surveys), or even for defining classifications to be reused across surveys in a organization \ No newline at end of file Property changes on: trunk/src/site/apt/index.apt ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/src/site/apt/roadmap.apt =================================================================== --- trunk/src/site/apt/roadmap.apt (rev 0) +++ trunk/src/site/apt/roadmap.apt 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,20 @@ + ----- + SurveyForge - Road Map + ----- + $Author$ + ----- + $Date$ + +Current status + + <<SurveyForge>> is in planning phase, and we hope to release some files real soon. + +Where are we going? + + Here is a rough planning of future versions: + + * <<0.1>> - Core library supporting classifications, survey metadata and data. + + * <<0.2>> - Basic survey runner providing minimal functionality for running surveys. + + * <<0.3>> - TBD \ No newline at end of file Property changes on: trunk/src/site/apt/roadmap.apt ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id Added: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml (rev 0) +++ trunk/src/site/site.xml 2006-06-14 12:57:37 UTC (rev 4) @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="SurveyForge"> + <bannerLeft> + <name>SurveyForge</name> + <!-- src>http://maven.apache.org/images/apache-maven-project.png</src --> + <href>http://www.surveyforge.org/</href> + </bannerLeft> +<!-- + <bannerRight> + <src>http://maven.apache.org/images/maven-small.gif</src> + </bannerRight> +--> + <body> + <links> + <!-- <item name="surveyforge core" href="http://www.surveyforge.org/surveyforge-core/" /> --> + <item name="Maven" href="http://maven.apache.org/"/> + <!-- <item name="Spring" href="http://www.springframework.org/"/> --> + </links> + + <menu name="SurveyForge"> + <item name="Introduction" href="index.html"/> + <item name="Features" href="features.html" /> + <item name="Road Map" href="roadmap.html" /> + <item name="Download" href="download.html"/> + </menu> + + ${reports} + + </body> +</project> \ No newline at end of file Property changes on: trunk/src/site/site.xml ___________________________________________________________________ Name: svn:keywords + Date Revision Author HeadURL Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-14 12:03:32
|
Revision: 3 Author: jgongo Date: 2006-06-14 05:03:21 -0700 (Wed, 14 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=3&view=rev Log Message: ----------- Properties for issue management integration Property Changed: ---------------- trunk/ Property changes on: trunk ___________________________________________________________________ Name: bugtraq:url + http://sourceforge.net/tracker/index.php?func=detail&aid=%BUGID%&group_id=169885&atid=852142 Name: bugtraq:message + Issue: %BUGID% This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-14 11:42:31
|
Revision: 2 Author: jgongo Date: 2006-06-14 04:42:13 -0700 (Wed, 14 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=2&view=rev Log Message: ----------- Changes in svn:ignore for Maven/Eclipse project Property Changed: ---------------- trunk/ Property changes on: trunk ___________________________________________________________________ Name: svn:ignore + target .project .classpath .settings .wtpmodules .springBeans This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jg...@us...> - 2006-06-14 09:07:12
|
Revision: 1 Author: jgongo Date: 2006-06-14 02:06:55 -0700 (Wed, 14 Jun 2006) ViewCVS: http://svn.sourceforge.net/surveyforge/?rev=1&view=rev Log Message: ----------- Creation of SurveyForge project Added Paths: ----------- branches/ tags/ trunk/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |