From: Curt A. <ca...@us...> - 2004-06-26 03:45:31
|
Update of /cvsroot/ant-contrib/cpptasks/src/net/sf/antcontrib/cpptasks/devstudio In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28830/src/net/sf/antcontrib/cpptasks/devstudio Added Files: DevStudioProjectWriter.java VisualStudioNETProjectWriter.java package.html Log Message: Experimental implementation of IDE project file generation (bug 980130) --- NEW FILE: DevStudioProjectWriter.java --- /* * * Copyright 2004 The Ant-Contrib project * * 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 net.sf.antcontrib.cpptasks.devstudio; import java.io.File; import java.util.Hashtable; import net.sf.antcontrib.cpptasks.CCTask; import net.sf.antcontrib.cpptasks.TargetInfo; import net.sf.antcontrib.cpptasks.ide.ProjectDef; import net.sf.antcontrib.cpptasks.ide.ProjectWriter; import org.apache.tools.ant.BuildException; /** * Writes a Microsoft Visual Studio 97 or Visual Studio 6 project file. * * @author curta * */ public final class DevStudioProjectWriter implements ProjectWriter { /** * Visual Studio version. */ private String version; /** * Constructor. * @param versionArg String Visual Studio version. */ public DevStudioProjectWriter(final String versionArg) { this.version = versionArg; } /** * Writes a project definition file. * @param baseName File name base, writer may append appropriate extension * @param task cc task for which to write project * @param projectDef project element * @param targets compilation targets * @param linkTarget link target */ public void writeProject(final File baseName, final CCTask task, final ProjectDef projectDef, final Hashtable targets, final TargetInfo linkTarget) { throw new BuildException("not yet implemented"); } } --- NEW FILE: VisualStudioNETProjectWriter.java --- /* * * Copyright 2004 The Ant-Contrib project * * 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 net.sf.antcontrib.cpptasks.devstudio; import java.io.File; import java.util.Hashtable; import net.sf.antcontrib.cpptasks.CCTask; import net.sf.antcontrib.cpptasks.TargetInfo; import net.sf.antcontrib.cpptasks.ide.ProjectDef; import net.sf.antcontrib.cpptasks.ide.ProjectWriter; import org.apache.tools.ant.BuildException; /** * Writes a Visual Studio.NET project file. * * @author curta * */ public final class VisualStudioNETProjectWriter implements ProjectWriter { /** * Version of VisualStudio.NET. */ private String version; /** * Constructor. * @param versionArg String VisualStudio.NET version */ public VisualStudioNETProjectWriter(final String versionArg) { this.version = versionArg; } /** * Writes a project definition file. * @param baseName File name base, writer may append appropriate extension * @param task cc task for which to write project * @param projectDef project element * @param targets compilation targets * @param linkTarget link target */ public void writeProject(final File baseName, final CCTask task, final ProjectDef projectDef, final Hashtable targets, final TargetInfo linkTarget) { throw new BuildException("not yet implemented"); } } --- NEW FILE: package.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <!-- Copyright 2004 The Ant-Contrib project 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. --> </head> <body bgcolor="white"> Adapters for Microsoft tools. </body> </html> |