Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 823547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:57:51+00:00 2026-05-15T02:57:51+00:00

I have an application consisting of many scripts doing some stuff on their own.

  • 0

I have an application consisting of many scripts doing some stuff on their own. I want to modify it’s structure using Maven for PHP with multiple modules, a common module and a lot of client modules depending on the common one.
I use the PHPUnit for testing and I run the tests from maven with “mvn test”. So when running the tests maven includes the common module paths and the src/main/php paths.
The problem is that I don’t know how to run the scripts now, because for testing purposes I have to rely on the fact that Maven includes the needed module paths so I can include files relative to the root of my module src dir.

Is there any way of dealing with this? Should I use a .bat file which includes the paths to all my modules to run the scripts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:57:52+00:00Added an answer on May 15, 2026 at 2:57 am

    I think the only solutions are:
    – use a single maven module for all the sources so the resulting jar will have the structure you want.
    – use a shell script to run your php scripts after you mix all module jars in one folder. The shell should then be something like this:
    php -d include_path=”all the paths to all your src modules” “script_name and arguments”.
    The script name and the arguments will be the ones you will provide when calling the shell script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently we have many applications, where each application has its own error notification and
I have a silverlight based application consisting of charts using silverlight toolkit and connected
I have an application consisting of many linked objects, each of which have parameters
I have an application consisting of different modules written in C++. One of the
I have property management application consisting of tables: tenants landlords units properties vendors-contacts Basically
I have a flashlite3 application with navigation consisting of icons the user can browse
I'm creating my first application and I have a window consisting of multiple subclasses
I have a large framework consisting of many C++ classes. Is there a way
We have a .Net application consisting of mixed managed and unmanaged code. We have
I have a Java EE application consisting of 1 web module and 1 EJB

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.