Thanks for your response Keiji Suzuki.
I tried your suggestion and got the following error:
.......
[ERROR] Failed to execute goal on project jspui: Could not resolve
dependencies for project org.dspace.modules:jspui:war:4.0: Could not find
artifact javax.servlet:jsp-api:jar:2.5 in sonatype-releases (
http://oss.sonatype.org/content/repositories/releases/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :jspui
....

Any ideas on how to proceed? Thanks again!

Regards,
Shazia


On Fri, Feb 21, 2014 at 6:47 PM, SUZUKI Keiji <z...@mbc.ocn.ne.jp> wrote:

> Hi Shazia,
>
> Add the following lines under the <dependencies> element in
>  [dspace-src]/dspace/modules/jspui/pom.xml
>
> ---------- form here ------------
>         <dependency>
>            <groupId>javax.servlet</groupId>
>            <artifactId>jsp-api</artifactId>
>            <version>2.5</version>
>            <scope>provided</scope>
>         </dependency>
> ----------- end ----------------------
>
> Regards,
> Keiji Suzuki
>
>
> 2014-02-22 3:36 GMT+09:00 Shazia Sathar <ssat...@uic.edu>:
> > Hello All,
> >
> > I would like to make a few changes to the text alignment in the Browse
> > table. Looks like the dspace tag "dspace:browselist" is used to display
> the
> > items. I tried to align the date field to left. Here is what I did.
> >
> > I modified
> >
> <dspace-src>\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java
> > as below:
> >  if (isDate[colIdx])
> >  {
> >          extras = "nowrap=\"nowrap\" align=\"left\"";
> >   }
> >
> > and placed the new version in
> >
> <dspace-src>\dspace\modules\jspui\src\main\java\org\dspace\app\webui\jsptag
> >
> > When I tried to build DSpace by running "mvn clean package" I get
> > compilation errors:
> > ......
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.
> > 3.2:compile (default-compile) on project jspui: Compilation failure:
> > Compilation
> >  failure:
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[30,24] package
> > javax.servlet.jsp
> > does not exist
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[31,24] package
> > javax.servlet.jsp
> > does not exist
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[33,31] package
> > javax.servlet.jsp.
> > tagext does not exist
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[49,35] cannot find symbol
> > [ERROR] symbol: class TagSupport
> > [ERROR] public class BrowseListTag extends TagSupport
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[141,35] cannot find symbol
> > [ERROR] symbol  : class JspException
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[800,19] cannot find symbol
> > [ERROR] symbol  : class JspException
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[859,19] cannot find symbol
> > [ERROR] symbol  : class JspException
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,8] cannot find symbol
> > [ERROR] symbol  : class JspWriter
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,24] cannot find symbol
> > [ERROR] symbol  : variable pageContext
> > .......
> >
> > Any ideas on how I can proceed with setting the alignment to left? I am
> > using DSpace v4 and run JSPUI version on Windows. I have attached a
> > screenshot of how it looks now.
> >
> > Thanks in advance for your help!
> >
> > Regards,
> > Shazia
> >
> >
> >
> ------------------------------------------------------------------------------
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&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
>
>
>
> --
> 鈴木敬二@江別市
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&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