You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by is...@apache.org on 2018/10/04 13:26:24 UTC
svn commit: r1842809 - in /tomcat/trunk: build.xml
res/ide-support/idea/inspections.xml res/ide-support/idea/misc.xml
res/ide-support/idea/modules.xml res/ide-support/idea/tomcat.iml
Author: isapir
Date: Thu Oct 4 13:26:24 2018
New Revision: 1842809
URL: http://svn.apache.org/viewvc?rev=1842809&view=rev
Log:
Added ant target ide-intellij to create an IntelliJ IDEA project directory
Added:
tomcat/trunk/res/ide-support/idea/misc.xml
- copied, changed from r1842751, tomcat/trunk/res/ide-support/idea/inspections.xml
tomcat/trunk/res/ide-support/idea/modules.xml
- copied, changed from r1842751, tomcat/trunk/res/ide-support/idea/inspections.xml
tomcat/trunk/res/ide-support/idea/tomcat.iml
Removed:
tomcat/trunk/res/ide-support/idea/inspections.xml
Modified:
tomcat/trunk/build.xml
Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1842809&r1=1842808&r2=1842809&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Thu Oct 4 13:26:24 2018
@@ -3142,6 +3142,23 @@ skip.installer property in build.propert
Read the Building page on the Apache Tomcat documentation site for details on how to configure your Eclipse workspace.</echo>
</target>
+ <!-- ============================ IntelliJ IDEA=========================== -->
+
+ <target name="ide-intellij"
+ depends="download-compile, extras-webservices-prepare, download-test-compile"
+ description="Creates project directory .idea for IntelliJ IDEA">
+
+ <copy todir="${tomcat.home}/.idea">
+ <fileset dir="${tomcat.home}/res/ide-support/idea"/>
+ </copy>
+
+ <echo>IntelliJ IDEA project directory created. Please create PATH VARIABLES for
+
+ ANT_HOME = ${ant.home}
+ TOMCAT_BUILD_LIBS = ${base.path}
+ </echo>
+ </target>
+
<!-- ============================ NetBeans =============================== -->
<target name="ide-netbeans"
Copied: tomcat/trunk/res/ide-support/idea/misc.xml (from r1842751, tomcat/trunk/res/ide-support/idea/inspections.xml)
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/ide-support/idea/misc.xml?p2=tomcat/trunk/res/ide-support/idea/misc.xml&p1=tomcat/trunk/res/ide-support/idea/inspections.xml&r1=1842751&r2=1842809&rev=1842809&view=diff
==============================================================================
--- tomcat/trunk/res/ide-support/idea/inspections.xml (original)
+++ tomcat/trunk/res/ide-support/idea/misc.xml Thu Oct 4 13:26:24 2018
@@ -15,11 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<inspections version="1.0" is_locked="false">
- <option name="myName" value="Tomcat" />
- <option name="myLocal" value="true" />
- <inspection_tool class="StaticImport" enabled="true" level="WARNING" enabled_by_default="true" />
- <inspection_tool class="UnnecessaryBoxing" enabled="false" level="WARNING" enabled_by_default="false" />
- <inspection_tool class="UnnecessaryUnboxing" enabled="false" level="WARNING" enabled_by_default="false" />
-</inspections>
-
+<project version="4">
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+ <output url="file://$PROJECT_DIR$/.idea/output" />
+ </component>
+</project>
\ No newline at end of file
Copied: tomcat/trunk/res/ide-support/idea/modules.xml (from r1842751, tomcat/trunk/res/ide-support/idea/inspections.xml)
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/ide-support/idea/modules.xml?p2=tomcat/trunk/res/ide-support/idea/modules.xml&p1=tomcat/trunk/res/ide-support/idea/inspections.xml&r1=1842751&r2=1842809&rev=1842809&view=diff
==============================================================================
--- tomcat/trunk/res/ide-support/idea/inspections.xml (original)
+++ tomcat/trunk/res/ide-support/idea/modules.xml Thu Oct 4 13:26:24 2018
@@ -15,11 +15,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<inspections version="1.0" is_locked="false">
- <option name="myName" value="Tomcat" />
- <option name="myLocal" value="true" />
- <inspection_tool class="StaticImport" enabled="true" level="WARNING" enabled_by_default="true" />
- <inspection_tool class="UnnecessaryBoxing" enabled="false" level="WARNING" enabled_by_default="false" />
- <inspection_tool class="UnnecessaryUnboxing" enabled="false" level="WARNING" enabled_by_default="false" />
-</inspections>
-
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/tomcat.iml" filepath="$PROJECT_DIR$/.idea/tomcat.iml" />
+ </modules>
+ </component>
+</project>
\ No newline at end of file
Added: tomcat/trunk/res/ide-support/idea/tomcat.iml
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/ide-support/idea/tomcat.iml?rev=1842809&view=auto
==============================================================================
--- tomcat/trunk/res/ide-support/idea/tomcat.iml (added)
+++ tomcat/trunk/res/ide-support/idea/tomcat.iml Thu Oct 4 13:26:24 2018
@@ -0,0 +1,117 @@
+<?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.
+-->
+<module type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/webapps/examples/WEB-INF/classes" isTestSource="true" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+
+ <!-- Use JUnit that ships with IDEA !-->
+ <orderEntry type="module-library">
+ <library name="junit4">
+ <CLASSES>
+ <root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+
+ <!-- Use ant.jar from path variable ANT_HOME !-->
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$ANT_HOME$/lib/ant.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+
+ <!-- Use built libraries from path variable TOMCAT_BUILD_LIBS !-->
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/jaxrpc-1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/wsdl4j-1.6.3/wsdl4j-1.6.3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/ecj-4.7.3a/ecj-4.7.3a.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/easymock-3.2/easymock-3.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/hamcrest-1.3/hamcrest-core-1.3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/cglib-2.2.2/cglib-nodep-2.2.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$TOMCAT_BUILD_LIBS$/objenesis-1.2/objenesis-1.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+
+ </component>
+</module>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org