Wrox Programmer Forums
|
BOOK: Professional Java for Web Applications
This is the forum to discuss the Wrox book Professional Java for Web Applications by Nicholas S. Williams; ISBN: 978-1-118-65646-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java for Web Applications section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 21st, 2016, 10:12 AM
Authorized User
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by muthukutta1 View Post
Hi
How to put a class into a directory structure that matches the package hierarchy.using archetype generation method
Thanks
As
muthukutta1
Hi

please visualise the following to render solutuon on this:->

In usual java ,creating a jar file used to be rather vague
as for example you must always put a class into a directory
structure that matches the package hierarchy,meaning setting
up a matching directory for both the source and the classes trees.
my requesthere iss to find out if the similar method is required to
achieve for the maven's usage via archetype generating to produce a pom.xml
and eventuallyr make it possible to render jar file for any type of
java application.If its a possibilty then do'nt you think it becomes
very easy avoiding the diificulties of repeated downloads especially
to nullify the non synchronising versions etc



archetype:generate -D groupId=com.crm.core.util.ArrayList -D artifactId= BMICalculator -D archetypeArtifactId=maven-archetype-quickstart -D interactivemode=false

(This a an application program in java BMICalculator.java)
As you see in this

which does not have a matching package to make maven not only compile but also put all the
classes ( of the so compiled classes in to a classes directory) besides the usual source directory as matching -package structure to bring good result at one stretch of course with a pom.xml dumped even though!!!
Thanks
As
muthukutta1
 
Old July 4th, 2016, 09:01 AM
Authorized User
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default maven use

Quote:
Originally Posted by photoelectric View Post
From your error message it looks like you are having trouble reaching the Maven Central Repo. Are you behind a proxy? If you are, then you need to add the proxy info to the settings.xml file in your maven installation's conf directory.
Hi
Subsequent to your suggestion,many threads were written by me.Please review
if you get time
Thanks
As
muthukutta1
 
Old July 5th, 2016, 09:12 PM
Registered User
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by muthukutta1 View Post
Hi
Subsequent to your suggestion,many threads were written by me.Please review
if you get time
Thanks
As
muthukutta1

I don't think that I know enough about maven to answer your questions. You might want to try asking on the stackoverflow website, I know they have some answers to the question you asked earlier about creating an executable jar.


http://stackoverflow.com/questions/5...es-using-maven
 
Old November 25th, 2016, 05:24 AM
Authorized User
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default Executable jar file

Quote:
Originally Posted by photoelectric View Post
I don't think that I know enough about maven to answer your questions. You might want to try asking on the stackoverflow website, I know they have some answers to the question you asked earlier about creating an executable jar.


http://stackoverflow.com/questions/5...es-using-maven
Hi

Thanks for your reply.Now I have created a jar file but I would like to show you for your feedback
How to place the jar file so created in a common protocool so that any person can view the same
Please suggest .
and i shall try to send
Thanks
As
muthukutta1
 
Old March 1st, 2017, 05:47 AM
Authorized User
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default My recently builtExecuatable file

Quote:
Originally Posted by photoelectric View Post
I don't think that I know enough about maven to answer your questions. You might want to try asking on the stackoverflow website, I know they have some answers to the question you asked earlier about creating an executable jar.


http://stackoverflow.com/questions/5...es-using-maven
Hi
I just was able to create a jar.Also the same i placed it at the folloewing link
please download the same & forward your feedback

thanks
As
muthukutta1

1)https://1.sharebylink.com/1/?CNrQUTfT4CuG

( jupiter_CNrQUTfT4CuG.jar at https://1.sharebylink.co/1/?CNrQUTfT4CuG)





Similar Threads
Thread Thread Starter Forum Replies Last Post
New Compilation FATAL ERROR maven 2.0.9 krausch BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 1 December 4th, 2016 08:34 AM
Maven Help Needed... [email protected] Spring 0 January 10th, 2011 06:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.