Since my initial goal is to extend NeSSi2 successfully, I went through "Extending NeSSi2: Application Tutorial", chap.9 in the manual.
I went through all steps to implement the example (3 classes: EchoClient, EchoServer and EventLabels in the same package) then I went through the deployment steps and ran "mvn clean install" successfully.
However, next step tells "2. Change into the target-directory" but I couldn't find a way, and tried many methods to do this, through the cmd line but no success. so I exported the project as a jar file and copied this jar to the application directory in NeSSi2 UI and SI, and restarted the Simulation Environment and NeSSi UI.
My Qs are as follows and thanks previously for your response,
1- I s there any missing in the pom.xml in the manual example (e.g. package or directory configurations)?
2- Is there any certain way to go to the target directory and copy the jar file (not as what I did)?
3- After coping the jar file, I should find my application in the "Add application to profile" Wizard,
without any additional steps from chap.5?
4- Do I need to add any configurations to setting.xml?
4- Page.74 talks about the DBAppender, is this a configurations done in the NeSSi2 UI after creating an IP project?
Thanks again for your support,
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think anything is missing, since we use the default output folders for Maven.
I don't really understand that question. The target folder should be created by Maven and should be located here: <your_project_folder>/target
Yes, if you restarted NeSSi2 and your Jar does not require any other Jar files that have not yet been copied.
As far as I recall, there is nothing needed for the settings.xml.
Yes, the XML file for that is already part of the IP project layout. You only need to add your entry, that will enable logging from your NeSSi2 applications.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My problem was solved by downgrading maven from 3.1.1 to 3.0.5, the reason was that maven 3.1.1 is not compatible with #TychoMavenLifecycleParticipant. Accordingly, I was getting exceptions and the target file was not showing.
assalamoalaikum zahraa! will you please send me some snapshots how you extended the nessi application... because i tried many times but not in vain.... :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Since my initial goal is to extend NeSSi2 successfully, I went through "Extending NeSSi2: Application Tutorial", chap.9 in the manual.
I went through all steps to implement the example (3 classes: EchoClient, EchoServer and EventLabels in the same package) then I went through the deployment steps and ran "mvn clean install" successfully.
However, next step tells "2. Change into the target-directory" but I couldn't find a way, and tried many methods to do this, through the cmd line but no success. so I exported the project as a jar file and copied this jar to the application directory in NeSSi2 UI and SI, and restarted the Simulation Environment and NeSSi UI.
My Qs are as follows and thanks previously for your response,
1- I s there any missing in the pom.xml in the manual example (e.g. package or directory configurations)?
2- Is there any certain way to go to the target directory and copy the jar file (not as what I did)?
3- After coping the jar file, I should find my application in the "Add application to profile" Wizard,
without any additional steps from chap.5?
4- Do I need to add any configurations to setting.xml?
4- Page.74 talks about the DBAppender, is this a configurations done in the NeSSi2 UI after creating an IP project?
Thanks again for your support,
Regards,
Regarding your questions:
I don't think anything is missing, since we use the default output folders for Maven.
I don't really understand that question. The target folder should be created by Maven and should be located here: <your_project_folder>/target
Yes, if you restarted NeSSi2 and your Jar does not require any other Jar files that have not yet been copied.
As far as I recall, there is nothing needed for the settings.xml.
Yes, the XML file for that is already part of the IP project layout. You only need to add your entry, that will enable logging from your NeSSi2 applications.
My problem was solved by downgrading maven from 3.1.1 to 3.0.5, the reason was that maven 3.1.1 is not compatible with #TychoMavenLifecycleParticipant. Accordingly, I was getting exceptions and the target file was not showing.
Thanks to this link http://stackoverflow.com/questions/22061272/eclipse-project-installed-using-mvn-in-cmd-line.
Finally, the problem was solved and I managed to extend NeSSi2 successfully.
Thanks and Regards,
assalamoalaikum zahraa! will you please send me some snapshots how you extended the nessi application... because i tried many times but not in vain.... :-(