-
2. Re: How to make richfaces theme?
faisalgeek Oct 20, 2009 8:03 AM (in response to faisalgeek)"ilya_shaikovsky" wrote:
http://www.jboss.org/community/wiki/CreatingaThemeforrichpageComponent
Thanks for quick reply... I need some little more help
where to place the, sorry i am using maven also first time.
jboss_profile.txt http://www.jboss.org/community/servlet/JiveServlet/download/13635-3-6423/jboss_profile.txt -
3. Re: How to make richfaces theme?
faisalgeek Oct 20, 2009 8:32 AM (in response to faisalgeek)"faisalgeek" wrote:
"ilya_shaikovsky" wrote:
http://www.jboss.org/community/wiki/CreatingaThemeforrichpageComponent
Thanks for quick reply... I need some little more help
where to place the, sorry i am using maven also first time.
jboss_profile.txt http://www.jboss.org/community/servlet/JiveServlet/download/13635-3-6423/jboss_profile.txt
Hey, i have added the provided profile text into profile section and activate the profile and while, running the maven command i get the following....
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexu
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:create {execution: default-cli}]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: null
[INFO] ------------------------------------------------------------------------
---
[INFO] Using following parameters for creating OldArchetype: maven-archetype-qu
ckstart:RELEASE
[INFO] ------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: null
[INFO] Parameter: packageName, Value: null
[INFO] Parameter: package, Value: null
[INFO] Parameter: artifactId, Value: null
[INFO] Parameter: basedir, Value: C:\Documents and Settings\Faisal
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Artifact ID must be specified when creating a new project from
n archetype.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Oct 20 17:29:10 UZT 2009
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
How, to generate the theme skelton for richfaces looks really panic, anyone please guide me in this regard. -
4. Re: How to make richfaces theme?
ilya_shaikovsky Oct 20, 2009 8:35 AM (in response to faisalgeek)Maven_installation_folder\conf\settings.xml
this xml contains profiles entry. you should place it there and define active profiles also there. -
5. Re: How to make richfaces theme?
ilya_shaikovsky Oct 20, 2009 8:37 AM (in response to faisalgeek)you used command like this
mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.3-SNAPSHOT -DartifactId=brewedcoffee -DgroupId=org.richfaces.docs -Dversion=1.0
? -
6. Re: How to make richfaces theme?
faisalgeek Oct 20, 2009 8:47 AM (in response to faisalgeek)"ilya_shaikovsky" wrote:
you used command like thismvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.3-SNAPSHOT -DartifactId=brewedcoffee -DgroupId=org.richfaces.docs -Dversion=1.0
?
yes, now exactly executed the command like above you given. but it give the following errors.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:create {execution: default-cli}]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: null
[INFO] -------------------------------------------------------------------------
---
[INFO] Using following parameters for creating OldArchetype: maven-archetype-qui
ckstart:RELEASE
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: null
[INFO] Parameter: packageName, Value: null
[INFO] Parameter: package, Value: null
[INFO] Parameter: artifactId, Value: null
[INFO] Parameter: basedir, Value: C:\maven\conf
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Artifact ID must be specified when creating a new project from a
n archetype.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Oct 20 17:45:52 UZT 2009
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
C:\maven\conf>-DarchetypeGroupId=org.richfaces.cdk
'-DarchetypeGroupId' is not recognized as an internal or external command,
operable program or batch file.
C:\maven\conf>-DarchetypeArtifactId=maven-archetype-theme
'-DarchetypeArtifactId' is not recognized as an internal or external command,
operable program or batch file.
C:\maven\conf>-DarchetypeVersion=3.3.3-SNAPSHOT
'-DarchetypeVersion' is not recognized as an internal or external command,
operable program or batch file.
C:\maven\conf>-DartifactId=brewedcoffee
'-DartifactId' is not recognized as an internal or external command,
operable program or batch file.
C:\maven\conf>-DgroupId=org.richfaces.docs
'-DgroupId' is not recognized as an internal or external command,
operable program or batch file. -
7. Re: How to make richfaces theme?
ilya_shaikovsky Oct 20, 2009 11:11 AM (in response to faisalgeek)It should be executed as a single command and there just line delimiters after copy paste broken the command.
-
8. Re: How to make richfaces theme?
faisalgeek Oct 20, 2009 12:19 PM (in response to faisalgeek)"ilya_shaikovsky" wrote:
It should be executed as a single command and there just line delimiters after copy paste broken the command.
Yes, it was i think due to line delimiters... I fix it but it still can't download the artifacts.... mentioned in command..... now see the command i have properly issued with single line with all parameters.
C:\Documents and Settings\Faisal>mvn archetype:create -DarchetypeGroupId=org.ric
hfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.3-
SNAPSHOT -DartifactId=brewedcoffee -DgroupId=org.richfaces.docs -Dversion=1.0
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:create] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:create {execution: default-cli}]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: org.richfaces.docs
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: org.apache.maven.archetype.downloader.DownloadNotFoundException:
Requested download does not exist.
Unable to download the artifact from any repository
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Oct 20 21:17:25 UZT 2009
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
C:\Documents and Settings\Faisal> -
9. Re: How to make richfaces theme?
faisalgeek Oct 24, 2009 12:37 PM (in response to faisalgeek)Anyone, please help me in this regard. I will be very thankful to you....
How to generate richfaces theme??? under windows + maven -
10. Re: How to make richfaces theme?
nbelaevski Oct 25, 2009 1:49 PM (in response to faisalgeek)Hi,
Try adding -X option to command line to include debug information - probably there is something interesting there. -
11. Re: How to make richfaces theme?
faisalgeek Oct 26, 2009 12:58 PM (in response to faisalgeek)Nothing in hand till now & now body eager to help me.... Why richfaces is so poor about templating, it really sucks.
-
12. Re: How to make richfaces theme?
nbelaevski Oct 26, 2009 4:16 PM (in response to faisalgeek)I guess, you are not setting environment correctly. Try this:
mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.3-SNAPSHOT -DartifactId=brewedcoffee -DgroupId=org.richfaces.docs -Dversion=1.0 -DremoteRepositories=http://snapshots.jboss.org/maven2/
-
13. Re: How to make richfaces theme?
faisalgeek Oct 27, 2009 10:00 AM (in response to faisalgeek)"nbelaevski" wrote:
I guess, you are not setting environment correctly. Try this:mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-theme -DarchetypeVersion=3.3.3-SNAPSHOT -DartifactId=brewedcoffee -DgroupId=org.richfaces.docs -Dversion=1.0 -DremoteRepositories=http://snapshots.jboss.org/maven2/
Thanks, nbelaevski
it really works for me & successfully generated the pom.xml file. Once again thanks -
14. Re: How to make richfaces theme?
faisalgeek Oct 27, 2009 10:08 AM (in response to faisalgeek)But, while performing next step i.e. issuing command "mvn cdk:add-theme -Dname=brewedcoffee" i get again the following error. Please help in this regard also, I will be much much thankful to you.
C:\maven\conf\brewedcoffee>mvn cdk:add-theme -Dname=brewedcoffee
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.richfaces.cdk:maven-cdk-plugin
Reason: POM 'org.richfaces.cdk:maven-cdk-plugin' not found in repository: Unable
to download the artifact from any repository
org.richfaces.cdk:maven-cdk-plugin:pom:3.3.3-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.richfaces.cdk:maven-cdk-plugin
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Oct 27 19:05:28 UZT 2009
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------