assaf-buildr 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/CHANGELOG +887 -0
  2. data/DISCLAIMER +7 -0
  3. data/LICENSE +176 -0
  4. data/NOTICE +26 -0
  5. data/README.rdoc +146 -0
  6. data/Rakefile +62 -0
  7. data/_buildr +38 -0
  8. data/addon/buildr/antlr.rb +65 -0
  9. data/addon/buildr/cobertura.rb +236 -0
  10. data/addon/buildr/emma.rb +238 -0
  11. data/addon/buildr/hibernate.rb +142 -0
  12. data/addon/buildr/javacc.rb +85 -0
  13. data/addon/buildr/jdepend.rb +60 -0
  14. data/addon/buildr/jetty.rb +248 -0
  15. data/addon/buildr/jibx.rb +86 -0
  16. data/addon/buildr/nailgun.rb +817 -0
  17. data/addon/buildr/openjpa.rb +90 -0
  18. data/addon/buildr/org/apache/buildr/BuildrNail$Main.class +0 -0
  19. data/addon/buildr/org/apache/buildr/BuildrNail.class +0 -0
  20. data/addon/buildr/org/apache/buildr/BuildrNail.java +41 -0
  21. data/addon/buildr/org/apache/buildr/JettyWrapper$1.class +0 -0
  22. data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
  23. data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
  24. data/addon/buildr/org/apache/buildr/JettyWrapper.java +144 -0
  25. data/addon/buildr/xmlbeans.rb +93 -0
  26. data/bin/buildr +28 -0
  27. data/buildr.buildfile +53 -0
  28. data/buildr.gemspec +58 -0
  29. data/doc/css/default.css +228 -0
  30. data/doc/css/print.css +100 -0
  31. data/doc/css/syntax.css +52 -0
  32. data/doc/images/apache-incubator-logo.png +0 -0
  33. data/doc/images/buildr-hires.png +0 -0
  34. data/doc/images/buildr.png +0 -0
  35. data/doc/images/favicon.png +0 -0
  36. data/doc/images/growl-icon.tiff +0 -0
  37. data/doc/images/note.png +0 -0
  38. data/doc/images/project-structure.png +0 -0
  39. data/doc/images/tip.png +0 -0
  40. data/doc/images/zbuildr.tif +0 -0
  41. data/doc/pages/artifacts.textile +207 -0
  42. data/doc/pages/building.textile +240 -0
  43. data/doc/pages/contributing.textile +208 -0
  44. data/doc/pages/download.textile +62 -0
  45. data/doc/pages/extending.textile +175 -0
  46. data/doc/pages/getting_started.textile +273 -0
  47. data/doc/pages/index.textile +42 -0
  48. data/doc/pages/languages.textile +407 -0
  49. data/doc/pages/mailing_lists.textile +17 -0
  50. data/doc/pages/more_stuff.textile +286 -0
  51. data/doc/pages/packaging.textile +427 -0
  52. data/doc/pages/projects.textile +274 -0
  53. data/doc/pages/recipes.textile +103 -0
  54. data/doc/pages/settings_profiles.textile +274 -0
  55. data/doc/pages/testing.textile +212 -0
  56. data/doc/pages/troubleshooting.textile +103 -0
  57. data/doc/pages/whats_new.textile +323 -0
  58. data/doc/print.haml +51 -0
  59. data/doc/print.toc.yaml +29 -0
  60. data/doc/scripts/buildr-git.rb +412 -0
  61. data/doc/scripts/install-jruby.sh +44 -0
  62. data/doc/scripts/install-linux.sh +64 -0
  63. data/doc/scripts/install-osx.sh +52 -0
  64. data/doc/site.haml +56 -0
  65. data/doc/site.toc.yaml +47 -0
  66. data/etc/KEYS +151 -0
  67. data/etc/git-svn-authors +16 -0
  68. data/lib/buildr.rb +35 -0
  69. data/lib/buildr/core.rb +27 -0
  70. data/lib/buildr/core/application.rb +489 -0
  71. data/lib/buildr/core/application_cli.rb +139 -0
  72. data/lib/buildr/core/build.rb +311 -0
  73. data/lib/buildr/core/checks.rb +382 -0
  74. data/lib/buildr/core/common.rb +154 -0
  75. data/lib/buildr/core/compile.rb +596 -0
  76. data/lib/buildr/core/environment.rb +120 -0
  77. data/lib/buildr/core/filter.rb +362 -0
  78. data/lib/buildr/core/generate.rb +195 -0
  79. data/lib/buildr/core/help.rb +118 -0
  80. data/lib/buildr/core/progressbar.rb +156 -0
  81. data/lib/buildr/core/project.rb +892 -0
  82. data/lib/buildr/core/test.rb +715 -0
  83. data/lib/buildr/core/transports.rb +558 -0
  84. data/lib/buildr/core/util.rb +289 -0
  85. data/lib/buildr/groovy.rb +18 -0
  86. data/lib/buildr/groovy/bdd.rb +105 -0
  87. data/lib/buildr/groovy/compiler.rb +138 -0
  88. data/lib/buildr/ide.rb +19 -0
  89. data/lib/buildr/ide/eclipse.rb +212 -0
  90. data/lib/buildr/ide/idea.ipr.template +300 -0
  91. data/lib/buildr/ide/idea.rb +189 -0
  92. data/lib/buildr/ide/idea7x.ipr.template +290 -0
  93. data/lib/buildr/ide/idea7x.rb +210 -0
  94. data/lib/buildr/java.rb +23 -0
  95. data/lib/buildr/java/ant.rb +92 -0
  96. data/lib/buildr/java/bdd.rb +449 -0
  97. data/lib/buildr/java/commands.rb +211 -0
  98. data/lib/buildr/java/compiler.rb +348 -0
  99. data/lib/buildr/java/deprecated.rb +141 -0
  100. data/lib/buildr/java/jruby.rb +117 -0
  101. data/lib/buildr/java/jtestr_runner.rb.erb +116 -0
  102. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.class +0 -0
  103. data/lib/buildr/java/org/apache/buildr/JavaTestFilter.java +119 -0
  104. data/lib/buildr/java/packaging.rb +713 -0
  105. data/lib/buildr/java/pom.rb +178 -0
  106. data/lib/buildr/java/rjb.rb +155 -0
  107. data/lib/buildr/java/test_result.rb +308 -0
  108. data/lib/buildr/java/tests.rb +324 -0
  109. data/lib/buildr/java/version_requirement.rb +172 -0
  110. data/lib/buildr/packaging.rb +21 -0
  111. data/lib/buildr/packaging/artifact.rb +730 -0
  112. data/lib/buildr/packaging/artifact_namespace.rb +972 -0
  113. data/lib/buildr/packaging/artifact_search.rb +140 -0
  114. data/lib/buildr/packaging/gems.rb +102 -0
  115. data/lib/buildr/packaging/package.rb +233 -0
  116. data/lib/buildr/packaging/tar.rb +104 -0
  117. data/lib/buildr/packaging/zip.rb +722 -0
  118. data/lib/buildr/resources/buildr.icns +0 -0
  119. data/lib/buildr/scala.rb +19 -0
  120. data/lib/buildr/scala/compiler.rb +109 -0
  121. data/lib/buildr/scala/tests.rb +203 -0
  122. data/rakelib/apache.rake +191 -0
  123. data/rakelib/changelog.rake +57 -0
  124. data/rakelib/doc.rake +103 -0
  125. data/rakelib/package.rake +73 -0
  126. data/rakelib/release.rake +65 -0
  127. data/rakelib/rspec.rake +83 -0
  128. data/rakelib/rubyforge.rake +53 -0
  129. data/rakelib/scm.rake +49 -0
  130. data/rakelib/setup.rake +86 -0
  131. data/rakelib/stage.rake +48 -0
  132. data/spec/addon/cobertura_spec.rb +77 -0
  133. data/spec/addon/emma_spec.rb +120 -0
  134. data/spec/addon/test_coverage_spec.rb +255 -0
  135. data/spec/core/application_spec.rb +412 -0
  136. data/spec/core/artifact_namespace_spec.rb +646 -0
  137. data/spec/core/build_spec.rb +415 -0
  138. data/spec/core/checks_spec.rb +537 -0
  139. data/spec/core/common_spec.rb +664 -0
  140. data/spec/core/compile_spec.rb +566 -0
  141. data/spec/core/generate_spec.rb +33 -0
  142. data/spec/core/project_spec.rb +754 -0
  143. data/spec/core/test_spec.rb +1091 -0
  144. data/spec/core/transport_spec.rb +500 -0
  145. data/spec/groovy/bdd_spec.rb +80 -0
  146. data/spec/groovy/compiler_spec.rb +239 -0
  147. data/spec/ide/eclipse_spec.rb +243 -0
  148. data/spec/java/ant.rb +28 -0
  149. data/spec/java/bdd_spec.rb +358 -0
  150. data/spec/java/compiler_spec.rb +446 -0
  151. data/spec/java/java_spec.rb +88 -0
  152. data/spec/java/packaging_spec.rb +1103 -0
  153. data/spec/java/tests_spec.rb +466 -0
  154. data/spec/packaging/archive_spec.rb +503 -0
  155. data/spec/packaging/artifact_spec.rb +754 -0
  156. data/spec/packaging/packaging_helper.rb +63 -0
  157. data/spec/packaging/packaging_spec.rb +589 -0
  158. data/spec/sandbox.rb +137 -0
  159. data/spec/scala/compiler_spec.rb +228 -0
  160. data/spec/scala/tests_spec.rb +215 -0
  161. data/spec/spec_helpers.rb +304 -0
  162. data/spec/version_requirement_spec.rb +123 -0
  163. metadata +369 -0
@@ -0,0 +1,189 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with this
3
+ # work for additional information regarding copyright ownership. The ASF
4
+ # licenses this file to you under the Apache License, Version 2.0 (the
5
+ # "License"); you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations under
14
+ # the License.
15
+
16
+
17
+ require 'buildr/core/project'
18
+ require 'buildr/packaging'
19
+ require 'stringio'
20
+ require 'rexml/document'
21
+
22
+
23
+ module Buildr
24
+ module Idea #:nodoc:
25
+
26
+ include Extension
27
+
28
+ first_time do
29
+ # Global task "idea" generates artifacts for all projects.
30
+ desc "Generate Idea artifacts for all projects"
31
+ Project.local_task "idea"=>"artifacts"
32
+ end
33
+
34
+ before_define do |project|
35
+ project.recursive_task("idea")
36
+ end
37
+
38
+ after_define do |project|
39
+ idea = project.task("idea")
40
+ # We need paths relative to the top project's base directory.
41
+ root_path = lambda { |p| f = lambda { |p| p.parent ? f[p.parent] : p.base_dir }; f[p] }[project]
42
+
43
+ # Find a path relative to the project's root directory.
44
+ relative = lambda { |path| Util.relative_path(path.to_s, project.path_to) }
45
+
46
+ m2repo = Buildr::Repositories.instance.local
47
+ excludes = [ '**/.svn/', '**/CVS/' ].join('|')
48
+
49
+ # Only for projects that are packageable.
50
+ task_name = project.path_to("#{project.name.gsub(':', '-')}.iml")
51
+ idea.enhance [ file(task_name) ]
52
+
53
+ # The only thing we need to look for is a change in the Buildfile.
54
+ file(task_name=>Buildr.application.buildfile) do |task|
55
+ info "Writing #{task.name}"
56
+
57
+ # Idea handles modules slightly differently if they're WARs
58
+ idea_types = Hash.new("JAVA_MODULE")
59
+ idea_types["war"] = "J2EE_WEB_MODULE"
60
+
61
+ # Note: Use the test classpath since Eclipse compiles both "main" and "test" classes using the same classpath
62
+ deps = project.test.compile.dependencies.map(&:to_s) - [ project.compile.target.to_s ]
63
+
64
+ # Convert classpath elements into applicable Project objects
65
+ deps.collect! { |path| Buildr.projects.detect { |prj| prj.packages.detect { |pkg| pkg.to_s == path } } || path }
66
+
67
+ # project_libs: artifacts created by other projects
68
+ project_libs, others = deps.partition { |path| path.is_a?(Project) }
69
+
70
+ # Separate artifacts from Maven2 repository
71
+ m2_libs, others = others.partition { |path| path.to_s.index(m2repo) == 0 }
72
+
73
+ # Generated: classpath elements in the project are assumed to be generated
74
+ generated, libs = others.partition { |path| path.to_s.index(project.path_to.to_s) == 0 }
75
+
76
+ # Project type is going to be the first package type
77
+ if package = project.packages.first
78
+ File.open(task.name, "w") do |file|
79
+ xml = Builder::XmlMarkup.new(:target=>file, :indent=>2)
80
+
81
+ xml.module(:version=>"4", :relativePaths=>"false", :type=>idea_types[package.type.to_s]) do
82
+ xml.component :name=>"ModuleRootManager"
83
+ xml.component "name"=>"NewModuleRootManager", "inherit-compiler-output"=>"false" do
84
+ has_compile_sources = project.compile.target.to_s.size > 0
85
+ xml.output :url=>"file://$MODULE_DIR$/#{relative[project.compile.target.to_s]}" if has_compile_sources
86
+ xml.tag! "exclude-output"
87
+
88
+ # TODO project.test.target isn't recognized, what's the proper way to get the test compile path?
89
+ xml.tag! "output-test", :url=>"file://$MODULE_DIR$/target/test-classes"
90
+
91
+ xml.content(:url=>"file://$MODULE_DIR$") do
92
+ if has_compile_sources
93
+ srcs = project.compile.sources.map { |src| relative[src.to_s] } + generated.map { |src| relative[src.to_s] }
94
+ srcs.sort.uniq.each do |path|
95
+ xml.sourceFolder :url=>"file://$MODULE_DIR$/#{path}", :isTestSource=>"false"
96
+ end
97
+
98
+ test_sources = project.test.compile.sources.map { |src| relative[src.to_s] }
99
+ test_sources.each do |paths|
100
+ paths.sort.uniq.each do |path|
101
+ xml.sourceFolder :url=>"file://$MODULE_DIR$/#{path}", :isTestSource=>"true"
102
+ end
103
+ end
104
+ end
105
+ [project.resources=>false, project.test.resources=>true].each do |resources, test|
106
+ resources.each do |path|
107
+ path[0].sources.each do |srcpath|
108
+ xml.sourceFolder :url=>"file://#{srcpath}", :isTestSource=>path[1].to_s
109
+ end
110
+ end
111
+ end
112
+ xml.excludeFolder :url=>"file://$MODULE_DIR$/#{relative[project.compile.target.to_s]}" if has_compile_sources
113
+ end
114
+
115
+ xml.orderEntry :type=>"sourceFolder", :forTests=>"false"
116
+ xml.orderEntry :type=>"inheritedJdk"
117
+
118
+ # Classpath elements from other projects
119
+ project_libs.map(&:id).sort.uniq.each do |project_id|
120
+ xml.orderEntry :type=>'module', "module-name"=>project_id
121
+ end
122
+
123
+ # Libraries
124
+ ext_libs = libs.map {|path| "$MODULE_DIR$/#{path.to_s}" } +
125
+ m2_libs.map { |path| path.to_s.sub(m2repo, "$M2_REPO$") }
126
+ ext_libs.each do |path|
127
+ xml.orderEntry :type=>"module-library" do
128
+ xml.library do
129
+ xml.CLASSES do
130
+ xml.root :url=>"jar://#{path}!/"
131
+ end
132
+ xml.JAVADOC
133
+ xml.SOURCES
134
+ end
135
+ end
136
+ end
137
+
138
+ xml.orderEntryProperties
139
+ end
140
+ end
141
+ end
142
+ end
143
+ end
144
+
145
+ # Root project aggregates all the subprojects.
146
+ if project.parent == nil
147
+ task_name = project.path_to("#{project.name.gsub(':', '-')}.ipr")
148
+ idea.enhance [ file(task_name) ]
149
+
150
+ file(task_name=>Buildr.application.buildfile) do |task|
151
+ info "Writing #{task.name}"
152
+
153
+ # Generating just the little stanza that chanages from one project to another
154
+ partial = StringIO.new
155
+ xml = Builder::XmlMarkup.new(:target=>partial, :indent=>2)
156
+ xml.component(:name=>"ProjectModuleManager") do
157
+ xml.modules do
158
+ project.projects.each do |subp|
159
+ module_name = subp.name.gsub(":", "-")
160
+ module_path = subp.name.split(":"); module_path.shift
161
+ module_path = module_path.join("/")
162
+ path = "#{module_path}/#{module_name}.iml"
163
+ xml.module :fileurl=>"file://$PROJECT_DIR$/#{path}", :filepath=>"$PROJECT_DIR$/#{path}"
164
+ end
165
+ if package = project.packages.first
166
+ xml.module :fileurl=>"file://$PROJECT_DIR$/#{project.name}.iml", :filepath=>"$PROJECT_DIR$/#{project.name}.iml"
167
+ end
168
+ end
169
+ end
170
+
171
+ # Loading the whole fairly constant crap
172
+ template_xml = REXML::Document.new(File.open(File.dirname(__FILE__)+"/idea.ipr.template"))
173
+ include_xml = REXML::Document.new(partial.string)
174
+ template_xml.root.add_element(include_xml.root)
175
+ File.open task.name, 'w' do |file|
176
+ template_xml.write file
177
+ end
178
+ end
179
+ end
180
+
181
+ end #after define
182
+
183
+ end #module Idea
184
+ end # module Buildr
185
+
186
+
187
+ class Buildr::Project
188
+ include Buildr::Idea
189
+ end
@@ -0,0 +1,290 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Licensed to the Apache Software Foundation (ASF) under one or more
4
+ contributor license agreements. See the NOTICE file distributed with this
5
+ work for additional information regarding copyright ownership. The ASF
6
+ licenses this file to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ License for the specific language governing permissions and limitations under
16
+ the License.
17
+ -->
18
+ <project relativePaths="false" version="4">
19
+ <component name="BuildJarProjectSettings">
20
+ <option name="BUILD_JARS_ON_MAKE" value="false"/>
21
+ </component>
22
+ <component name="CodeStyleProjectProfileManger">
23
+ <option name="PROJECT_PROFILE"/>
24
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false"/>
25
+ </component>
26
+ <component name="CodeStyleSettingsManager">
27
+ <option name="PER_PROJECT_SETTINGS"/>
28
+ <option name="USE_PER_PROJECT_SETTINGS" value="false"/>
29
+ </component>
30
+ <component name="CompilerConfiguration">
31
+ <option name="DEFAULT_COMPILER" value="Javac"/>
32
+ <option name="DEPLOY_AFTER_MAKE" value="0"/>
33
+ <resourceExtensions>
34
+ <entry name=".+\.(properties|xml|html|dtd|tld)"/>
35
+ <entry name=".+\.(gif|png|jpeg|jpg)"/>
36
+ </resourceExtensions>
37
+ <wildcardResourcePatterns>
38
+ <entry name="?*.properties"/>
39
+ <entry name="?*.xml"/>
40
+ <entry name="?*.gif"/>
41
+ <entry name="?*.png"/>
42
+ <entry name="?*.jpeg"/>
43
+ <entry name="?*.jpg"/>
44
+ <entry name="?*.html"/>
45
+ <entry name="?*.dtd"/>
46
+ <entry name="?*.tld"/>
47
+ </wildcardResourcePatterns>
48
+ </component>
49
+ <component name="DependenciesAnalyzeManager">
50
+ <option name="myForwardDirection" value="false"/>
51
+ </component>
52
+ <component name="DependencyValidationManager">
53
+ <option name="SKIP_IMPORT_STATEMENTS" value="false"/>
54
+ </component>
55
+ <component name="EclipseCompilerSettings">
56
+ <option name="DEBUGGING_INFO" value="true"/>
57
+ <option name="GENERATE_NO_WARNINGS" value="true"/>
58
+ <option name="DEPRECATION" value="false"/>
59
+ <option name="ADDITIONAL_OPTIONS_STRING" value=""/>
60
+ <option name="MAXIMUM_HEAP_SIZE" value="128"/>
61
+ </component>
62
+ <component name="EclipseEmbeddedCompilerSettings">
63
+ <option name="DEBUGGING_INFO" value="true"/>
64
+ <option name="GENERATE_NO_WARNINGS" value="true"/>
65
+ <option name="DEPRECATION" value="false"/>
66
+ <option name="ADDITIONAL_OPTIONS_STRING" value=""/>
67
+ <option name="MAXIMUM_HEAP_SIZE" value="128"/>
68
+ </component>
69
+ <component name="EntryPointsManager">
70
+ <entry_points version="2.0"/>
71
+ </component>
72
+ <component name="IdProvider" IDEtalkID="8CD0EDF2C11753573BC22F6C470A1027"/>
73
+ <component name="InspectionProjectProfileManager">
74
+ <option name="PROJECT_PROFILE" value="Project Default"/>
75
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false"/>
76
+ <scopes/>
77
+ <profiles>
78
+ <profile version="1.0" is_locked="false">
79
+ <option name="myName" value="Project Default"/>
80
+ <option name="myLocal" value="false"/>
81
+ </profile>
82
+ </profiles>
83
+ <list size="0"/>
84
+ </component>
85
+ <component name="JavacSettings">
86
+ <option name="DEBUGGING_INFO" value="true"/>
87
+ <option name="GENERATE_NO_WARNINGS" value="false"/>
88
+ <option name="DEPRECATION" value="true"/>
89
+ <option name="ADDITIONAL_OPTIONS_STRING" value=""/>
90
+ <option name="MAXIMUM_HEAP_SIZE" value="128"/>
91
+ </component>
92
+ <component name="JavadocGenerationManager">
93
+ <option name="OUTPUT_DIRECTORY"/>
94
+ <option name="OPTION_SCOPE" value="protected"/>
95
+ <option name="OPTION_HIERARCHY" value="true"/>
96
+ <option name="OPTION_NAVIGATOR" value="true"/>
97
+ <option name="OPTION_INDEX" value="true"/>
98
+ <option name="OPTION_SEPARATE_INDEX" value="true"/>
99
+ <option name="OPTION_DOCUMENT_TAG_USE" value="false"/>
100
+ <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false"/>
101
+ <option name="OPTION_DOCUMENT_TAG_VERSION" value="false"/>
102
+ <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true"/>
103
+ <option name="OPTION_DEPRECATED_LIST" value="true"/>
104
+ <option name="OTHER_OPTIONS" value=""/>
105
+ <option name="HEAP_SIZE"/>
106
+ <option name="LOCALE"/>
107
+ <option name="OPEN_IN_BROWSER" value="true"/>
108
+ </component>
109
+ <component name="JikesSettings">
110
+ <option name="JIKES_PATH" value=""/>
111
+ <option name="DEBUGGING_INFO" value="true"/>
112
+ <option name="DEPRECATION" value="true"/>
113
+ <option name="GENERATE_NO_WARNINGS" value="false"/>
114
+ <option name="IS_EMACS_ERRORS_MODE" value="true"/>
115
+ <option name="ADDITIONAL_OPTIONS_STRING" value=""/>
116
+ </component>
117
+ <component name="Palette2">
118
+ <group name="Swing">
119
+ <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer"
120
+ icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false"
121
+ can-attach-label="false">
122
+ <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1"/>
123
+ </item>
124
+ <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer"
125
+ icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false"
126
+ can-attach-label="false">
127
+ <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2"/>
128
+ </item>
129
+ <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false"
130
+ auto-create-binding="false" can-attach-label="false">
131
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"/>
132
+ </item>
133
+ <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false"
134
+ auto-create-binding="false" can-attach-label="true">
135
+ <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3"/>
136
+ </item>
137
+ <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false"
138
+ auto-create-binding="true" can-attach-label="false">
139
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1"/>
140
+ <initial-values>
141
+ <property name="text" value="Button"/>
142
+ </initial-values>
143
+ </item>
144
+ <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false"
145
+ auto-create-binding="true" can-attach-label="false">
146
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0"/>
147
+ <initial-values>
148
+ <property name="text" value="RadioButton"/>
149
+ </initial-values>
150
+ </item>
151
+ <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false"
152
+ auto-create-binding="true" can-attach-label="false">
153
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0"/>
154
+ <initial-values>
155
+ <property name="text" value="CheckBox"/>
156
+ </initial-values>
157
+ </item>
158
+ <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false"
159
+ auto-create-binding="false" can-attach-label="false">
160
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0"/>
161
+ <initial-values>
162
+ <property name="text" value="Label"/>
163
+ </initial-values>
164
+ </item>
165
+ <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false"
166
+ auto-create-binding="true" can-attach-label="true">
167
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
168
+ <preferred-size width="150" height="-1"/>
169
+ </default-constraints>
170
+ </item>
171
+ <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false"
172
+ auto-create-binding="true" can-attach-label="true">
173
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
174
+ <preferred-size width="150" height="-1"/>
175
+ </default-constraints>
176
+ </item>
177
+ <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png"
178
+ removable="false" auto-create-binding="true" can-attach-label="true">
179
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
180
+ <preferred-size width="150" height="-1"/>
181
+ </default-constraints>
182
+ </item>
183
+ <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false"
184
+ auto-create-binding="true" can-attach-label="true">
185
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
186
+ <preferred-size width="150" height="50"/>
187
+ </default-constraints>
188
+ </item>
189
+ <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false"
190
+ auto-create-binding="true" can-attach-label="true">
191
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
192
+ <preferred-size width="150" height="50"/>
193
+ </default-constraints>
194
+ </item>
195
+ <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false"
196
+ auto-create-binding="true" can-attach-label="true">
197
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
198
+ <preferred-size width="150" height="50"/>
199
+ </default-constraints>
200
+ </item>
201
+ <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false"
202
+ auto-create-binding="true" can-attach-label="true">
203
+ <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1"/>
204
+ </item>
205
+ <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false"
206
+ auto-create-binding="true" can-attach-label="false">
207
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
208
+ <preferred-size width="150" height="50"/>
209
+ </default-constraints>
210
+ </item>
211
+ <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false"
212
+ auto-create-binding="true" can-attach-label="false">
213
+ <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
214
+ <preferred-size width="150" height="50"/>
215
+ </default-constraints>
216
+ </item>
217
+ <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false"
218
+ auto-create-binding="true" can-attach-label="false">
219
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
220
+ <preferred-size width="150" height="50"/>
221
+ </default-constraints>
222
+ </item>
223
+ <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false"
224
+ auto-create-binding="true" can-attach-label="false">
225
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
226
+ <preferred-size width="200" height="200"/>
227
+ </default-constraints>
228
+ </item>
229
+ <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false"
230
+ auto-create-binding="false" can-attach-label="false">
231
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
232
+ <preferred-size width="200" height="200"/>
233
+ </default-constraints>
234
+ </item>
235
+ <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false"
236
+ auto-create-binding="true" can-attach-label="true">
237
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"/>
238
+ </item>
239
+ <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false"
240
+ auto-create-binding="true" can-attach-label="false">
241
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"/>
242
+ </item>
243
+ <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false"
244
+ auto-create-binding="false" can-attach-label="false">
245
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"/>
246
+ </item>
247
+ <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false"
248
+ auto-create-binding="true" can-attach-label="false">
249
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"/>
250
+ </item>
251
+ <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false"
252
+ auto-create-binding="false" can-attach-label="false">
253
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
254
+ <preferred-size width="-1" height="20"/>
255
+ </default-constraints>
256
+ </item>
257
+ <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png"
258
+ removable="false" auto-create-binding="false" can-attach-label="false">
259
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1"/>
260
+ </item>
261
+ <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false"
262
+ auto-create-binding="true" can-attach-label="false">
263
+ <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2"/>
264
+ </item>
265
+ </group>
266
+ </component>
267
+ <component name="ProjectFileVersion" converted="true"/>
268
+ <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.5"
269
+ project-jdk-type="JavaSDK">
270
+ <output url="file://$PROJECT_DIR$/out"/>
271
+ </component>
272
+ <component name="ResourceManagerContainer">
273
+ <option name="myResourceBundles">
274
+ <value>
275
+ <list size="0"/>
276
+ </value>
277
+ </option>
278
+ </component>
279
+ <component name="RmicSettings">
280
+ <option name="IS_EANABLED" value="false"/>
281
+ <option name="DEBUGGING_INFO" value="true"/>
282
+ <option name="GENERATE_NO_WARNINGS" value="false"/>
283
+ <option name="GENERATE_IIOP_STUBS" value="false"/>
284
+ <option name="ADDITIONAL_OPTIONS_STRING" value=""/>
285
+ </component>
286
+ <component name="VcsDirectoryMappings">
287
+ <mapping directory="" vcs=""/>
288
+ </component>
289
+ <component name="WebServicesPlugin" addRequiredLibraries="true"/>
290
+ </project>