Skip to content

Commit

Permalink
Add new tapx-processing module
Browse files Browse the repository at this point in the history
  • Loading branch information
hlship committed Oct 28, 2010
1 parent 6aba92e commit 8fba1b7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion settings.gradle
@@ -1 +1 @@
include "tapx-core", "tapx-datefield", "tapx-plainmessage", "tapx-templating", "tapx-yui"
include "tapx-core", "tapx-datefield", "tapx-plainmessage", "tapx-templating", "tapx-yui", "tapx-processing"
5 changes: 5 additions & 0 deletions tapx-processing/build.gradle
@@ -0,0 +1,5 @@
jar {
manifest {
attributes 'Tapestry-Module-Classes': 'com.howardlewisship.tapx.processing.services.ProcessingModule'
}
}
@@ -0,0 +1,29 @@
// Copyright 2010 [ORG]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.howardlewisship.tapx.processing.services;

import org.apache.tapestry5.ioc.Configuration;
import org.apache.tapestry5.ioc.annotations.Contribute;
import org.apache.tapestry5.services.ComponentClassResolver;
import org.apache.tapestry5.services.LibraryMapping;

public class ProcessingModule
{
@Contribute(ComponentClassResolver.class)
public static void extendTapxLibraryMapping(Configuration<LibraryMapping> configuration)
{
configuration.add(new LibraryMapping("tapx", "com.howardlewisship.tapx.processing"));
}
}

0 comments on commit 8fba1b7

Please sign in to comment.