incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JSPWIKI-451) Fix the copyright templates on all test cases
Date Thu, 11 Dec 2008 21:26:44 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harry Metske closed JSPWIKI-451.
--------------------------------

    Resolution: Fixed
      Assignee: Harry Metske

Fixed in 3.0.0-svn-31.

Just in case we need it again, here is the simple script that did it (I know there are scriptkiddies
that can do it in one statement)

files=`find . -name '*.java'`
echo >/tmp/logfile
licensefile=/home/metskem/licensefile
for file in $files
do
	grep -q 'http://www.apache.org/licenses/LICENSE-2.0' $file
	rc=$?
	if [  $rc = 1 ]
	then
		echo $file >> /tmp/logfile
		cat $licensefile >/tmp/workfile && cat $file >> /tmp/workfile &&
mv /tmp/workfile $file
	fi
done


The following files were updated:


./tests/com/foo/SamplePlugin3.java
./tests/com/ecyrd/jspwiki/htmltowiki/HtmlStringToWikiTranslatorTest.java
./tests/com/ecyrd/jspwiki/htmltowiki/AllTests.java
./tests/com/ecyrd/jspwiki/VariableManagerTest.java
./tests/com/ecyrd/jspwiki/parser/MarkupParserTest.java
./tests/com/ecyrd/jspwiki/parser/JSPWikiMarkupParserTest.java
./tests/com/ecyrd/jspwiki/parser/AllTests.java
./tests/com/ecyrd/jspwiki/filters/AllTests.java
./tests/com/ecyrd/jspwiki/filters/TestFilter.java
./tests/com/ecyrd/jspwiki/filters/FilterManagerTest.java
./tests/com/ecyrd/jspwiki/util/CryptoUtilTest.java
./tests/com/ecyrd/jspwiki/util/AllTests.java
./tests/com/ecyrd/jspwiki/util/CommentedPropertiesTest.java
./tests/com/ecyrd/jspwiki/util/TextUtilTest.java
./tests/com/ecyrd/jspwiki/util/SerializerTest.java
./tests/com/ecyrd/jspwiki/util/TimedCounterListTest.java
./tests/com/ecyrd/jspwiki/util/PriorityListTest.java
./tests/com/ecyrd/jspwiki/util/ClassUtilTest.java
./tests/com/ecyrd/jspwiki/util/MailUtilTest.java
./tests/com/ecyrd/jspwiki/rss/AllTests.java
./tests/com/ecyrd/jspwiki/rss/RSSGeneratorTest.java
./tests/com/ecyrd/jspwiki/ui/RedirectCommandTest.java
./tests/com/ecyrd/jspwiki/ui/AllTests.java
./tests/com/ecyrd/jspwiki/ui/InputValidatorTest.java
./tests/com/ecyrd/jspwiki/ui/WikiCommandTest.java
./tests/com/ecyrd/jspwiki/ui/GroupCommandTest.java
./tests/com/ecyrd/jspwiki/ui/PageCommandTest.java
./tests/com/ecyrd/jspwiki/ui/CommandResolverTest.java
./tests/com/ecyrd/jspwiki/diff/AllTests.java
./tests/com/ecyrd/jspwiki/diff/ContextualDiffProviderTest.java
./tests/com/ecyrd/jspwiki/TestJNDIContext.java
./tests/com/ecyrd/jspwiki/workflow/SimpleDecisionTest.java
./tests/com/ecyrd/jspwiki/workflow/AllTests.java
./tests/com/ecyrd/jspwiki/workflow/TaskTest.java
./tests/com/ecyrd/jspwiki/workflow/WorkflowManagerTest.java
./tests/com/ecyrd/jspwiki/workflow/FactTest.java
./tests/com/ecyrd/jspwiki/workflow/OutcomeTest.java
./tests/com/ecyrd/jspwiki/workflow/ApprovalWorkflowTest.java
./tests/com/ecyrd/jspwiki/workflow/WorkflowTest.java
./tests/com/ecyrd/jspwiki/AllTests.java
./tests/com/ecyrd/jspwiki/WikiEngineTest.java
./tests/com/ecyrd/jspwiki/Util.java
./tests/com/ecyrd/jspwiki/TestJDBCDataSource.java
./tests/com/ecyrd/jspwiki/dav/AllTests.java
./tests/com/ecyrd/jspwiki/dav/DavPathTest.java
./tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
./tests/com/ecyrd/jspwiki/dav/HTMLPagesDavProviderTest.java
./tests/com/ecyrd/jspwiki/dav/RawPagesDavProviderTest.java
./tests/com/ecyrd/jspwiki/render/AllTests.java
./tests/com/ecyrd/jspwiki/render/CreoleRendererTest.java
./tests/com/ecyrd/jspwiki/render/WysiwygEditingRendererTest.java
./tests/com/ecyrd/jspwiki/render/RenderingManagerTest.java
./tests/com/ecyrd/jspwiki/TextUtilTest.java
./tests/com/ecyrd/jspwiki/ReferenceManagerTest.java
./tests/com/ecyrd/jspwiki/auth/acl/AllTests.java
./tests/com/ecyrd/jspwiki/auth/acl/DefaultAclManagerTest.java
./tests/com/ecyrd/jspwiki/auth/user/AllTests.java
./tests/com/ecyrd/jspwiki/auth/user/JDBCUserDatabaseTest.java
./tests/com/ecyrd/jspwiki/auth/user/UserProfileTest.java
./tests/com/ecyrd/jspwiki/auth/user/XMLUserDatabaseTest.java
./tests/com/ecyrd/jspwiki/auth/AllTests.java
./tests/com/ecyrd/jspwiki/auth/Users.java
./tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java
./tests/com/ecyrd/jspwiki/auth/GroupManagerTest.java
./tests/com/ecyrd/jspwiki/auth/permissions/AllTests.java
./tests/com/ecyrd/jspwiki/auth/permissions/AllPermissionCollectionTest.java
./tests/com/ecyrd/jspwiki/auth/permissions/WikiPermissionTest.java
./tests/com/ecyrd/jspwiki/auth/permissions/GroupPermissionTest.java
./tests/com/ecyrd/jspwiki/auth/permissions/AllPermissionTest.java
./tests/com/ecyrd/jspwiki/auth/permissions/PagePermissionTest.java
./tests/com/ecyrd/jspwiki/auth/authorize/WebContainerAuthorizerTest.java
./tests/com/ecyrd/jspwiki/auth/authorize/JDBCGroupDatabaseTest.java
./tests/com/ecyrd/jspwiki/auth/authorize/AllTests.java
./tests/com/ecyrd/jspwiki/auth/authorize/GroupTest.java
./tests/com/ecyrd/jspwiki/auth/login/AllTests.java
./tests/com/ecyrd/jspwiki/auth/AuthorizationManagerTest.java
./tests/com/ecyrd/jspwiki/ReleaseTest.java
./tests/com/ecyrd/jspwiki/providers/VerySimpleProvider.java
./tests/com/ecyrd/jspwiki/providers/AllTests.java
./tests/com/ecyrd/jspwiki/providers/VersioningFileProviderTest.java
./tests/com/ecyrd/jspwiki/providers/CachingProviderTest.java
./tests/com/ecyrd/jspwiki/providers/RCSFileProviderTest.java
./tests/com/ecyrd/jspwiki/providers/BasicAttachmentProviderTest.java
./tests/com/ecyrd/jspwiki/providers/FileSystemProviderTest.java
./tests/com/ecyrd/jspwiki/xmlrpc/RPCHandlerTest.java
./tests/com/ecyrd/jspwiki/xmlrpc/AllTests.java
./tests/com/ecyrd/jspwiki/WikiSessionTest.java
./tests/com/ecyrd/jspwiki/TestEngine.java
./tests/com/ecyrd/jspwiki/plugin/AllTests.java
./tests/com/ecyrd/jspwiki/plugin/SamplePlugin.java
./tests/com/ecyrd/jspwiki/plugin/PluginManagerTest.java
./tests/com/ecyrd/jspwiki/plugin/UndefinedPagesPluginTest.java
./tests/com/ecyrd/jspwiki/plugin/GroupsTest.java
./tests/com/ecyrd/jspwiki/plugin/ReferringPagesPluginTest.java
./tests/com/ecyrd/jspwiki/plugin/JavaScriptPlugin.java
./tests/com/ecyrd/jspwiki/plugin/CounterPluginTest.java
./tests/com/ecyrd/jspwiki/plugin/InsertPageTest.java
./tests/com/ecyrd/jspwiki/plugin/TableOfContentsTest.java
./tests/com/ecyrd/jspwiki/url/AllTests.java
./tests/com/ecyrd/jspwiki/url/ShortURLConstructorTest.java
./tests/com/ecyrd/jspwiki/url/ShortViewURLConstructorTest.java
./tests/com/ecyrd/jspwiki/url/DefaultURLConstructorTest.java
./tests/com/ecyrd/jspwiki/attachment/AllTests.java
./tests/com/ecyrd/jspwiki/attachment/AttachmentManagerTest.java
./tests/com/ecyrd/jspwiki/content/PageRenamerTest.java
./tests/com/ecyrd/jspwiki/content/AllTests.java
./tests/com/ecyrd/jspwiki/PropertyReaderTest.java
./tests/com/ecyrd/jspwiki/search/AllTests.java
./tests/com/ecyrd/jspwiki/search/SearchManagerTest.java
./tests/com/ecyrd/jspwiki/PageManagerTest.java
./tests/com/ecyrd/jspwiki/web/AllTests.java
./tests/com/ecyrd/jspwiki/FileUtilTest.java
./tests/stress/StressTestSpeed.java
./tests/stress/MassiveRepositoryTest.java
./tests/stress/StressTestRCSProvider.java
./tests/stress/StressTestVersioningProvider.java
./tests/SamplePlugin2.java
./tests/TranslationsCheck.java


> Fix the copyright templates on all test cases
> ---------------------------------------------
>
>                 Key: JSPWIKI-451
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-451
>             Project: JSPWiki
>          Issue Type: Task
>            Reporter: Janne Jalkanen
>            Assignee: Harry Metske
>            Priority: Trivial
>             Fix For: 3.0
>
>
> Many of the tests are not carrying the proper Apache copyright template, so they should
be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message