Build on NetBeans Problem

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Darule
Posts: 16
Joined: Mon Oct 24, 2011 8:31 pm

Build on NetBeans Problem

Post by Darule »

Hi i read the guide on FAQs section and i started using NetBeans.
The problem is that i cant compile properly using the Build.xml file. I dont have errors or anything i tried on l2j svn gs and on my private svn (using l2j too just expirementing)

So when i right click and run target im not getting the 3 choices as shown in the picture but im getting more choices.

Any thoughts?? I can provide more info if requested.
HorridoJoho
L2j Senior Developer
L2j Senior Developer
Posts: 795
Joined: Sun Aug 14, 2005 11:27 am

Re: Build on NetBeans Problem

Post by HorridoJoho »

Darule wrote:Hi i read the guide on FAQs section and i started using NetBeans.
The problem is that i cant compile properly using the Build.xml file. I dont have errors or anything i tried on l2j svn gs and on my private svn (using l2j too just expirementing)

So when i right click and run target im not getting the 3 choices as shown in the picture but im getting more choices.

Any thoughts?? I can provide more info if requested.
1. on the screenshot is the build.xml of datapack
2. just run "dist" of core build.xml
Darule
Posts: 16
Joined: Mon Oct 24, 2011 8:31 pm

Re: Build on NetBeans Problem

Post by Darule »

Yes i know that in the screenshot is Datapack Build.xml.

There is no option Dist when i do it but there are other options.
I think the problem is when im importing the project cause when i go to files there 2 Datapack folders.
Im using Netbeans last version but the full version (250+mb) probly this is not related.

Btw im doing this on my private svn where i have upload clean l2j beta.
HorridoJoho
L2j Senior Developer
L2j Senior Developer
Posts: 795
Joined: Sun Aug 14, 2005 11:27 am

Re: Build on NetBeans Problem

Post by HorridoJoho »

Darule wrote:Yes i know that in the screenshot is Datapack Build.xml.

There is no option Dist when i do it but there are other options.
I think the problem is when im importing the project cause when i go to files there 2 Datapack folders.
Im using Netbeans last version but the full version (250+mb) probly this is not related.

Btw im doing this on my private svn where i have upload clean l2j beta.
Can't reproduce your problem.

Is the build.xml from L2J's svn? Did you replace the build.xml?
Don't use the build.xml inside the netbeans folder you choose on importing. When impoting, try using the same folder for Project to Import and Destination Folder. Netbeans will prefix all files which would be a duplicate from eclipse with "nb-". Then try to build with dist(look attached image).
Darule
Posts: 16
Joined: Mon Oct 24, 2011 8:31 pm

Re: Build on NetBeans Problem

Post by Darule »

Thats it! Thank you very much!
I was choosing different folder for destination and things were messing up there after. Please update the guide too about this too.

Thanks again.
Post Reply