Trouble with file access permission in a C++ projet

2022-01-26 Thread slipbits

NB 12.6
Win7-64

I'm trying to get C++ up an running. I think I've got everything set up 
correctly but I get an access violation at build time. I've checked all 
of the security permission on the path for my account, and in each 
directory I see that in the Security Property pop-up I have no 
permissions, but when I try to change the permissions, it says I have 
Full Control and all permissions are available.


I think the problem is that I have all the permissions, which allows me 
to do changes in the directories on the path, but somehow these 
permissions are not public for NB to see, or, I just don't understand 
the problem. Does anyone have an idea how to fix this?


Win7 Security dialog (in Windows Explorer)
     right-click: Properties->Security Permissions for  
nothing
  right-click: Properties->Security->Advanced->Change 
Permissions->Edit all permissions granted


NB Diagnostic Message
    Exception in thread "main" java.io.IOException: Cannot run program 
"C:\cygwin64\lib\gcc\x86_64-pc-cygwin\11\include\c++": CreateProcess 
error=5, Access is denied
    at 
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
    at 
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
    at 
org.netbeans.modules.cpplite.project.runner.Runner.main(Runner.java:35)

    Caused by: java.io.IOException: CreateProcess error=5, Access is denied
    at java.base/java.lang.ProcessImpl.create(Native Method)
    at java.base/java.lang.ProcessImpl.(ProcessImpl.java:494)
    at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)
    at 
java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)

    ... 2 more


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

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



Re: migrate EE6 project from ant buiild to mvn/gradle

2022-01-26 Thread Pieter van den Hombergh
Hi Tom,

In such a situation, I would start from a new maven project, and then
gradually include your stuff into that new project.
Netbenas will provide some help with finding the maven dependencies, some
others (in particular local ones) you might have to add by hand, but that
is also straightforward. In you case I would start with the EJB maven
template, and in the configuration step of the wizard select your wildfly
platform.

Pieter

On Tue, Jan 25, 2022 at 12:06 PM Tom Eicher  wrote:

> Hello,
>
> I have an ear project with one ejb and one war subprojects,
> that originates from Netbeans 7.2, using an ant build.
>
> I have been unable to upgrade for a long time (after NB8) due
> to missing wildfly plugin and other troubles, but now I'm up
> and running with Apache Netbeans 12.6 !
>
> We did that after upgrading our project from wildfly 10 to 25,
> and this was a very painful process that took over a week,
> and we had to patch and change all those file in nbproject like
> build.xml
> nbproject/ant-deploy.xml
> nbproject/build-impl.xml
> nbproject/genfiles.properties
> nbproject/private
> nbproject/private/private.properties
> nbproject/private/private.xml
> nbproject/project.properties
> nbproject/project.xml
> (and all those files 3 times, for ear, war and ejb)
>
> all projects refer to libraries either checked in, j2ee standard
> and/or provided by wildfly (like
>
> ../../wildfly-25.0.1.Final/modules/system/layers/base/com/fasterxml/jackson/core/jackson-annotations/main/jackson-annotations-2.12.3.jar)
>
> My question is, how can I get out of this situation?
>
> Can I move my build to a more modern build system (mvn, gradle, ...)
> Can I somehow generate mvn/gradle build files from my (working) ant
> project?
> If not, what would be a good approach to do this manually?
>
> (Theoretically my setup is not so exotic, it's EE6 on wildfly with
> a few things manually added for wicket, hibernate (für multitenancy),
> jadira, pdfbox etc)
>
> Thanx & Cheers Tom.
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

-- 
Pieter Van den Hombergh.
No software documentation is complete with out it's source code.