开发者

Can you use java and php in the same netbeans project?

开发者 https://www.devze.com 2023-02-18 08:09 出处:网络
Can you run java files and php files in the same netbeans project? If 开发者_JAVA技巧you can\'t, is there a similar concept to visual studio\'s solution - where you can have different projects writte

Can you run java files and php files in the same netbeans project?

If 开发者_JAVA技巧you can't, is there a similar concept to visual studio's solution - where you can have different projects written in different languages in the same solution?


In theory, yes it is possible. For example, you can create a maven project containing both Java and PHP files. Then, you would set-up your pom.xml to generate multiple artifacts: some for your .jar or .war deliveries files and some for your PHP deliveries. You could also implement maven modules under a parent pom.xml if you are dealing with a big project.

0

精彩评论

暂无评论...
验证码 换一张
取 消