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
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.
<!-- Stuff here is only used when compiling a standalone jar of the tab control for use outside netbeans. What you need: - A complete checkout of this module - A checkout of at least the dir src/org/openide/awt from the cvs module openide
What it will do: - Copy the current version of the NetBeans fast HTML renderer into the beanstubs subdir - Compile it, along with a stub version of org.openide.ErrorManager which just prints to the console - Create a jar consisting of the tab control, the ErrorManager stub and the three classes that make up the HTML renderer
-->
<target name="check-openide" unless="found-openide">
<property name="dont-do-checkout" value="true"/>
<fail message="You need a checkout of openide to build this jar. Only three needed classes from it will be compiled and included in the resulting jar from this build."/>
</target>
<target name="set-openide-dir" if="found-openide">
<property value="../openide/src" name="openide-source-dir"/>
<echo message="Openide src dir set to ${openide-source-dir}"/>
</target>
<target name="beanjar" description="Compiles the tabbed control as a standalone library" depends="compile-bean">
<jar basedir="beanclasses" jarfile="tabbedcontainer.jar"/>
</target>
<target name="clean-bean" description="Clean build products from creating the bean jar">
<delete dir="beanstubs/org/openide/awt"/>
<delete dir="beanclasses"/>
<delete file="tabbedcontainer.jar"/>
</target>
<target name="test-beanjar" depends="rebuild-beanjar,compile-beanjar-demo" description="Runs the demo based on a build of the bean jar rather than class files">
<echo message="Demo args: ${application.args}"/>
<java fork="true" classname="org.netbeans.swing.tabcontrol.demo.TestFrame" args="${application.args}">
<classpath refid="beanjar-demo.cp"/>
</java>
</target>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.