[ 
https://issues.apache.org/jira/browse/NETBEANS-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Miller updated NETBEANS-3161:
-------------------------------------
    Description: 
In earlier versions of Netbeans, building an Ant project would automatically 
cause jar dependencies to be copied into a "lib" directory under "dist".  In 
11.0+, this no longer happens.  Projects created in older versions of Netbeans 
still copy their dependencies correctly, but newly created projects do not.  
There is an option under Properties>Build>Packaging to "Copy Dependent 
Libraries."  This is enabled by default, but turning it off and back on again 
doesn't fix the problem either.

Step by step instructions to reproduce:
 # Create empty project (Java with Ant > Java Application)
 # Right click Libraries and add a dependency (project, jar, or both)
 # Add some code to main that references that dependency.
 # Click the Run button.  (It should run just fine)
 # Click Clean & Build.
 # Start a terminal and go to the dist directory.  Notice that the project jar 
file is there, but there's no lib directory.

 

  was:
In earlier versions of Netbeans, building an Ant project would automatically 
cause jar dependencies to be copied into a "libs" directory under "dist".  In 
11.0+, this no longer happens.  Projects created in older versions of Netbeans 
still copy their dependencies correctly, but newly created projects do not.  
There is an option under Properties>Build>Packaging to "Copy Dependent 
Libraries."  This is enabled by default, but turning it off and back on again 
doesn't fix the problem either.

Step by step instructions to reproduce:
 # Create empty project (Java with Ant > Java Application)
 # Right click Libraries and add a dependency (project, jar, or both)
 # Add some code to main that references that dependency.
 # Click the Run button.  (It should run just fine)
 # Click Clean & Build.
 # Start a terminal and go to the dist directory.  Notice that the project jar 
file is there, but there's no libs directory.

 


> "Copy Dependent Libraries" doesn't work in 11.x+
> ------------------------------------------------
>
>                 Key: NETBEANS-3161
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3161
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.0, 11.1
>         Environment: macOS 10.14.6 (18G95)
>            Reporter: Timothy Miller
>            Priority: Major
>
> In earlier versions of Netbeans, building an Ant project would automatically 
> cause jar dependencies to be copied into a "lib" directory under "dist".  In 
> 11.0+, this no longer happens.  Projects created in older versions of 
> Netbeans still copy their dependencies correctly, but newly created projects 
> do not.  There is an option under Properties>Build>Packaging to "Copy 
> Dependent Libraries."  This is enabled by default, but turning it off and 
> back on again doesn't fix the problem either.
> Step by step instructions to reproduce:
>  # Create empty project (Java with Ant > Java Application)
>  # Right click Libraries and add a dependency (project, jar, or both)
>  # Add some code to main that references that dependency.
>  # Click the Run button.  (It should run just fine)
>  # Click Clean & Build.
>  # Start a terminal and go to the dist directory.  Notice that the project 
> jar file is there, but there's no lib directory.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to