Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code-builder-home/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
** xref:start-fips-compliance.adoc[Configure FIPS Compliance]
** xref:start-discover-ui.adoc[]
** xref:start-use-command-palette.adoc[]
** xref:start-view-project-dependencies.adoc[]
** xref:start-add-folders.adoc[]
** xref:start-open-output-panel.adoc[]
** xref:start-scm.adoc[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,11 @@ image::des-add-frag-from-exchange.png["Search for fragment in Assets from Exchan
. Select a version of the fragment.
+
The status bar shows the progress. When complete, you see a message that the selected API fragment was successfully added to the project.
. Verify that the fragment dependency was added by checking the `dependencies` section of the `exchange.json` file, for example:
+
image::des-verify-frag-from-exchange.png["Verify the fragment dependency in the exchange.json file"]
+
You can also see the fragment in the Explorer view under Project Dependencies, for example:
. Verify that the fragment appears under *Project Dependencies* in Explorer, for example:
+
image::des-api-frag-dependencies.png["API fragment in the Explorer view"]
+
The fragment files are located in your home directory on your system in the `.exchange_modules` directory, for example, `~/.exchange_modules` (Mac).
For more information, see xref:start-view-project-dependencies.adoc[].

[[add-fragments-to-spec]]
== Add an API Fragment to Your API Spec
Expand Down Expand Up @@ -492,6 +488,7 @@ channels:

== See Also

* xref:start-view-project-dependencies.adoc[]
* xref:des-publish-api-spec-to-exchange.adoc[]
* xref:des-create-api-specs.adoc#test-spec[Test Your API Spec Using the Mocking Service]
* xref:des-create-api-fragments.adoc#add-fragment-to-project[Add the API fragment from Exchange]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ To use a Protobuf fragment published to Exchange:
. Open the Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows).
. Select *MuleSoft: Add Fragment dependency from Exchange*.
. Search for the Protobuf fragment you need and select the version to add.
. After the dependency is added, the library is available under the project.
. After the dependency is added, the library appears under *Project Dependencies* in Explorer.
. In your main `.proto` file, use `import` to reference the library's package and message or service definitions. For example:
+
[source,protobuf]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ MuleSoft: Open ACB Settings
MuleSoft: Show Welcome
----

* Open project dependencies in the Explorer view.
* Open project dependencies in the Explorer view. See xref:start-view-project-dependencies.adoc[].
+
[source,command]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image:acb-activity-bar-buttons.png["Activity Bar buttons"]
+
In addition to Anypoint Code Builder (MuleSoft icon), commonly used items in the Activity Bar include:
+
* *Explorer*: Open project files and folders.
* *Explorer*: Open project files, folders, and project dependencies.
* *Source Control*: Store your project files.
* *Run and Debug*: Run and debug integrations and implementations.
* *Extensions*: Open for installations and updates.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
= Viewing Project Dependencies

View the Exchange assets a project depends on from Explorer in Anypoint Code Builder. The *Project Dependencies* list shows each asset and version on your project.

== Before You Begin

* xref:start-acb.adoc[Set up and access Anypoint Code Builder].
* Open a project that includes dependencies from Anypoint Exchange.

== View Project Dependencies

To open the *Project Dependencies* list:

// Pointer to Command Palette
include::partial$acb-reusable-steps.adoc[tags="open-command-palette"]
. Select this command:
+
[source,command]
----
MuleSoft: Show Project dependencies
----

Anypoint Code Builder opens Explorer and expands *Project Dependencies*. Each entry identifies an Exchange asset and its version. If a dependency pulls in other Exchange assets, expand its entry to see those nested dependencies.

Alternatively, expand *Project Dependencies* directly in Explorer.

Anypoint Code Builder downloads dependency files to the `.exchange_modules` directory in your home directory. The *Project Dependencies* list shows those assets in the IDE.

== See Also

* xref:des-create-api-fragments.adoc[]
* xref:start-use-command-palette.adoc[]
* xref:ref-acb-commands.adoc[]