facebook

[Closed] How to include .properties files into build

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #245409 Reply

    benzy
    Member

    I have several .properties files that need to be included in my build. I placed them alongside the ApplicationResources.properties file and refreshed my Package Explorer window. The files are displayed. Problem is they are not being copied over during deployment. I am deploying to weblogic 8.1 server.

    Here is my configuration info:

    *** Date: Thu Jan 26 10:36:16 EST 2006

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.4.2_10

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Graphical Editing Framework

    Version: 3.1
    Build id: 200509301327

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    c64_50
    -vm
    C:\Program Files\Java\j2re1.4.2_10\bin\javaw.exe

    #245427 Reply

    Riyad Kalla
    Member

    Where did you put them? They should be inside of a source package somewhere, double check that the dir you put them in is considered a source package by opening your Project Properties and going to Java Build Path > Source.

    #245457 Reply

    benzy
    Member

    I added them as new files to the src directory. It turns out it was a weblogic thing. They were present in the .war file but when weblogic exploded the war it failed to copy the .properties files. I deleted the exploded war folders and redeployed. Sure enough they came in.

    #245458 Reply

    Riyad Kalla
    Member

    Glad to hear it’s working now.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] How to include .properties files into build

You must be logged in to post in the forum log in