Hi Shazia,

*snip*
Is there any way I can verify if the custom files placed under
[dspace-src]\dspace\modules\jspui\src\main\resources
is actually being used in the build process?
*snip*

I believe this should be clear form your maven build output. You should see
something like this:
The "skip" lines here clearly indicate that maven looks for custom files,
but can't find the folder they are supposed to be in:

[INFO]
------------------------------------------------------------------------
[INFO] Building DSpace JSP-UI :: Local Customizations
[INFO]    task-segment: [clean, package]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [antrun:run {execution: native2ascii-utf8}]
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
*[INFO] skip non existing resourceDirectory
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/resources*
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
*[INFO] skip non existing resourceDirectory
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/test/resources*
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [jspui] in
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/webapp]
to
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT]
[INFO] Copying webapp resources
[/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/src/main/webapp]
[INFO] Processing overlay [ id org.dspace:dspace-jspui]
[INFO] Webapp assembled in [800 msecs]
[INFO] Building war:
/Users/bram/Development/Ideaprojects/DSpace4/code/dspace/dspace/modules/jspui/target/jspui-4.0-rc3-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping

cheers,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>


On Wed, Nov 27, 2013 at 8:32 PM, Shazia Sathar <ssat...@uic.edu> wrote:

> Some more info:
> I went through the FAQ section regarding updates to Messages.properties
> without doing a build. This is what I noticed for my build.
>
> 1) Unzipped  [dspace]/webapps/jspui/WEB-INF/lib/dspace-api-3.2.jar to
> external folder
> 2) The Message.properties does *not* contain the modifications  from
> [dspace-src]\dspace\modules\jspui\src\main\resources
> 4) The Message.properties file in [dspace]/webapps/jspui/WEB-INF/classes/
> has the modifications present.
> 5) restarted servlet container
>
> The changes are *not* visible on the home page. Is there any way I can
> verify if the custom files placed under 
> [dspace-src]\dspace\modules\jspui\src\main\resources
> is actually being used in the build process?
>
> On Tue, Nov 26, 2013 at 10:19 AM, Shazia Sathar <ssat...@uic.edu> wrote:
>
>> Hello,
>>
>> I am trying to update text on Home page by making updates to
>> Messages.Properties file. Here are the steps I followed:
>>
>> 1) Copy Message.properties file from
>> [dspace-src]\dspace-api\src\main\resources to
>> [dspace-src]\dspace\modules\jspui\src\main\resources
>> 2) Edit the file in [dspace-src]\dspace\modules\jspui\src\main\resources
>>
>> jsp.home.com1  = Communities in My DSpace
>> jsp.home.title  = ABC Home
>>
>> 3) go to [dspace-src]\dspace
>>
>> Run  "mvn package"
>>
>> 4) Go to [dspace-src]\dspace\target\dspace-3.3-build\
>>
>> Run 'ant -Dconfig=C:\dspace\config\dspace.cfg update
>>
>> 5) XCOPY C:\dspace\webapps\* C:\apache-tomcat-8.0.0-RC5\webapps /s/i
>> 6) Restart Tomcat
>>
>> I do not see my changes on the Home page. Am I missing something here? I
>> am using Dspace version 3.2 and running on Windows platform
>>
>> Regards,
>>  Shazia
>>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to