blob: 65d1f10a1da4dc53060e07b49d5222abd1ddb3b9 [file] [log] [blame]
//
// 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.
//
= DevFaqHowToFixDependencies
:jbake-type: wiki
:jbake-tags: wiki, devfaq, needsreview
:jbake-status: published
:keywords: Apache NetBeans wiki DevFaqHowToFixDependencies
:description: Apache NetBeans wiki DevFaqHowToFixDependencies
:toc: left
:toc-title:
:syntax: true
=== My `project.xml` lists more dependencies than I really need. How can I fix it?
As your code evolves, you may find that it no longer needs dependencies on some modules that it used to require.
In this case, you can run the `fix-dependencies` Ant target on your module to remove any unnecessary dependencies from your `project.xml`.
As with any automated modification, it's a good idea to ensure that this file is up-to-date in source control before running this task, although in an emergency you can use the IDE's local history feature to revert changes.
<hr/>
Applies to: NetBeans 6.8 and above
=== Apache Migration Information
The content in this page was kindly donated by Oracle Corp. to the
Apache Software Foundation.
This page was exported from link:http://wiki.netbeans.org/DevFaqHowToFixDependencies[http://wiki.netbeans.org/DevFaqHowToFixDependencies] ,
that was last modified by NetBeans user Rmichalsky
on 2009-12-02T15:06:07Z.
*NOTE:* This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.