You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/03/20 20:44:17 UTC
svn commit: r756724 - in
/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin: ./ src/ src/main/
src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/activemq/ src/main/java/org/apache/activemq/maven/
src/main/java/o...
Author: tabish
Date: Fri Mar 20 19:44:16 2009
New Revision: 756724
URL: http://svn.apache.org/viewvc?rev=756724&view=rev
Log:
ActiveMQ-CPP Maven plugin to generate the Makefiles and Visual Studio Project Files.
Added:
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.classpath (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.project (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/pom.xml (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/AbstractToolingMojo.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/MakefileMojo.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/utils/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Configuration.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/File.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/FileConfiguration.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Filter.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Platform.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Tool.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/ToolFile.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/VisualStudioProject.java (with props)
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/
activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/VisualStudio2005Project.java (with props)
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.classpath
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.classpath?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.classpath (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.classpath Fri Mar 20 19:44:16 2009
@@ -0,0 +1,57 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="output" path="eclipse-classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/bcel/bcel/5.1/bcel-5.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-model/2.0/maven-model-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/mojo/natives/maven-native-api/1.0-alpha-2/maven-native-api-1.0-alpha-2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-profile/2.0/maven-profile-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-profile/2.0/maven-profile-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-profile/2.0/maven-profile-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-project/2.0/maven-project-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-project/2.0/maven-project-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-project/2.0/maven-project-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.jar" sourcepath="M2_REPO/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar" sourcepath="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar" sourcepath="M2_REPO/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/tabish/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+</classpath>
\ No newline at end of file
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.classpath
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.project
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.project?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.project (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.project Fri Mar 20 19:44:16 2009
@@ -0,0 +1,13 @@
+<projectDescription>
+ <name>maven-amqcpp-tooling-plugin</name>
+ <comment/>
+ <projects/>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/.project
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/pom.xml?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/pom.xml (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/pom.xml Fri Mar 20 19:44:16 2009
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.activemq.maven</groupId>
+ <artifactId>maven-amqcpp-tooling-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>ActiveMQ-CPP Build Tools Mojo</name>
+ <url>http://maven.apache.org</url>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.mojo.natives</groupId>
+ <artifactId>maven-native-api</artifactId>
+ <version>1.0-alpha-2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.3.1</version>
+ <exclusions>
+ <exclusion>
+ <!-- xom is an optional dependency of xstream. Its also
+ LGPL, so its really not ASF compatible. -->
+ <groupId>xom</groupId>
+ <artifactId>xom</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ <downloadJavadocs>true</downloadJavadocs>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <links>
+ <link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
+ </links>
+ <linksource>true</linksource>
+ <maxmemory>900m</maxmemory>
+ <source>1.6</source>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/AbstractToolingMojo.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/AbstractToolingMojo.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/AbstractToolingMojo.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/AbstractToolingMojo.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven;
+
+import java.io.File;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.codehaus.mojo.natives.NativeSources;
+
+/**
+ * Abstract base of the Tooling Mojo's which provides most of the basic services that
+ * the ActiveMQ-CPP Tooling Mojo's will need.
+ *
+ */
+public abstract class AbstractToolingMojo extends AbstractMojo {
+
+ /**
+ * Location of the file.
+ * @parameter expression="${project.build.directory}"
+ * @required
+ */
+ private File outputDirectory;
+
+ /**
+ * NativeSources object containing the list of source files.
+ * @parameter
+ * @required
+ */
+ private NativeSources sources = new NativeSources();
+
+ /**
+ * NativeSources object containing the list of header files.
+ * @parameter
+ * @required
+ */
+ private NativeSources headers = new NativeSources();
+
+ public File getOutputDirectory() {
+ return outputDirectory;
+ }
+
+ public void setOutputDirectory(File outputDirectory) {
+ this.outputDirectory = outputDirectory;
+ }
+
+ public NativeSources getSources() {
+ return sources;
+ }
+
+ public void setSources(NativeSources sources) {
+ this.sources = sources;
+ }
+
+ public NativeSources getHeaders() {
+ return headers;
+ }
+
+ public void setHeaders(NativeSources headers) {
+ this.headers = headers;
+ }
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/AbstractToolingMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/MakefileMojo.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/MakefileMojo.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/MakefileMojo.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/MakefileMojo.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,153 @@
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * 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 org.apache.activemq.maven;
+
+import org.apache.maven.plugin.MojoExecutionException;
+import org.codehaus.mojo.natives.NativeSources;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.util.List;
+
+/**
+ * Goal generates a makefile using a provided template from the sources defined in a
+ * given directory, or set of directories.
+ *
+ * @goal makefile
+ *
+ * @phase process-sources
+ */
+public class MakefileMojo extends AbstractToolingMojo {
+
+ /**
+ * The input Makefile Template which is used to generate the final Makefile.am.
+ * this file should have the variables defined for the Includes and Sources section.
+ * These are of the form ${headers} and ${source}. When located in the file these
+ * value are replaced with the source and header files found using the configuration
+ * for this plugin.
+ *
+ * @parameter
+ * @required
+ */
+ private File template;
+
+ private final String HEADERS_MARKER = "${headers}";
+ private final String SOURCES_MARKER = "${source}";
+
+ /**
+ * Execute this goal
+ */
+ public void execute() throws MojoExecutionException {
+
+ if( !this.getTemplate().exists() ) {
+ throw new MojoExecutionException( "Template File does not exist: " + this.getTemplate() );
+ }
+
+ System.out.println( "Output directory = " + this.getOutputDirectory() );
+ System.out.println( "Makefile template = " + this.getTemplate() );
+ System.out.println( "" );
+ System.out.println( "Source Files Directory = " + getSources().getDirectory() );
+ System.out.println( "Source Includes = " + getSources().getIncludes()[0] );
+ System.out.println( "Sources Found = " + getSources().getFiles().size() );
+ System.out.println( "Header Files Directory = " + getHeaders().getDirectory() );
+ System.out.println( "header Includes = " + getHeaders().getIncludes()[0] );
+ System.out.println( "headers Found = " + getHeaders().getFiles().size() );
+ System.out.println( "" );
+
+ try {
+
+ BufferedReader reader = new BufferedReader( new FileReader( getTemplate() ) );
+
+ File targetFile = new File( getOutputDirectory(), "Makefile.am" );
+ BufferedWriter writer = new BufferedWriter( new FileWriter( targetFile ) );
+
+ String line;
+
+ while( ( line = reader.readLine() ) != null ) {
+
+ line = replaceMarker( HEADERS_MARKER, line, getHeaders() );
+ line = replaceMarker( SOURCES_MARKER, line, getSources() );
+
+ // Write the line now.
+ writer.write( line );
+ writer.newLine();
+ }
+
+ writer.close();
+ reader.close();
+
+ } catch (Exception e) {
+ throw new MojoExecutionException( e.getMessage() );
+ }
+ }
+
+ public File getTemplate() {
+ return template;
+ }
+
+ public void setTemplate(File template) {
+ this.template = template;
+ }
+
+ private String replaceMarker( String marker, String line, NativeSources sources ) {
+
+ List<File> files = sources.getFiles();
+
+ int pos = 0;
+
+ if( ( pos = line.indexOf( marker ) ) != -1 ) {
+
+ // Infer the indent of the Files from the index where the Marker
+ // tag was found, insert that amount of spacing on each line following
+ // the initial insert where the marker was found.
+ boolean firstTime = true;
+
+ StringBuilder indent = new StringBuilder();
+ for( int i = 0; i < pos; ++i ) {
+ indent.append( ' ' );
+ }
+
+ StringBuilder filesStr = new StringBuilder();
+ for( int i = 0; i < files.size(); ++i ) {
+
+ File file = files.get( i );
+
+ if( !firstTime ) {
+ filesStr.append( indent );
+ }
+
+ filesStr.append(
+ file.toString().replace( sources.getDirectory().toString() + "/", "" ) );
+
+ if( (i+1) != files.size()) {
+ filesStr.append( " \\" );
+ }
+
+ filesStr.append( "\n" );
+
+ firstTime = false;
+ }
+
+ line = line.replace( marker, filesStr );
+ }
+
+ return line;
+ }
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/MakefileMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Configuration.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Configuration.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Configuration.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Configuration.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,97 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class Configuration {
+
+ private String name;
+ private String outputDirectory;
+ private String intermediateDirectory;
+ private int configurationType;
+ private int characterSet;
+ private String BuildLogFile;
+ private Tool[] tools;
+
+ public Configuration() {
+ super();
+
+ this.outputDirectory = "$(SolutionDir)$(ConfigurationName)";
+ this.intermediateDirectory = "$(ConfigurationName)\\$(ProjectName)";
+ this.configurationType = 4;
+ this.characterSet = 1;
+ this.BuildLogFile = "$(IntDir)\\$(ProjectName)\\BuildLog.htm";
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getOutputDirectory() {
+ return outputDirectory;
+ }
+
+ public void setOutputDirectory(String outputDirectory) {
+ this.outputDirectory = outputDirectory;
+ }
+
+ public String getIntermediateDirectory() {
+ return intermediateDirectory;
+ }
+
+ public void setIntermediateDirectory(String intermediateDirectory) {
+ this.intermediateDirectory = intermediateDirectory;
+ }
+
+ public int getConfigurationType() {
+ return configurationType;
+ }
+
+ public void setConfigurationType(int configurationType) {
+ this.configurationType = configurationType;
+ }
+
+ public int getCharacterSet() {
+ return characterSet;
+ }
+
+ public void setCharacterSet(int characterSet) {
+ this.characterSet = characterSet;
+ }
+
+ public String getBuildLogFile() {
+ return BuildLogFile;
+ }
+
+ public void setBuildLogFile(String buildLogFile) {
+ BuildLogFile = buildLogFile;
+ }
+
+ public Tool[] getTools() {
+ return tools;
+ }
+
+ public void setTools(Tool[] tools) {
+ this.tools = tools;
+ }
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Configuration.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/File.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/File.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/File.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/File.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class File {
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/File.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/FileConfiguration.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/FileConfiguration.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/FileConfiguration.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/FileConfiguration.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class FileConfiguration {
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/FileConfiguration.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Filter.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Filter.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Filter.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Filter.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class Filter {
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Filter.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Platform.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Platform.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Platform.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Platform.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class Platform {
+
+ private String name;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Platform.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Tool.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Tool.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Tool.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Tool.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,188 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class Tool {
+
+ private String name;
+ private boolean useUnicodeResponseFiles;
+ private int optimization = 0;
+ private String additionalIncludeDirectories;
+ private String preprocessorDefinitions;
+ private boolean keepComments = false;
+ private boolean minimalRebuild =false;
+ private int ExceptionHandling = 1;
+ private int BasicRuntimeChecks = 0;
+ private int RuntimeLibrary = 3;
+ private int UsePrecompiledHeader = 0;
+ private String objectFile = "$(IntDir)\\$(ProjectName)\\";
+ private String programDataBaseFileName = "$(IntDir)\\$(ProjectName)\\vc80.pdb";
+ private String xMLDocumentationFileName = "$(IntDir)\\$(ProjectName)\\";
+ private int warningLevel = 2;
+ private boolean detect64BitPortabilityProblems = true;
+ private int debugInformationFormat = 3;
+ private String disableSpecificWarnings = "4290;4101";
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public boolean isUseUnicodeResponseFiles() {
+ return useUnicodeResponseFiles;
+ }
+
+ public void setUseUnicodeResponseFiles(boolean useUnicodeResponseFiles) {
+ this.useUnicodeResponseFiles = useUnicodeResponseFiles;
+ }
+
+ public int getOptimization() {
+ return optimization;
+ }
+
+ public void setOptimization(int optimization) {
+ this.optimization = optimization;
+ }
+
+ public String getAdditionalIncludeDirectories() {
+ return additionalIncludeDirectories;
+ }
+
+ public void setAdditionalIncludeDirectories(String additionalIncludeDirectories) {
+ this.additionalIncludeDirectories = additionalIncludeDirectories;
+ }
+
+ public String getPreprocessorDefinitions() {
+ return preprocessorDefinitions;
+ }
+
+ public void setPreprocessorDefinitions(String preprocessorDefinitions) {
+ this.preprocessorDefinitions = preprocessorDefinitions;
+ }
+
+ public boolean isKeepComments() {
+ return keepComments;
+ }
+
+ public void setKeepComments(boolean keepComments) {
+ this.keepComments = keepComments;
+ }
+
+ public boolean isMinimalRebuild() {
+ return minimalRebuild;
+ }
+
+ public void setMinimalRebuild(boolean minimalRebuild) {
+ this.minimalRebuild = minimalRebuild;
+ }
+
+ public int getExceptionHandling() {
+ return ExceptionHandling;
+ }
+
+ public void setExceptionHandling(int exceptionHandling) {
+ ExceptionHandling = exceptionHandling;
+ }
+
+ public int getBasicRuntimeChecks() {
+ return BasicRuntimeChecks;
+ }
+
+ public void setBasicRuntimeChecks(int basicRuntimeChecks) {
+ BasicRuntimeChecks = basicRuntimeChecks;
+ }
+
+ public int getRuntimeLibrary() {
+ return RuntimeLibrary;
+ }
+
+ public void setRuntimeLibrary(int runtimeLibrary) {
+ RuntimeLibrary = runtimeLibrary;
+ }
+
+ public int getUsePrecompiledHeader() {
+ return UsePrecompiledHeader;
+ }
+
+ public void setUsePrecompiledHeader(int usePrecompiledHeader) {
+ UsePrecompiledHeader = usePrecompiledHeader;
+ }
+
+ public String getObjectFile() {
+ return objectFile;
+ }
+
+ public void setObjectFile(String objectFile) {
+ this.objectFile = objectFile;
+ }
+
+ public String getProgramDataBaseFileName() {
+ return programDataBaseFileName;
+ }
+
+ public void setProgramDataBaseFileName(String programDataBaseFileName) {
+ this.programDataBaseFileName = programDataBaseFileName;
+ }
+
+ public String getXMLDocumentationFileName() {
+ return xMLDocumentationFileName;
+ }
+
+ public void setXMLDocumentationFileName(String documentationFileName) {
+ xMLDocumentationFileName = documentationFileName;
+ }
+
+ public int getWarningLevel() {
+ return warningLevel;
+ }
+
+ public void setWarningLevel(int warningLevel) {
+ this.warningLevel = warningLevel;
+ }
+
+ public boolean isDetect64BitPortabilityProblems() {
+ return detect64BitPortabilityProblems;
+ }
+
+ public void setDetect64BitPortabilityProblems(
+ boolean detect64BitPortabilityProblems) {
+ this.detect64BitPortabilityProblems = detect64BitPortabilityProblems;
+ }
+
+ public int getDebugInformationFormat() {
+ return debugInformationFormat;
+ }
+
+ public void setDebugInformationFormat(int debugInformationFormat) {
+ this.debugInformationFormat = debugInformationFormat;
+ }
+
+ public String getDisableSpecificWarnings() {
+ return disableSpecificWarnings;
+ }
+
+ public void setDisableSpecificWarnings(String disableSpecificWarnings) {
+ this.disableSpecificWarnings = disableSpecificWarnings;
+ }
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/Tool.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/ToolFile.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/ToolFile.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/ToolFile.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/ToolFile.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+public class ToolFile {
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/ToolFile.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/VisualStudioProject.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/VisualStudioProject.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/VisualStudioProject.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/VisualStudioProject.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,136 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio;
+
+import java.util.List;
+import java.util.UUID;
+
+public class VisualStudioProject {
+
+ private String projectType;
+ private float version;
+ private String name;
+ private UUID projectGUID;
+ private String rootNamespace;
+ private String keyword;
+ private List<Platform> platforms;
+ private List<ToolFile> toolFiles;
+ private List<Configuration> configurations;
+ private List<String> references;
+ private List<Filter> files;
+
+ public VisualStudioProject( float version, UUID projectGUID, String rootNamespace, String keyword) {
+ super();
+
+ this.version = version;
+ this.projectGUID = projectGUID;
+ this.rootNamespace = rootNamespace;
+ this.keyword = keyword;
+ }
+
+ public String getProjectType() {
+ return projectType;
+ }
+
+ public void setProjectType(String projectType) {
+ this.projectType = projectType;
+ }
+
+ public float getVersion() {
+ return version;
+ }
+
+ public void setVersion(float version) {
+ this.version = version;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public UUID getProjectGUID() {
+ return projectGUID;
+ }
+
+ public void setProjectGUID(UUID projectGUID) {
+ this.projectGUID = projectGUID;
+ }
+
+ public String getRootNamespace() {
+ return rootNamespace;
+ }
+
+ public void setRootNamespace(String rootNamespace) {
+ this.rootNamespace = rootNamespace;
+ }
+
+ public String getKeyword() {
+ return keyword;
+ }
+
+ public void setKeyword(String keyword) {
+ this.keyword = keyword;
+ }
+
+ public List<Platform> getPlatforms() {
+ return platforms;
+ }
+
+ public void setPlatforms(List<Platform> platforms) {
+ this.platforms = platforms;
+ }
+
+ public List<ToolFile> getToolFiles() {
+ return toolFiles;
+ }
+
+ public void setToolFiles(List<ToolFile> toolFiles) {
+ this.toolFiles = toolFiles;
+ }
+
+ public List<Configuration> getConfigurations() {
+ return configurations;
+ }
+
+ public void setConfigurations(List<Configuration> configurations) {
+ this.configurations = configurations;
+ }
+
+ public List<String> getReferences() {
+ return references;
+ }
+
+ public void setReferences(List<String> references) {
+ this.references = references;
+ }
+
+ public List<Filter> getFiles() {
+ return files;
+ }
+
+ public void setFiles(List<Filter> files) {
+ this.files = files;
+ }
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/VisualStudioProject.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/VisualStudio2005Project.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/VisualStudio2005Project.java?rev=756724&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/VisualStudio2005Project.java (added)
+++ activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/VisualStudio2005Project.java Fri Mar 20 19:44:16 2009
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.activemq.maven.visualstudio.vs2005;
+
+import java.util.UUID;
+
+import org.apache.activemq.maven.visualstudio.VisualStudioProject;
+
+public class VisualStudio2005Project extends VisualStudioProject {
+
+ /**
+ * Create a Visual Studio 2005 Project with the Value that define the version and
+ * project meta-data set to default and correct values.
+ */
+ public VisualStudio2005Project() {
+ super( 8.0f, UUID.randomUUID(), "vs2005", "Win32Proj" );
+ }
+
+}
Propchange: activemq/activemq-cpp/trunk/maven-amqcpp-tooling-plugin/src/main/java/org/apache/activemq/maven/visualstudio/vs2005/VisualStudio2005Project.java
------------------------------------------------------------------------------
svn:eol-style = native