New version QSystem 21.1 is available!

twitter  

Функциональность QSystem
× Choosing equipment, install, configure, start using

Tell us about the first stage of operation QSystem. Ask a question about commissioning. Share your experience using the equipment.

Can I run the code in NetBeans

Больше
9 года 4 мес. назад #824 от Evgenic
Evgenic ответил в теме Can I run the code in NetBeans
Hi,
Yes you can.
1. Source code: hg clone evgeniy.egorov@code.google.com/p/apertum-qsystem/
2. Better Java8 and NetBeans8. Its possible to use Java7/Netbeans7 but copy a file <jre>\lib\jfxrt.jar to a folder <jre>\lib\ext.
3. IVY plugin for NetBeans. Take here code.google.com/p/ivybeans/
4. Build...

​Good luck

В очереди все первые. Каждый в своё время.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #825 от R2D2
R2D2 ответил в теме Can I run the code in NetBeans
Ok. I understand.

I'm trying to run the project in Netbeans 8.
I have installed the JDK 8, but I get the error "package does not exist" in the following packages :
org.dom4j
org.apache.commons.configuration
javax.mail.*;
com.google.gson
org.apache.commons.pool, etc..


How do I resolve these errors. Where do I get these packages?

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #826 от Evgenic
Evgenic ответил в теме Can I run the code in NetBeans
All dependencies must be downloaded from maven repository by Ivy. For that you need IVY plugin for NetBeans.
Plugin is here code.google.com/p/ivybeans/
There are 2 files. Try use version for NB7.1. Version for NB6.9 had some problem during installation in NB. I fixed it manually. Any way if you will have some problem with plugin try mine from attachment. I hope version for NB7.1 is nice.
Thats all.

В очереди все первые. Каждый в своё время.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #827 от R2D2
R2D2 ответил в теме Can I run the code in NetBeans
I have loaded all the dependencies but got this error when running:
E:\NETBEANS\QSystem\nbproject\ivy-impl.xml:92: settings file does not exist: E:\NETBEANS\QSystem\${ivy.settings.location}

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад - 9 года 4 мес. назад #828 от Evgenic
Evgenic ответил в теме Can I run the code in NetBeans
not enough libs for ant.
Download ivy apache-mirror.rbc.ru/pub/apache//ant/ivy...c1-bin-with-deps.zip
You should download ivy with all dependencies. All deps in folder "lib" in archive.

Then copy all ivy's jar-files to ant in folder <ant>/lib. For example. Ant locates in C:\Program Files\NetBeans 8.0.0\java\ant. You copy all jar-files from archive(ivy-2.4.0-rc1.jar + 15 jars from lib) to C:\Program Files\NetBeans 8.0.0\java\ant\lib. And try to build.

or ant can be located in C:\Program Files\NetBeans 8.0\extide\ant

В очереди все первые. Каждый в своё время.
Последнее редактирование: 9 года 4 мес. назад от Evgenic.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #829 от R2D2
R2D2 ответил в теме Can I run the code in NetBeans
Download the file apache-ivy-2.4.0-rc1-bin-with-deps.zip and copy the jar files in the folder C:\Program Files\NetBeans 8.0.1\extide\ant\lib and also copy the files in the folder C:\Program Files\NetBeans 8.0.1\java\ant\lib but the problem continues.

Any other suggestions?

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #830 от Evgenic
Evgenic ответил в теме Can I run the code in NetBeans
may be NB use other ant. It can be if where are many NBs in computer. New version of NB can use old properties from old NB's versions. For example, NB8 took properties from NB7 and use them. It's OK but need to copy all libs in other ANT.

And. Sometimes lib ant-contrib from sourceforge.net/projects/ant-contrib/fil...0b3-bin.zip/download can be missed. Copy ant-contrib to <ant>/lib/

В очереди все первые. Каждый в своё время.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #831 от R2D2
R2D2 ответил в теме Can I run the code in NetBeans
Uninstall a previous version of NetBeans and install Netbeans 8 again and now I have this error:

Could not load definitions from resource fr/jayasoft/ivy/ant/antlib.xml. It could not be found.
Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
E:\PRACTICAS_NETBEANS\QSystem\nbproject\ivy-impl.xml:42: Problem: failed to create task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
BUILD FAILED (total time: 0 seconds)

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #832 от Evgenic
Evgenic ответил в теме Can I run the code in NetBeans
lib ant-contrib-1.0b3.jar from sourceforge.net/projects/ant-contrib/fil...0b3-bin.zip/download can be missed. Copy ant-contrib to <ant>/lib/

В очереди все первые. Каждый в своё время.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
9 года 4 мес. назад #833 от R2D2
R2D2 ответил в теме Can I run the code in NetBeans
Good morning,

Finally after following all the instructions I get the error:

ant -f E:\\PRACTICAS_NETBEANS\\QSystem -Dnb.internal.action.name=rebuild clean jar
:: Apache Ivy 1.3.1 - 20060330160721 :: ant.apache.org/ivy/ ::
E:\PRACTICAS_NETBEANS\QSystem\nbproject\ivy-impl.xml:92: settings file does not exist: E:\PRACTICAS_NETBEANS\QSystem\${ivy.settings.location}
BUILD FAILED (total time: 0 seconds)

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.061 секунд
Работаем с QSystem