CVS in Eclipse and General

Can anyone Explain what is CVS and Any Good Links For it....
Especially how to Implement it in Eclipse
thx bye

It's a version control system. Google will tell you more than we ever could. As for "implementing" it in Eclipse, what do you mean by that? Eclipse comes shipped with a CVS client built-in already

Similar Messages

  • Crystal Reports for Eclipse and CR2008

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the Versions 1.0.4.v1094 or 11.8.0.v20060727 except "CR for Eclipse Dev.Guide": Ver. 1.0.0.v1094
    I created a report with CR 2008 and load this report with eclipse. A preview in CR and eclipse is running perfect.
    When I bind this report to a jsp I get the error "Es wurde keine Rowsetspalte für das SQL-Ausdrucksfeld "strRefNo" gefunden", in english
    "no rowset-column for sql-statement "strRefNo""
    General this kind of SQL-statement is not working. This statement is a function which needs first a value from the database.
    When this value is fixed in the statement, the report is running in the jsp otherwise I get the error.
    When I delete this statement in eclispe, save this report, redo my delete and save the report again, the report is running with jsp!
    May be, there is a version conflict between CR and eclipse.
    I have to create the reports in CR2008 but I can not save the report in CR2008 to an older version.
    Is there a newer version for eclipse, which works with CR2008? I could not find any other version.
    Do you have other ideas?
    Thanks!
    Jens

    Hi Bryan,
    thank you for your good informations.
    I have downloaded the complete new eclipse and I don't get this error anymore.
    But in the next step, I tried a report with subreports. This is complete not working in Eclipse. When I load this report to Eclipse Ican see and click into the subreports. Each subreport is working in Preview, but the whole reports does not work (black screen), I get the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
         at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
         at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
         at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any other good idea?
    Thanks in advance.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 6, 2009 8:27 AM
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454

  • JSTL 1.1.2, TOMCAT 5.5, JDK 5, Eclipse and Problems

    I have been having trouble loading the JSTL library (standard.jar & jstl.jar)
    I'm using Eclipse 3.0.2 to do my development work on my JSP pages. So normally I will just create my Tomcat(5.5 on JDK5.0) project using Sysdeo(tm) plugin in its default directory (C:\eclipse\workspace\mytomcatproject).
    Then I would begin creating my JSPs and use JSTL(1.1.2) for my development. I'd put those standard.jar/jstl.jar into /WEB-INF/lib as recommended.
    The problem is I can't seem to get JSTL library working, even I tried out copy and pasting the example code into my pages.
    I have :
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    ... //some code
    ${fn:escapeXml(param["myreq"])} will show out in the JSP exactly "${fn:escapeXml(param["myreq"])}" without processing. Although no runtime errors comes out (meaning the TOMCAT successfully loaded the library) but seems that the taglib is not working!!!
    I did some experiments:
    Experiment 1 :-
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    (notice the uri, its without /jsp)
    and it works for /core taglib, but not the /functions taglib. Meaning somewhere in the TOMCAT library it load the older 1.0 version of JSTL.
    When I try using the /functions taglib
    <%@ taglib prefix="fn" uri="http://java.sun.com/jstl/functions" %>
    TOMCAT will complaint about the non-existence of this JSTL.
    Experiment 2 :-
    I tried to copy all the JSTL tld into my /WEB-INF/tld and and change my web.xml to include the tld location by using <jsp-config><taglib>.
    Doesn't work as well!!! The taglib just didn't get process.
    Experiment 3 :-
    I tried to modify the <Context> in server.xml to include tldNameAware and tldValidation to TRUE.
    Not Working as well!!!
    Experiment 4 :-
    I comment out the <my_tomcat_home>/conf/server.xml <Context> (the one that Eclipse created for my Tomcat project) and directly paste my project directory into <my_tomcat_home>/webapps and restarted my TOMCAT.
    IT WORKS!!!
    So does JSTL 1.1.2 only works in TOMCAT webapps home? Seems that TOMCAT only load the /WEB-INF/lib when the project is in its webapps, but when the project is outside of the webapps dir, it seems doesn't process the JSTL lib.
    Any idea how to make it work outside the Tomcat webapps cause I try to encourage my team to use Eclipse and CVS.

    The probable cause of the issue is your web.xml file.
    If your web.xml file is declared as being servlet version 2.3, then it disables the JSTL expression language (EL) by default.
    ie if you have this:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
       "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
       "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>It should change to be this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">Undo all of that hacking you did through the config files.
    JSTL needs no tld files, and no entries in web.xml to make it work.
    Hope this helps,
    evnafets

  • Switched workspace in Eclipse and now my package explorer is empty. Help!

    By error, I switched workspace in Eclipse and when I switched back to my previous workspace, I ended up with a blank package explorer.
    What do I do to get all all my packages and classes in the workspace again?
    Can someone please guide me?
    Thank you!

    Lavazza wrote:
    By error, I switched workspace in Eclipse and when I switched back to my previous workspace, I ended up with a blank package explorer.
    What do I do to get all all my packages and classes in the workspace again?
    Can someone please guide me?Thats strange. Anyways, couple of suggestions...
    a) Are you sure that you switched back to previous workspace? Or is there any typo somewhere in the workspace path when you switched back? Double check.
    b) If you switched back to the correct previous workspace, I wonder your projects are still there in that workspace or got accidently deleted. To check this you could visit your previous workspace through windows explorer (if using windows) to check if all your projects are still there.
    c) If your projects are still present in the previous workspace, go to eclipse and trying importing the projects one-by-one using File->import->General->FileSystem-> <browse or enter the .project file path in your previous workspace> and click finish. You should get back your projects one-by-one. Alternatively, to get back all your projects in one go use File->import->General->FileSystem-> <browse or enter the .metadata folder path in your previous workspace>
    I hope this helps.

  • Connecting cvs from eclipse

    Hello Techies,
    I am trying to use cvsNT from eclipse. I am using eclipse3.1. I had switched to cvsPresepective from java perspective.
    What is url i have to give in the URL, and what is the repositary path in the repositary path.
    I had given localhost in the URL and repositary path as d:\home\
    I am getting can't connect to cvs.
    can Any body tell me how to connect cvs which is installed locally so that i can learn the accessing cvs from eclipse.
    Thanks(inadvance),
    Ramu

    Hello,
    I have just seen this website which I think would be very helpfull to you. It explains how to extract a project from sourceforge.
    here is the url:
    http://sourceforge.net/docs/E04/
    If you have further questions just ask, I used CVS in eclipse some times, and maybe I could help .. maybe :)
    regards,
    sim085

  • In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity

    [The title of this forum is "Labview Ideas". Although this is NOT a direct suggestion for a change or addition to Labview, it seems appropriate to me to post it in this forum.]
    In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity
    I'd like to see NI actually start a round-table discussion about VI references, Data Value references, local variables, compiler optimizations, etc. I'm a C programmer; I'm used to pointers. They are simple, functional, and well defined. If you know the data type of an object and have a pointer to it, you have the object. I am used to compilers that optimize without the user having to go to weird lengths to arrange it. 
    The 'reference' you get when you right click and "Create Reference" on a control or indicator seems to be merely a shorthand read/write version of the Value property that can't be wired into a flow-of-control (like the error wire) and so causes synchronization issues and race conditions. I try not to use local variables.
    I use references a lot like C pointers; I pass items to SubVIs using references. But the use of references (as compared to C pointers) is really limited, and the implementation is insconsistent, not factorial in capabilites, and buggy. For instance, why can you pass an array by reference and NOT be able to determine the size of the array EXCEPT by dereferencing it and using the "Size Array" VI? I can even get references for all array elements; but I don't know how many there are...! Since arrays are represented internally in Labview as handles, and consist of basically a C-style pointer to the data, and array sizing information, why is the array handle opaque? Why doesn't the reference include operators to look at the referenced handle without instantiating a copy of the array? Why isn't there a "Size Array From Reference" VI in the library that doesn't instantiate a copy of the array locally, but just looks at the array handle?
    Data Value references seem to have been invented solely for the "In-Place Element Structure". Having to write the code to obtain the Data Value Reference before using the In-Place Element Structure simply points out how different a Labview reference is from a C pointer. The Labview help page for Data Value References simply says "Creates a reference to data that you can use to transfer and access the data in a serialized way.".  I've had programmers ask me if this means that the data must be accessed sequentially (serially)...!!!  What exactly does that mean? For those of use who can read between the lines, it means that Labview obtains a semaphore protecting the data references so that only one thread can modify it at a time. Is that the only reason for Data Value References? To provide something that implements the semaphore???
    The In-Place Element Structure talks about minimizing copying of data and compiler optimization. Those kind of optimizations are built in to the compiler in virtually every other language... with no special 'construct' needing to be placed around the code to identify that it can be performed without a local copy. Are you telling me that the Labview compiler is so stupid that it can't identify certain code threads as needing to be single-threaded when optimizing? That the USER has to wrap the code in semaphores before the compiler can figure out it should optimize??? That the compiler cannot implement single threading of parts of the user's code to improve execution efficiency?
    Instead of depending on the user base to send in suggestions one-at-a-time it would be nice if NI would actually host discussions aimed at coming up with a coherent and comprehensive way to handle pointers/references/optimization etc. One of the reasons Labview is so scattered is because individual ideas are evaluated and included without any group discussion about the total environment. How about a MODERATED group, available by invitation only (based on NI interactions with users in person, via support, and on the web) to try and get discussions about Labview evolution going?
    Based solely on the number of Labview bugs I've encountered and reported, I'd guess this has never been done, with the user community, or within NI itself.....

    Here are some articles that can help provide some insights into LabVIEW programming and the LabVIEW compiler. They are both interesting and recommended reading for all intermediate-to-advanced LabVIEW programmers.
    NI LabVIEW Compiler: Under the Hood
    VI Memory Usage
    The second article is a little out-of-date, as it doesn't discuss some of the newer technologies available such as the In-Place Element Structure you were referring to. However, many of the general concepts still apply. Some general notes from your post:
    1. I think part of your confusion is that you are trying to use control references and local variables like you would use variables in a C program. This is not a good analogy. Control references are references to user interface controls, and should almost always be used to control the behavior and appearance of those controls, not to store or transmit data like a pointer. LabVIEW is a dataflow language. Data is intended to be stored or transmitted through wires in most cases, not in references. It is admittedly difficult to make this transition for some text-based programmers. Programming efficiently in LabVIEW sometimes requires a different mindset.
    2. The LabVIEW compiler, while by no means perfect, is a complicated, feature-rich set of machinery that includes a large and growing set of optimizations. Many of these are described in the first link I posted. This includes optimizations you'd find in many programming environments, such as dead code elimination, inlining, and constant folding. One optimization in particular is called inplaceness, which is where LabVIEW determines when buffers can be reused. Contrary to your statement, the In-Place Element Structure is not always required for this optimization to take place. There are many circumstances (dating back years before the IPE structure) where LabVIEW can determine inplaceness and reuse buffers. The IPE structure simply helps users enforce inplaceness in some situations where it's not clear enough on the diagram for the LabVIEW compiler to make that determination.
    The more you learn about programming in LabVIEW, the more you realize that inplaceness itself is the closest analogy to pointers in C, not control references or data references or other such things. Those features have their place, but core, fundamental LabVIEW programming does not require them.
    Jarrod S.
    National Instruments

  • Problem launching a jsp page with eclipse and tomcat

    Hi,
    I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
    HTTP Status 404 -/
    type Status report
    message /_
    description The requested resource (-) is not available
    Apache Tomcat/5.5.17
    I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
    I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
    Hope someone can help.
    Thanks.

    http://www-128.ibm.com/developerworks/library/os-ectom/

  • New user just for entering JE and General Ledger

    hello experts,
    I created a user, just to enter few of the Journal Enteries and General Ledgers. I gave the rights for JE and also Financial reports but when I open the "G/L account and Business Partner" Report in Financial Report > Accounting, it open the initial parameter window but all Blank I mean no field in it but just OK and Cancel Button.
    Also when I open the next report "General Ledger" Report in the initial parameter window. It does not show the Business Partner or Account Selection field on the top of this said windows.....
    Is there any special Authorization required for this
    Help Required ....

    What is this user license type?  All financial transactions need professional license.
    Thanks,
    Gordon

  • How to show Html5 created in eclipse and link to any cloud application like c4C through HCP

    Hi Experts,
    How to show Html5 created in eclipse and link to any cloud application like C4C through HCP 
    Regards,
    Vijay.

    Your question is very unclear, please elaborate what you are trying to achieve.
    Also, did you click on the Alert Moderator link? This is for reporting abusive content, spam, points cheating, etc. It should not be used w/o a reason (one of the above) as what it does is putting the content in the Moderators' queue and hiding it from public view.

  • Performanc​e comparison​---using LABVIEW..b​etween Embedded and general-pu​rpose Intel's single VS multi-core CPU

    hi guys;
    kindly, can any one tell me : is it possible to use Labview installed on desktop pc to show up statistically the main performance key features between mutlicore systems and single core systems but with (two versions, embedded and general purpose CPU) . in other words: I'm trying to resemble embedded cpu with general purpose CPU so that i can only work on Desktop pc than say that the obtained results are the same for embedded multicore CPU.
    to get things more clear:...embedded multicore processors are now hitting the embedded market segments such as (small and portable devices with internet, multimedia and wimax tech. enabled that take advantage of recent multicore tech.).
    general-puroses Multicore processors: like desktop and servers based processors,
    according to what 've read, Intel is producing same processor model but with different applications : (embedded and general-purposes applications)

    Hello,
    Please look at this page which shows a new feature in LabVIEW 2009, but particularly interesting is the video which shows the performance benefits on a PC platform of single core VS multicore.
    LabVIEW doesn't have any ability to emulate a multi-core embedded processor (unless its an intel x86 processor that labVIEW supports!) so to discover the performance benefits of embedded multicore processors, you would need an external hardware board and devise a test in which labVIEW can measure the timing via an external pin toggled by a program running on the embedded processor that could utilise multiple cores (there may be other ways but this is the way that comes to my mind).
    I hope this helps you!
    Mark B
    ===If this fixes your problem, mark as solution!===

  • Error at Outgoing payment  and general ledger report

    Hi Experts,
    I am getting a error while opening Outgoing Payment and General ledger Report, Errors are : "Path Can not be Null, Parameter Name: Path" and "Error code: 100000004, Error: Unknown session" ,respectively.
    These errors are only at a particular client machine.
    Kindly suggest solution.
    Thanks in Advance.
    Ashutosh

    Hi Jambulingam/Suraj,
    I checked the by giving admin rights, also with different user login, but these errors come as and when they want, i have put in this system in observation and wil update this thread accordingly.
    There is no citrix server.
    Thanks for your reply.
    Regards
    Ashutosh

  • Variance between Material Ledger and General Ledger of

    There is again a variance between Material Ledger and General Ledger of
    7.026,64 (Tcode MB5L) as it was already in $$100036500(G/L).
    The strange thing is, that there is only a difference in the GL Account
    Balance report (FS10N) for S240077000(G/L ). In the Line Item report (FBL3N)
    all documents are available. This issue impacts at least the Balance
    carry forward negativ at the year end, because the system will forward
    the the amount of the balance for S240077000, which is now 7.026,64 to
    less.
    Ther first investigations results:
    - all Material- and FI documents are available.
    - the variances in June refer to FI-documnets 4900015286 and 4900015293.
    - the documents, e.g. 4900015292 and 4900015287, are correct and was
    posted at the same day by the same user and with the same transaction
    MI07.
    - there are no differences for the posted materials identificable from
    the other materials

    Material Ledger/Actual costing  MLAC
    MLAC is used where the FG cost varies every month due to external procurement variation.
    Ex: Jan 2011
    FG cost of manufcature internally = 100
    FG cost of procurement externally = 120 ( Company procures due to capacity constraint)
    FG Standard price at the end of month = 110...This is standard price of FG
    Due to heavy fluctuations in the month of February 2011 in procurement...
    Ex: Feb 2011
    FG cost of manufcature internally = 140
    FG cost of procurement externally = 460 ( Company procures due to capacity constraint)
    FG Standard price at the end of month = 300...This is standard price of FG.
    The variance is very high in Feb 2011 and company want to absorb this variance in Feb 2011 iteslef hence they will use MLAC.
    So if the variance is within reasonable limits company usually do not follow MLAC.
    Where as if the variance is very high company usually follow MLAC.
    In Pharma Industry usually the variance is very high on month to month basis hence they follow MLAC.
    Where as in Industrial Mahcineery Manufacturing Company the variance is with in reasonable limits hence they do not follow MLAC. Ofcourse they can use MLAC as well.
    Srinivas

  • Cannot make .war file using tomcat with eclipse and ant

    i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server.
    when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using defaults". i have placed the web.xml file in the web/WEB-INF directory of the source project directory.
    also when i use ant by right-clicking on the build.xml file and choose Run as ant.. the process creates a desired .war file in webapps folder of the tomcat server but that war file does not works.
    where is the error i cannot figure out.
    am attaching the code of build.xml for reference.
    please help.
    build.xml:-
    <project name="BecilCTI" default="compile" basedir=".">
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    <property name="app.name" value="BecilCTI"/>
    <property name="app.path" value="/${app.name}"/>
    <property name="app.version" value="0.1-dev"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="catalina.home" value="c:/Tomcat_5.5"/> <!-- UPDATE THIS! -->
    <property name="dist.home" value="${basedir}/dist"/>
    <property name="docs.home" value="${basedir}/docs"/>
    <property name="manager.url" value="http://localhost:8080/manager"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="web.home" value="${basedir}/web"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <!--<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>-->
    <path id="compile.classpath">
    <!-- Include all elements that Tomcat exposes to applications -->
    <pathelement location="${catalina.home}/common/classes"/>
    <fileset dir="${catalina.home}/common/endorsed">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${catalina.home}/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${catalina.home}/shared/classes"/>
    <fileset dir="${catalina.home}/shared/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="all" depends="clean,compile"
    description="Clean build and dist directories, then compile"/>
    <target name="clean"
    description="Delete old build and dist directories">
         <echo message="Cleaning all dirs."/>
    <delete dir="${build.home}"/>
    <delete dir="${dist.home}"/>
    </target>
    <target name="compile" depends="prepare"
    description="Compile Java sources">
    <!-- Compile Java classes as necessary -->
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <javac srcdir="${src.home}"
    destdir="${build.home}/WEB-INF/classes"
    debug="${compile.debug}"
    deprecation="${compile.deprecation}"
    optimize="${compile.optimize}">
    <classpath refid="compile.classpath"/>
    </javac>
    <!-- Copy application resources -->
    <copy todir="${build.home}/WEB-INF/classes">
    <fileset dir="${src.home}" excludes="**/*.java"/>
    </copy>
    </target>
    <target name="dist" depends="compile"
    description="Create binary distribution">
    <!-- Copy documentation subdirectories
    <mkdir dir="${dist.home}/docs"/>
    <copy todir="${dist.home}/docs">
    <fileset dir="${docs.home}"/>
    </copy> -->
    <!-- Create application JAR file -->
    <jar jarfile="${catalina.home}/webapps/${app.name}.war"
    basedir="${build.home}"/>
    <!-- Copy additional files to ${dist.home} as necessary -->
    </target>
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    <target name="list"
    description="List installed applications on servlet container">
    <list url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"/>
    </target>
    <target name="prepare">
    <!-- Create build directories as needed -->
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/WEB-INF"/>
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <!-- Copy static content of this web application -->
    <copy todir="${build.home}">
    <fileset dir="${web.home}"/>
    </copy>
    <mkdir dir="${build.home}/WEB-INF/lib"/>
    </target>
    <target name="reload" depends="compile"
    description="Reload application on servlet container">
    <reload url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    <target name="remove"
    description="Remove application on servlet container">
    <undeploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    </project>

    So is context.xml actually overwriting the settings found in server.xml?I think so. The way I understand it is the the context.xml file saves you from having to edit server.xml. It is preferred for each web app to do its own config, rather than lumping them all together in server.xml.
    And what would be the best way to create the war file? IAt its heart, a WAR is just a zip file with its contents laid out in according to the specification of a web application directory structure.
    So the simplest way to make a war file is to zip up your directory structure with a tool like winzip, and rename it to be myApp.war.
    Regarding ant, I would recommend you take a look through [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
    ]this tutorial. It explains the basics of website layout, configuration and deployment.
    On [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html] this page  in particular, it includes a link to a basic ant file that you can use as a starting point.
    Cheers,
    evnafets

  • Eclipse and Java EE 5

    Hi all,
    I'm going to develop an application based on Java EE 5.
    I'd like to use webservices, EJB 3.0, GlassFish, Portlets and everything should be than connected with JBI, bussiness logic will be modeled with BPEL.
    My question is which IDE would be better for me. I liked elipse for my JavaSE, Spring etc. development but I don't know the situation in JEE 5. Will be a problem to use these technologies with eclipse? Is eclipse (WTP?) ready for this project? With which plugins?
    Thanks
    P.S. I'm only deciding between eclipse and netbeans and I'm not interested in which IDE is little better but if eclipse is roughly on the same level with Java EE 5 and other technologies mentioned.

    On 6/7/2010 12:26 PM, Bill Herbert wrote:
    > Hi,
    >
    > I want to use Tomcat v6 with Eclipse. For installation, I'm following
    > the tutorial
    > " http://www.coreservelets.com/Apache-Tomcat-Tutorial/eclipse. html"
    > (Most other installation guides I've read seem to follow the same steps)
    >
    > I installed Java EE 5 SDK, Tomcat 6.0.16 and Eclipse IDE for Java EE
    > developers.
    >
    > In Eclipse I created a Tomcat server, but when I r click the server, I
    > get a message "Port 80 required by Tomcat v6.o server is already in use."
    > I rebooted and tried again before starting any other processes and got
    > the same message.
    > I disconnected my machine from the internet, used 'netstat' to see what
    > process might be using Port 80, and observed 0.0.0.0:80 "Listening" but
    > nothing "Established." Again tried to start the Tomcat server in
    > Eclipse, but got the same Port 80 message.
    >
    > Any suggestions, before I go nuts?
    >
    > Thanks for any help,
    > Bill
    What do you mean by "I r click the server"? Do you mean in the Servers
    view and choose Run or Debug?
    Normally, Tomcat comes ready to use on port 8080. You can change this by
    doing the following:
    1) Expand Server in the Project Explorer view.
    2) Exapnd Tomcat v6.0 Server at localhost-config
    3) Double-click server.xml
    4) Search for 8080
    5) Verify that you have:
    <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1"
    redirectPort="8443" />
    This should mean that Tomcat is using 8080 not 80. If other, change to
    8080 and try again.
    (80 is usually what your browser is using.)

  • Workflow and General Use Questions

    Hello,
    I'll apologize right off the bat for these novice question because I'm sure the information is probably somewhere in the forum, I just haven't been able to find it. I just purchased Aperture after completing the demo as my library is getting too large to manage using standard file folders. I'm now trying to figure out the best practices for workflow and general use before I invest some serious time into importing and keywording all my pictures.
    1) Store files in the there current location, or in the Aperture Library? It seems to me that once they are moved to the Aperture library, you can only access them from within Aperture. I'm thinking I would be better off leaving them in their current location. For one, if I want to quickly grab a picture as an attachment to an email or something it seems easier to grab it from the standard folders. Second (and more important) I do not have room to keep all my pictures on my Macbook, thus most of them are stored on the Time Capsule.
    So... Keeping photos in their current location appears to be the best choice for me even though it adds an additional step every time I bring in new photos from my camera. Does this sound right?
    2) Is there a way to mark the photos that I have uploaded to my website (Smugmug)? Ideally, I would like to badge photos that have already been uploaded so I can quickly recognize them and ensure I'm not duplicating. I've considered using the rating, or keywords to indicate that a photo has been uploaded but both methods have disadvantages.
    3) Any suggestions for general workflow and organization resources (tutorials, books, websites, etc.)? I've looked at the videos on Apple's site but they obviously didn't get that detailed.
    Thanks for the help, sorry for the length.

    I recommend to Manage by Reference with Master image files stored on external hard drives (note that Aperture defaults to a Managed-Library configuration rather than a Referenced-Masters Library). Especially important for iMacs and laptops with a single internal drive. The workflow as described below in an earlier post of mine uses a Referenced-Masters Library.
    I feel pretty strongly that card-to-Aperture or camera-to-Aperture handling of original images puts originals at unnecessary risk. I suggest this workflow, first using the Finder (not Aperture) to copy images from CF card to computer hard drive:
    • Remove the memory card from the camera and insert it into a memory card reader. Faster readers and faster cards are preferable.
    • Finder-copy images from memory card to a labeled folder on the intended permanent Masters location hard drive.
    • Eject memory card.
    • Burn backup hard drive or DVD copies of the original images (optional strongly recommended recommended backup step).
    • Eject backup hard drive(s) or DVDs.
    • From within Aperture, import images from the hard drive folder into Aperture selecting "Store files in their current location." This is called "referenced images." During import is the best time to also add keywords, but that is another discussion.
    • Review pix for completeness (e.g. a 500-pic shoot has 500 valid images showing in Aperture).
    • Reformat memory card in camera, and archive originals off site on hard drives and/or on DVDs.
    Note that the "eject" steps above are important in order to avoid mistakenly working on removable media/backups.
    Also note with a Referenced-Masters Library that use of the "Vault" backup routine backs up the Library only, not the Masters. Masters should be separately backed up, IMO a good thing from a workflow and data security standpoint.
    Max out RAM in your MB and keep the internal drive less than 70% full.
    Good luck!
    -Allen Wicks

Maybe you are looking for